cslant / laravel-generator
Laravel Generator Advanced is a package that helps you generate CRUD, Migration, Model, Controller, Repository, Request, Resource, Factory, Seeder, Action, ...
Fund package maintenance!
tanhongit
Requires
- php: ^7.3|^8.0|^8.1
- laravel/framework: ^8.0|^9.0|^10.0
- lbiltech/laravel-generator-ui: ^v1.0.0
Requires (Dev)
- ext-openssl: *
- mockery/mockery: ^1.5
- phpunit/phpunit: ^9.5|^10.0
README
This package is used to generate models, controllers, views, routes, migrations, seeders, factories, requests, and more for Laravel.
Technology
- PHP ^8.1
- Laravel Framework 9.x, 10.x
- Composer
Installation
You can install the package with Composer using the following command:
composer require cslant/laravel-generator-advanced
Publish the config file, views, and language files
If you want to change the default configuration, the views, or the language files, you can publish them with the following command:
php artisan vendor:publish --provider="CSlant\LaraGenAdv\Providers\LaravelGeneratorServiceProvider"
If you have run the above command, you will see the following files in your project:
config/laravel-generator-advanced.php
resources/views/vendor/laravel-generator-advanced
Also, you can publish only the config file with the following command:
php artisan vendor:publish --provider="CSlant\LaraGenAdv\Providers\LaravelGeneratorServiceProvider" --tag="config"
Similarly, you can publish only the views with the following command:
php artisan vendor:publish --provider="CSlant\LaraGenAdv\Providers\LaravelGeneratorServiceProvider" --tag="views"
License
The MIT License (MIT). Please see License File for more information.