someonefamous/laravel-findby
Add dynamic finders to Eloquent models: call User::findByLastName('Smith') or User::findAllByFirstName('Bob') instead of where()->first()/get(). Works with any snake_cased field name via the FindBy trait.
|
Package
|
Constraint
|
|---|---|
| illuminate/support | >=5 |
|
Package
|
Constraint
|
|---|---|
| orchestra/testbench | ^6.0 |
| phpunit/phpunit | ^9.5 |
How can I help you explore Laravel packages today?