File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ composer require alibori/laravel-api-resource-generator --dev
16
16
17
17
## Usage
18
18
19
- All you need to do is to run the following command:
19
+ All you need to do is run the following command:
20
20
21
21
``` bash
22
22
php artisan api-resource:generate < model-name>
23
23
```
24
24
25
25
This command will generate a new resource for the given model name with the properties defined in the model.
26
26
27
- If you want to set the array keys of the resource as * camelCase* , you can use the ` --camel-case ` , you will be prompted to do it.
27
+ If you want to set the array keys of the resource as * camelCase* , you will be prompted to do it.
28
28
29
29
For example, for the model named ` User ` you will get the following resource:
30
30
You can’t perform that action at this time.
0 commit comments