dottystyle / laravel-crud-generator
Installs: 2 507
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 1
Open Issues: 4
Requires
- php: >=7.1.3
- laravel/framework: 5.6.*|5.7.*|5.8.*|6.*
Requires (Dev)
- orchestra/testbench: 3.7.*
- phpunit/phpunit: ^7
- dev-master
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1.1
- 0.1.0
- dev-dependabot/composer/symfony/http-kernel-4.4.50
- dev-dependabot/composer/guzzlehttp/guzzle-6.5.8
- dev-dependabot/composer/guzzlehttp/psr7-1.8.5
- dev-develop
- dev-dependabot/composer/symfony/http-foundation-4.4.7
- dev-feature/generate-services
- dev-fix/stubs-path
- dev-feature/template-generator
This package is auto-updated.
Last update: 2024-10-30 01:37:14 UTC
README
This package was created mainly for Dottystyle developers. The function of this package is to scaffold the very basic purpose of a CRUD. It creates the following:
- Controller
- Model
- Resource
- Request
Installation
-
Install the package
$ composer require dottystyle/laravel-crud-generator
-
Publish vendor
$ php artisan vendor:publish --provider="Dottystyle\LaravelCrudGenerator\Providers\LaravelCrudGeneratorServiceProvider"
-
Edit config/app.php (Add the following)
service provider: Dottystyle\LaravelCrudGenerator\Providers\LaravelCrudGeneratorServiceProvider::class,
Using this package
-
Building CRUD for api resources
php artisan make:crud ModelName --api
-
Building a simple CRUD
php artisan make:crud ModelName
-
Building a simple CRUD with service
php artisan make:crud ModelName --with-service
-
Building a simple Service with Interface
php artisan make:service ServiceName