Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Create Artisan's make:ardent with automatic validation rules #277

Open
igorsantos07 opened this issue Nov 1, 2015 · 0 comments
Open

Create Artisan's make:ardent with automatic validation rules #277

igorsantos07 opened this issue Nov 1, 2015 · 0 comments

Comments

@igorsantos07
Copy link
Member

Many validation rules can be inferred from the database, such as if the field is required or not, bool, string or numeric, unique, and so on (password fields can be inferred to have a confirmed as well).

We should have an Artisan command that reads this and creates the Ardent model.

Additionally, we could add a docblock with all fields.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant