定制 mphpmaster/laravel-app-helpers 二次开发

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

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

mphpmaster/laravel-app-helpers

最新稳定版本:2.0.0

Composer 安装命令:

composer require mphpmaster/laravel-app-helpers

包简介

Laravel Helpers: App

README 文档

README

Part of mphpmaster/laravel-helpers:^3

v2.0.0

Dependencies:

  • php >=8.1 REQUIRED IN YOUR PROJECT
  • laravel >=9 REQUIRED IN YOUR PROJECT
  • illuminate/support >=9 composer will install it automaticly
  • illuminate/filesystem >=9 composer will install it automaticly
  • laravel/helpers ^1.5 composer will install it automaticly

Installation:

composer require mphpmaster/laravel-app-helpers

Content

  • Providers:

    • MPhpMaster\LaravelAppHelpers\Providers\HelperProvider.
  • Macros:

    • Add firstOrCreateOrRestore method to Query Builder and Model
    • Add randomOr method to Query Builder and Model
    • Add randomOrCreate method to Query Builder and Model
    • Add randomOrNew method to Query Builder and Model
    • Add randomOrFactory method to Query Builder and Model
    • Add randomOrCreateFactory method to Query Builder and Model
    • Add randomOrNewFactory method to Query Builder and Model
    • Add randomOr method to Model Factory
    • Add randomOrCreate method to Model Factory
    • Add randomOrNew method to Model Factory
  • Functions:

    • currentLocale
    • currentUrl
    • currentUser
    • currentUserId
    • currentUserName
    • currentAuth
    • getDefaultGuardName
    • getDefaultDiskDriver
    • getLocales
    • getDefaultLocale
    • getModelRelationAttribute
    • filenameWithoutExtension
    • isAdmin
    • isSuperAdmin
    • isLocaleAllowed
    • isRunningInConsole
    • R
    • currencyFormat
    • currencyFormatEn
    • apiResource
    • apiResources
    • fixPath
    • includeSubFiles
    • includeAllSubFiles
    • includeIfExists
    • includeOnceIfExists

Inspired by laravel/helpers.

License

The Laravel framework is open-sourced software licensed under the MIT license.

The Laravel Helpers: App is open-sourced software licensed under the MIT license.

Stand with Palestine 🇵🇸 #FreePalestine

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固