Download the PHP package atnic/laravel-generator without Composer
On this page you can find all versions of the php package atnic/laravel-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-generator
Laravel Generator
Installation
Make Module (CRUD)
This package is overriding some laravel artisan command.
This is example to make Foo module in this project
If create custom directory for model like this:
Then do this steps:
- [x] Check new migration in
database/migrations/
, add column needed. - [x] Check new factory in
database/factories/
, add atrribute needed. - [x] Check new model in
app/
, add changes needed. - [x] Check new filter in
app/Filters/
, do allTODO:
and remove the comment if done. - [x] Check lang en
resources/lang/en
and copy from en to lang idresources/lang/id
, add language as needed. - [x] Check new controller in
app/Http/Controllers/
, complete returned array in methodrelations()
visibles()
fields()
rules()
, do allTODO:
, and remove comment if done. - [x] Check new policy in
app/Policies/
, do allTODO:
and remove the comment if done. - [x] No need to append new Policy to
$policies
attribute inapp/Providers/AuthServiceProvider.php
. This package handle policy auto discovery, even for Laravel < 5.8. - [x] Check new views (index, create, show, edit) in
resources/views/
, add/extend section for title or anything. - [x] Check new tests in
tests/Feature/
, do allTODO:
and remove the comment if done.
Other Useful command
All new/overrided command can be viewed in vendor/atnic/laravel-generator/app/Console/Commands
.
All versions of laravel-generator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
atnic/eloquent-filters Version ^2.2
laravel/framework Version ^5.5|^5.6|^5.7|^5.8
laravel/passport Version >=4.0
propaganistas/laravel-intl Version >=2.1
propaganistas/laravel-phone Version ^4.2
atnic/eloquent-filters Version ^2.2
laravel/framework Version ^5.5|^5.6|^5.7|^5.8
laravel/passport Version >=4.0
propaganistas/laravel-intl Version >=2.1
propaganistas/laravel-phone Version ^4.2
The package atnic/laravel-generator contains the following files
Loading the files please wait ....