laravel-lift maintained by wendelladriel
Description
Take your Eloquent Models to the next level
Author
Last update
2026/06/01 20:03
(dev-main)
License
Downloads
48 723
Tags
Last update
2026/06/01 20:03
License
Require
- php ^8.2
- illuminate/database ^11.0|^12.0|^13.0
- illuminate/support ^11.0|^12.0|^13.0
- illuminate/validation ^11.0|^12.0|^13.0
Last update
2026/06/01 20:03
License
Require
- php ^8.2
- illuminate/database ^11.0|^12.0|^13.0
- illuminate/support ^11.0|^12.0|^13.0
- illuminate/validation ^11.0|^12.0|^13.0
Last update
2026/06/01 19:49
Last update
2026/06/01 19:32
Last update
2026/02/25 13:42
License
Require
- php ^8.2
- illuminate/database ^11.0|^12.0|^13.0
- illuminate/support ^11.0|^12.0|^13.0
- illuminate/validation ^11.0|^12.0|^13.0
Last update
2025/08/20 12:09
License
Require
- php ^8.2
- illuminate/database ^11.0 || ^12.0
- illuminate/support ^11.0 || ^12.0
- illuminate/validation ^11.0 || ^12.0
Last update
2025/08/06 16:18
License
Require
- php ^8.2
- illuminate/database ^11.0 || ^12.0
- illuminate/support ^11.0 || ^12.0
- illuminate/validation ^11.0 || ^12.0
Last update
2024/11/05 11:56
License
Require
- php ^8.1
- illuminate/database ^10.0|^11.0
- illuminate/support ^10.0|^11.0
- illuminate/validation ^10.0|^11.0
Last update
2024/09/13 13:58
License
Require
- php ^8.1
- illuminate/database ^10.0|^11.0
- illuminate/support ^10.0|^11.0
- illuminate/validation ^10.0|^11.0
Last update
2024/05/28 18:16
License
Require
- php ^8.1
- illuminate/database ^10.0|^11.0
- illuminate/support ^10.0|^11.0
- illuminate/validation ^10.0|^11.0
Last update
2024/03/13 14:12
License
Require
- php ^8.1
- illuminate/database ^10.0|^11.0
- illuminate/support ^10.0|^11.0
- illuminate/validation ^10.0|^11.0
Last update
2023/11/13 17:09
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/10/30 12:24
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/10/16 11:24
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/10/02 12:34
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/09/26 14:10
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/09/22 11:14
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/09/18 12:33
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/09/06 13:57
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/09/05 11:41
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/09/04 13:36
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/09/01 16:57
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/09/01 15:02
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/31 19:21
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/31 17:46
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/31 15:08
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/30 21:19
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/30 11:04
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/29 15:17
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/28 21:30
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/27 13:29
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/26 22:56
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/25 17:28
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/25 16:13
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/25 14:47
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/24 22:14
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/24 21:25
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
Last update
2023/08/24 19:11
License
Require
- php ^8.1
- illuminate/database ^9.0|^10.0
- illuminate/support ^9.0|^10.0
- illuminate/validation ^9.0|^10.0
[!WARNING] This is an experimental package!
Installation
You can install the package via composer:
composer require wendelladriel/laravel-lift
Usage
Add the Lift trait to models that should use typed public properties and Lift attributes:
use Illuminate\Database\Eloquent\Model;
use WendellAdriel\Lift\Attributes\Cast;
use WendellAdriel\Lift\Attributes\Fillable;
use WendellAdriel\Lift\Attributes\Rules;
use WendellAdriel\Lift\Lift;
final class Product extends Model
{
use Lift;
#[Fillable]
#[Rules(['required', 'string', 'max:255'])]
public string $name;
#[Fillable]
#[Cast('integer')]
#[Rules(['required', 'integer', 'min:0'])]
public int $stock;
}
Lift reads those attributes and applies the matching Eloquent configuration through model events. This keeps model behavior close to the property it describes while still using standard Eloquent models.
Access the full documentation here.
Changelog
Please see the changelog for more information on what has changed recently.
Contributing
Thank you for considering contributing to Lift! You can read the contribution guide here.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
Lift is open-sourced software licensed under the MIT license.