๐๏ธLift for Laravel
Take your Eloquent Models to the next level
Last updated
Take your Eloquent Models to the next level
Last updated
Lift is a package that boosts your Eloquent Models in Laravel.
It lets you create public properties in Eloquent Models that match your table schema. This makes your models easier to read and work with in any IDE.
The package intelligently uses PHP 8โs attributes, and gives you complete freedom in setting up your models. For instance, you can put validation rules right into your models - a simple and easy-to-understand arrangement compared to a separate request class. Plus, all these settings are easily reachable through handy new methods.
With a focus on simplicity, Lift depends on Eloquent Events to work. This means the package fits easily into your project, without needing any major changes (unless youโve turned off event triggering).
To start using Lift, you just need to add the Lift
trait to your Eloquent Models, and you're ready to go.
Check the Contributing Guide.