Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Lift Laravel Package

wendelladriel/laravel-lift

Experimental Laravel package that supercharges Eloquent models with typed public properties matching your schema, powered by PHP 8 attributes. Add validation rules and other metadata directly on models and access them via handy methods, using Eloquent events for easy drop-in use.

View on GitHub
Deep Wiki
Context7

Lift for Laravel

Introduction

Lift boosts Eloquent models by letting you describe common model behavior with PHP attributes and typed public properties.

It keeps the model readable in your editor while still relying on Eloquent for persistence, events, casts, validation, and relationships.

Why use Lift

Eloquent models can collect a lot of configuration across properties, methods, casts, validation rules, and relationship definitions. Lift keeps those decisions close to the property or behavior they describe.

That makes models easier to scan and easier to maintain, especially when a model has custom columns, validation rules, watched properties, immutable fields, or relationship metadata.

How Lift works

Add the Lift trait to an Eloquent model and start using Lift attributes:

use Illuminate\Database\Eloquent\Model;
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;
}

Lift reads the model metadata and applies it through Eloquent events, so it fits into existing Laravel applications without replacing Eloquent.

Documentation

Read the docs in this order if you are adding Lift to an application for the first time:

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope