This project is a simple tool for help you with your CRUDs.
What have in here?
- Some stubs to a razoable API RestFull with Tests and OpenAPI documentation.
- PHP script to write attributes in all files generated
Is required that your application has L5-Swagger setuped to correct run.
mkdir stubs
cd stubs
git clone https://github.com/sr2ds/Laravel-API-RestFull-Generator .
php stubs/misc/set-attributes.php stubs/misc/file.txt Example
- Fix dateTime Factory to
$this->faker->dateTime()->format('Y-m-d H:i:s')
and validate todate
- Refactor way to replace -> Today the replaces there are make by RULES, I to want change this to be by Files.
- Improve getAttributesListFromFile to accept more attributes
- Improve datatypes system fully
- Refactor
If necessary, you can check this repository with all configuration, fully works and video demonstrations: https://github.com/sr2ds/laravel-9-tutorial