Generate request rules based on column of a table in database #41772
Unanswered
elisonkaloshi
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created a package that generates a request class, and in the
rules
method adds the columns of a table including its contraints.Command
php artisan talos:generate-request table_name request_name
Example
php artisan talos:generate-request examples TestRequest
Rules generated
More details: https://github.com/elisonkaloshi/talos
Beta Was this translation helpful? Give feedback.
All reactions