Generate request rules based on column constraints of the table in the database #48899
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 (code snippets), and in the
rulesmethod appends the columns of a table including it's contraints.Command
php artisan talos:generate-request table_name request_nameExample
php artisan talos:generate-request examples TestRequestRules generated
More details: https://github.com/elisonkaloshi/talos
Beta Was this translation helpful? Give feedback.
All reactions