An open API service indexing awesome lists of open source software.

https://github.com/wendelladriel/laravel-lift

Take your Eloquent Models to the next level
https://github.com/wendelladriel/laravel-lift

attributes casts eloquent laravel model validation

Last synced: 11 days ago
JSON representation

Take your Eloquent Models to the next level

Awesome Lists containing this project

README

        

> [!WARNING]
> **This is an experimental package!**
>
> **The package is not being actively maintained, if you want to maintain this package, please reach me out!**


Lift for Laravel



🏋️ Lift for Laravel


Take your Eloquent Models to the next level


Packagist
PHP from Packagist
Laravel Version
GitHub Workflow Status (main)

**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).

## Documentation
[![Docs Button]][Docs Link] [![DocsRepo Button]][DocsRepo Link]

## Installation

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

## Credits

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

## Contributing

Check the **[Contributing Guide](CONTRIBUTING.md)**.

[Docs Button]: https://img.shields.io/badge/Website-B30E2E?style=for-the-badge&logoColor=white&logo=GitBook
[Docs Link]: https://wendell-adriel.gitbook.io/laravel-lift/
[DocsRepo Button]: https://img.shields.io/badge/Repository-3884FF?style=for-the-badge&logoColor=white&logo=GitBook
[DocsRepo Link]: https://github.com/WendellAdriel/laravel-lift-docs