Template for Entity builder that creates API files.
- API controller:
- create
- show
- list
- update
- destroy
- Model with uuid as a primary key
- Factory
- Migration
- Repository
- Resource
- Store and update requests
- API test
- Start Entity builder
- Open localhost:8080
- Upload ApiTemplate.json from this repository
- Start builing your API
Run command:
vendor/bin/openapi
- You have to implement Repository class by yourself.
- While developing package is good to use orchestra/testbench with registered sanctum provider.
- Those dependencies are required(I don't put versions):
"require": {
"dyrynda/laravel-model-uuid",
"laravel/sanctum",
},
"require-dev": {
"orchestra/testbench",
"darkaonline/l5-swagger",
},
- improve swagger documentation