mont4/laravelmaker 问题修复 & 功能扩展

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

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

mont4/laravelmaker

Composer 安装命令:

composer require mont4/laravelmaker

包简介

php artisan make:all for Laravel with Make and generate Laravel 'Controller, Request, Model, Factory, Seed, Migration, Translation, Policy & Permissions' compatible.

README 文档

README

stable Total Downloads Build Status StyleCI

Make and generate Laravel "Controller, Request, Model, Factory, Seed, Migration, Translation, Policy & Permissions" compatible.

Installation

Via Composer

$ composer require mont4/laravelmaker
$ php artisan vendor:publish --provider="Mont4\LaravelMaker\LaravelMakerServiceProvider"

Usage

$ php artisan make:all
$ php artisan permission:sync
$ php artisan make:method

Add to boot() method in App\Providers\AuthServiceProvider

Gate::guessPolicyNamesUsing(function ($modelClass) {
    $path = str_replace("\\Models\\", "\\Policies\\", $modelClass) . 'Policy';

    return $path;
});

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

This plugin is open-sourced package licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: license
  • 更新时间: 2018-09-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固