zh-mead/lumen-api-starter-generator

Package description here.

dev-master 2023-01-27 08:09 UTC

This package is auto-updated.

Last update: 2024-04-08 09:18:01 UTC


README

.

Installing

$ composer require zh-mead/lumen-api-starter-generator -vvv

Configuration

Inside your bootstrap/app.php file, add:

$app->register(ZhMead\LumenApiStarterGenerator\LumenGeneratorServiceProvider::class);

Usage

➜  $ php artisan make:model Permission -a
Controller created successfully.
Service created successfully.
Resource created successfully.
Criteria created successfully.
Presenter created successfully.
Eloquent created successfully.
Repository created successfully.
Validator created successfully.
Transformer created successfully.
Created Migration: 2020_10_22_035537_create_permissions_table
Model created successfully.

Contributing

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT

Thank

1、GitHub - chunpat/lumen-api-starter-generator