sindyko/aliaser
Laravel package for elegant alias management across Eloquent models, Livewire forms, DTOs, collections, and enums. Use short aliases and the Entity facade (Entity::user(1)), auto-sync morph maps, and optimize Livewire snapshots with custom synthesizers.
Aliaser now automatically detects your Livewire version and adapts accordingly:
Even without Livewire 3.x, you can use:
Entity::user()->get()Only Livewire snapshot optimization requires Livewire 3.x.
Currently, Livewire 2.x is not supported, but support is planned for a future release. If you have Livewire 2.x installed, the package will work but without Livewire-specific features.
composer require sindyko/aliaser
php artisan aliaser:install
How can I help you explore Laravel packages today?