Eloquence

screenshot of Eloquence

Extensions for the Eloquent ORM

Overview

Sofa/Eloquence is an impressive toolkit that enhances the capabilities of the Eloquent ORM, making it easier to work with Laravel applications. Its suite of extensions provides developers with a streamlined experience, allowing for efficient data manipulation and retrieval through various features. Whether you're looking to implement full-text search, validate models on the fly, or manage attributes with ease, this package delivers on all fronts.

The flexibility and straightforward integration of these extensions make Sofa/Eloquence a desirable addition to any Laravel project. It is designed with simplicity in mind, ensuring that developers can quickly adopt it into their workflows without unnecessary complexity.

Features

  • Searchable Query: Implement full-text search effortlessly across related models, enhancing data retrieval capabilities.
  • Validable: Add self-validating features to your models to streamline input validation within your application.
  • Mappable: Easily map attributes to corresponding table fields or associated models, improving data organization.
  • Metable: Handle meta attributes with simplicity, allowing for easy management of additional data linked to models.
  • Mutable: Enjoy flexible attribute getter/setter mutators that require minimal setup, optimizing data manipulation.
  • Mutator: Utilize a pipe-based approach for mutating data, providing a powerful way to handle data transformations.

This collection of features not only enhances the Eloquent ORM experience but also encourages best practices by promoting clean and maintainable code.