PHPackages                             wendelladriel/laravel-lift - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. wendelladriel/laravel-lift

ActiveLibrary[Database &amp; ORM](/categories/database)

wendelladriel/laravel-lift
==========================

Take your Eloquent Models to the next level

v0.19.1(4w ago)70349.7k↓61.8%33MITPHPPHP ^8.2CI passing

Since Aug 24Pushed 4w ago8 watchersCompare

[ Source](https://github.com/WendellAdriel/laravel-lift)[ Packagist](https://packagist.org/packages/wendelladriel/laravel-lift)[ Fund](https://www.paypal.me/wendelladriel)[ GitHub Sponsors](https://github.com/WendellAdriel)[ RSS](/packages/wendelladriel-laravel-lift/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (18)Versions (40)Used By (0)

Warning

**This is an experimental package!**

 [![Lift for Laravel](https://github.com/wendelladriel/laravel-lift/raw/main/art/laravel-lift-banner.png)](https://github.com/wendelladriel/laravel-lift/raw/main/art/laravel-lift-banner.png)🏋️ Lift for Laravel
===================

[](#️-lift-for-laravel)

 Take your Eloquent Models to the next level

 [![Packagist](https://camo.githubusercontent.com/ba289cdd425890e5c261145bc392cc57e9e3898a5f9076d648fdd77358f0cdaa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77656e64656c6c61647269656c2f6c61726176656c2d6c6966742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wendelladriel/laravel-lift) [![PHP from Packagist](https://camo.githubusercontent.com/bd933261c7219a2bcf56c322d96860e10fca12288d732b3071044d663574c910/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f77656e64656c6c61647269656c2f6c61726176656c2d6c6966742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wendelladriel/laravel-lift) [![Laravel versions](https://camo.githubusercontent.com/be68799bed9ea81e9d6863a41ec586930f26988ee27102a1d01f13f36f072dbb/68747470733a2f2f62616467652e6c61726176656c2e636c6f75642f62616467652f77656e64656c6c61647269656c2f6c61726176656c2d6c6966743f7374796c653d666c6174)](https://packagist.org/packages/wendelladriel/laravel-lift) [![GitHub Workflow Status (main)](https://camo.githubusercontent.com/6b0b96f6983d0998239f89c72430e72520c8b66316a6307527675d982ccce378/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f77656e64656c6c61647269656c2f6c61726176656c2d6c6966742f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473267374796c653d666c61742d737175617265)](https://github.com/wendelladriel/laravel-lift/actions) [![Total Downloads](https://camo.githubusercontent.com/a95f233193e1855a8e475f4dfb7fdea4fa6ca2b12cc0ed0e887d8dc1a5f11f7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77656e64656c6c61647269656c2f6c61726176656c2d6c6966742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wendelladriel/laravel-lift)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require wendelladriel/laravel-lift
```

Usage
-----

[](#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](https://laravel-lift.wendelladriel.com).

Changelog
---------

[](#changelog)

Please see the [changelog](https://laravel-lift.wendelladriel.com/getting-started/changelog) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Thank you for considering contributing to Lift! You can read the contribution guide [here](CONTRIBUTING.md).

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](.github/SECURITY.md) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Wendell Adriel](https://github.com/WendellAdriel)
- [All Contributors](../../contributors)

License
-------

[](#license)

Lift is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

60

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity51

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~29 days

Recently: every ~75 days

Total

36

Last Release

29d ago

PHP version history (2 changes)v0.1.0PHP ^8.1

v0.16.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/565cea386dcfc4df5188a338113624866e65e4b31b209a7a99bb6c4c272e8731?d=identicon)[wendell\_adriel](/maintainers/wendell_adriel)

---

Top Contributors

[![WendellAdriel](https://avatars.githubusercontent.com/u/11641518?v=4)](https://github.com/WendellAdriel "WendellAdriel (139 commits)")[![oppytut](https://avatars.githubusercontent.com/u/11549752?v=4)](https://github.com/oppytut "oppytut (15 commits)")[![PerryvanderMeer](https://avatars.githubusercontent.com/u/11609290?v=4)](https://github.com/PerryvanderMeer "PerryvanderMeer (13 commits)")[![naxvog](https://avatars.githubusercontent.com/u/4963183?v=4)](https://github.com/naxvog "naxvog (12 commits)")[![layerok](https://avatars.githubusercontent.com/u/18424848?v=4)](https://github.com/layerok "layerok (6 commits)")[![marvinosswald](https://avatars.githubusercontent.com/u/1621844?v=4)](https://github.com/marvinosswald "marvinosswald (5 commits)")[![mickverm](https://avatars.githubusercontent.com/u/1834265?v=4)](https://github.com/mickverm "mickverm (5 commits)")[![scottzirkel](https://avatars.githubusercontent.com/u/1329131?v=4)](https://github.com/scottzirkel "scottzirkel (3 commits)")[![misakstvanu](https://avatars.githubusercontent.com/u/42741294?v=4)](https://github.com/misakstvanu "misakstvanu (3 commits)")[![atweneymackenzie](https://avatars.githubusercontent.com/u/108013585?v=4)](https://github.com/atweneymackenzie "atweneymackenzie (3 commits)")[![wizzymore](https://avatars.githubusercontent.com/u/25827787?v=4)](https://github.com/wizzymore "wizzymore (2 commits)")[![BadJacky](https://avatars.githubusercontent.com/u/113529280?v=4)](https://github.com/BadJacky "BadJacky (2 commits)")[![adelf](https://avatars.githubusercontent.com/u/2818394?v=4)](https://github.com/adelf "adelf (2 commits)")[![peterfox](https://avatars.githubusercontent.com/u/1716506?v=4)](https://github.com/peterfox "peterfox (1 commits)")[![edalzell](https://avatars.githubusercontent.com/u/6069653?v=4)](https://github.com/edalzell "edalzell (1 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")[![cgslivre](https://avatars.githubusercontent.com/u/2656420?v=4)](https://github.com/cgslivre "cgslivre (1 commits)")[![nimah79](https://avatars.githubusercontent.com/u/20343056?v=4)](https://github.com/nimah79 "nimah79 (1 commits)")

---

Tags

attributescastseloquentlaravelmodelvalidationlaravelvalidationmodeleloquentattributescasts

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wendelladriel-laravel-lift/health.svg)

```
[![Health](https://phpackages.com/badges/wendelladriel-laravel-lift/health.svg)](https://phpackages.com/packages/wendelladriel-laravel-lift)
```

###  Alternatives

[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[watson/validating

Eloquent model validating trait.

9803.5M54](/packages/watson-validating)[prettus/l5-repository

Laravel 8|9|10|11|12|13 - Repositories to the database layer

4.3k11.3M157](/packages/prettus-l5-repository)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k32.6M46](/packages/kirschbaum-development-eloquent-power-joins)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
