定制 zdirnecamlcs96/laravel-helpers 二次开发

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

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

zdirnecamlcs96/laravel-helpers

最新稳定版本:v2.2.0

Composer 安装命令:

composer require zdirnecamlcs96/laravel-helpers

包简介

Helpers for personal use

README 文档

README

Helpers for Laravel 8 project

Laravel Version Supported
8.* v1.0^
9.* v2.0^

How to Use

You may include the helper inside Controller.php. For more information, you can refer PHP Traits.

<?php

namespace App\Http\Controllers;

use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
use Zdirnecamlcs96\Helpers\Traits\Helpers; // Import here

class Controller extends BaseController
{
    use AuthorizesRequests, DispatchesJobs, Helpers; // Use here

}

After install

Please remove ValidatesRequests Trait in LoginController, it will cause ambiguous error as this package overwrote the function inside the trait.

Contributing

Thank you for considering contributing. Since this is for private usage, please contact me for the contribution guide.

Laravel License

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-04-13