mphpmaster/laravel-dev-helpers 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mphpmaster/laravel-dev-helpers

最新稳定版本:1.1.0

Composer 安装命令:

composer require --dev mphpmaster/laravel-dev-helpers

包简介

Laravel helpers for quick development

README 文档

README

Laravel helpers for quick development.

Part of mphpmaster/laravel-helpers:^3

Dependencies:

  • php >=8.1 REQUIRED IN YOUR PROJECT
  • laravel >=9 REQUIRED IN YOUR PROJECT
  • illuminate/support >=9 composer will install it automaticly
  • symfony/var-dumper ^6.0 composer will install it automaticly
  • laravel/helpers ^1.5 composer will install it automaticly

Installation:

composer require mphpmaster/laravel-dev-helpers

Content:

  • Add file and line number when using dd or dump.
  • Functions:
    • hasDeveloper
    • getDeveloper
    • isDeveloper
    • isDeveloperMode
    • returnCallable
    • returnClosure
    • returnArgs
    • returnString
    • returnArray
    • returnCollect
    • returnNull
    • returnTrue
    • returnFalse
    • isCommandExists
    • getSql
    • unauthenticated
    • throwUnauthenticated
    • logout
    • login
    • isLoggedIn
    • isGuest
    • notifyWhenTerminating
    • real_path
    • fromCallable
    • getDumpOutput
    • _gcm
    • _gc
    • _ce
    • bindTo
    • getClassPropertyValue
    • getMethodName

To add:

  • Add developer key to config/app.php
  • Add dev_mode key to config/app.php
// example:
return [
//  ...
    'dev_mode' => env('DEV_MODE', false),
    'developer' => env('DEVELOPER', 'safadi'),
//  ...
];

ToDo:

  • ...

Inspired by laravel/helpers.

License

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

These Helpers are open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-11