LaravelPackages.net
Acme Inc.
Toggle sidebar
mont4/laravelmaker

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

136
0
v4.2.4
About mont4/laravelmaker

mont4/laravelmaker is a Laravel package for php artisan make:all for laravel with make and generate laravel 'controller, request, model, factory, seed, migration, translation, policy & permissions' compatible.. It currently has 0 GitHub stars and 136 downloads on Packagist (latest version v4.2.4). Install it with composer require mont4/laravelmaker. Discover more Laravel packages by mont4 or browse all Laravel packages to compare alternatives.

Last updated

LaravelMaker

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.

Comments