定制 rockbuzz/lara-custom-helpers 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rockbuzz/lara-custom-helpers

Composer 安装命令:

composer require rockbuzz/lara-custom-helpers

包简介

laravel custom helpers

README 文档

README

Laravel custom helpers

Requirements

PHP: >=7.3

Install

$ composer require rockbuzz/lara-custom-helpers

Usage

has_time_with_seconds(string $time): bool;
sum_times(...$times);
has_br_datetime_format(string $date, bool $withSeconds = false);
has_br_date_format(string $date);
has_us_datetime_format(string $date, bool $withSeconds = false);
has_us_datetime_local_format(string $date, bool $withSeconds = false);
has_us_date_format(string $date);
create_us_date_time(string $date = null, bool $withSeconds = false): ?Carbon;
getIcon_by_mime(string $mime, string $class = null);
is_current_route($routeName): bool;
active_by_url(string $url, string $class = 'active'): string;
active_by_route($routeName, string $class = 'active'): string;
mask($value, string $mask): string;
unmask(string $value, array $unmask): string;
display_active($active, string $classPrefix = 'label'): string;
string_title(string $value): string;
string_limit(string $value, int $limit = 100, string $end = '...');
string_slug($title, $separator = '-', $language = 'en');
convert_to_brl($moneyInCents, $prefix = null);
convert_to_money($moneyInCents);
convert_money_in_cents($money);

License

The Lara Custom Helpers is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 3.57k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固