-
Notifications
You must be signed in to change notification settings - Fork 0
1. Getting started
Ross edited this page Apr 10, 2020
·
1 revision
Via Composer
$ composer require rossity/laravel-json-api-scaffolder
$ php artisan scaffold:config {model}
- Creates a config file at
scaffolding/Modelname.php
- {model} should be the Study/Pascal formatted ModelName
- Will give you prompts on the creation of your model and scaffolds
$ php artisan scaffold:application
- Scaffolds the application, placing the files where they should go
- Overwrites files if they already exist (except for migrations), so be very careful with this command
- Prints routes to the console, for easy copy + pasting to your API routes file