Download the PHP package atnic/lumen-generator without Composer
On this page you can find all versions of the php package atnic/lumen-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 lumen-generator
Lumen Generator
Requirement
- php: >=7.1.3,
- phpunit/phpunit: ^7.0
Installation
Edit composer.json
Then run composer update
. After that do this initial steps:
- [x] Setup your
.env
file. - [x] In
app/User.php
, addapi_token
in$hidden
property. -
[x] In
bootstrap/app.php
, uncomment and add some lines -
[x] Update
database/factories/ModelFactory.php
, addpassword
andapi_token
-
[x] Update
.gitignore
- [x] In
phpunit.xml
, remove attributesyntaxCheck="false"
if exists (ex: Lumen 5.5), because its not compatible with new phpunit package - [x] Then run
Make Module (CRUD)
This package is overriding some laravel artisan command.
This is example to make Foo module in this project
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 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/lumen-generator/app/Console/Commands
.
All versions of lumen-generator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.3
atnic/eloquent-filters Version ^2.2
laravel/lumen-framework Version >=5.5 <5.8
laravel/passport Version >=4.0
vlucas/phpdotenv Version ~2.2
atnic/eloquent-filters Version ^2.2
laravel/lumen-framework Version >=5.5 <5.8
laravel/passport Version >=4.0
vlucas/phpdotenv Version ~2.2
The package atnic/lumen-generator contains the following files
Loading the files please wait ....