
A drop-in library for certain database functionality in Laravel, that allows for extra features that may never make it into the main project.
Eloquence is an innovative package designed to extend the capabilities of Laravel's Eloquent models, offering powerful utilities and attributes to enhance the way developers interact with data. It aims to simplify working with Eloquent while maintaining a coherent coding style and flexible data manipulation. With features like camel cased attributes and data aggregation, Eloquence enriches the developer experience, making it an appealing choice for everyone working with Laravel.
As an automatic discovery package, Eloquence seamlessly integrates into your Laravel application without needing extensive configuration, allowing developers to immediately leverage its features. From readonly models that protect critical data to a robust behaviour system for model enhancements, Eloquence brings a fresh take on Eloquent that fosters cleaner and more efficient code practices.
Readonly Models: Protect models from any alterations by ensuring they can only be loaded from the database, perfect for sharing data across domains.
Camel Cased Attributes: Simplify coding style by using the CamelCased trait, transforming attribute accesses from camelCase to snake_case consistently across your application.
Count Cache: Improve performance by caching the results of counts on related model records, ensuring smooth and efficient queries even on large datasets.
Behaviour System: Leverage small libraries that can be attached to Eloquent models, providing flexible enhancements tailored to specific use cases.
Easy Installation: Install via Composer and integrate seamlessly into your Laravel applications with minimal effort.
Standard Schema Practices: Maintains the use of snake_case for database schema migrations, aligning with Laravel community standards and best practices.
Automatic Discoverability: Functions right out of the box in Laravel, with no manual configuration required for hassle-free adoption.
