Browse Source

Add --form-requests command option

tags/1.2.9
Nafies Luthfi 7 years ago
parent
commit
54ae8416c3
  1. 1
      src/CrudApiMake.php
  2. 1
      src/CrudMake.php
  3. 1
      src/CrudSimpleMake.php

1
src/CrudApiMake.php

@ -12,6 +12,7 @@ class CrudApiMake extends GeneratorCommand
protected $signature = 'make:crud-api {name : The model name}
{--p|parent= : The generated API controller parent directory}
{--t|tests-only : Generate API CRUD testcases only}
{--r|form-requests : Generate CRUD with Form Request on create and update actions}
{--f|formfield : Generate CRUD with FormField facades}';
/**

1
src/CrudMake.php

@ -13,6 +13,7 @@ class CrudMake extends GeneratorCommand
{--p|parent= : The generated controller parent directory}
{--t|tests-only : Generate CRUD testcases only}
{--f|formfield : Generate CRUD with FormField facades}
{--r|form-requests : Generate CRUD with Form Request on create and update actions}
{--bs3 : Generate CRUD with Bootstrap 3 views}';
/**

1
src/CrudSimpleMake.php

@ -13,6 +13,7 @@ class CrudSimpleMake extends GeneratorCommand
{--p|parent= : The generated controller parent directory}
{--t|tests-only : Generate CRUD testcases only}
{--f|formfield : Generate CRUD with FormField facades}
{--r|form-requests : Generate CRUD with Form Request on create and update actions}
{--bs3 : Generate CRUD with Bootstrap 3 views}';
/**

Loading…
Cancel
Save