Support the ongoing development of Laravel.io →
Database Eloquent Validation
Last updated 2 years ago.
0

It seems most people are using controller or repository based validation and not using models directly.

In regards to model based validation, you could take a look at https://github.com/dwightwatson/validating

0

dubcanada said:

It seems most people are using controller or repository based validation and not using models directly.

In regards to model based validation, you could take a look at https://github.com/dwightwatson/validating

is this package support for auto-hydration model?

Last updated 9 years ago.
0

dubcanada said:

It seems most people are using controller or repository based validation and not using models directly.

In regards to model based validation, you could take a look at https://github.com/dwightwatson/validating

watson/validating's package is actually consumed by esensi/model's package so by using esensi/model you get all of the extra bolt on behavior of the http://github.com/esensi/model traits but also Dwight's self-validating models. Esensi/model also backported some ruleset behaviors (will be deprecated eventually as it's not a great use of models) for those looking to bring their Laravel 4.2 and Ardent projects to Laravel 5 without going full-blown into the Request Validator class pattern.

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

dels07 dels07 Joined 16 Apr 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.