cslant/laravel-generator

This package is abandoned and no longer maintained. The author suggests using the cslant/laravel-generator-advanced package instead.

Laravel Generator Advanced is a package that helps you generate CRUD, Migration, Model, Controller, Repository, Request, Resource, Factory, Seeder, Action, ...

v1.0 2023-04-27 09:12 UTC

This package is auto-updated.

Last update: 2024-01-10 08:52:38 UTC


README

This package is used to generate models, controllers, views, routes, migrations, seeders, factories, requests, and more for Laravel.

Latest Version Total Downloads Test Status StyleCI Quality Score Maintainability

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.

license