An efficient Laravel code generator, saving time by automating the creation of resources such as views, controllers, routes, migrations, languages, and form-requests. Highly flexible and customizable, it includes a cross-browser compatible template and client-side validation for application modernization.
I had some difficulty to create relations for resource file, based on the example given in the documentation. It took me couple of hours reading and debugging the code to pin it down.. There is equal sign in the documentation, but colon should be used:
--relations="name:comments;type:hasMany;field:title;params=App\Models\Comment|post_id|id,"
should be
--relations="name:comments;type:hasMany;field:title;params:App\Models\Comment|post_id|id,"
Environment:
Description:
I had some difficulty to create relations for resource file, based on the example given in the documentation. It took me couple of hours reading and debugging the code to pin it down.. There is equal sign in the documentation, but colon should be used:
--relations="name:comments;type:hasMany;field:title;params=App\Models\Comment|post_id|id," should be --relations="name:comments;type:hasMany;field:title;params:App\Models\Comment|post_id|id,"
And thanks for really great and useful code!
Steps/Commands To Reproduce:
Content Of The Resource-File: