https://github.com/dam-bal/eloquentity
Eloquent Entities
https://github.com/dam-bal/eloquentity
aggregate data ddd eloquent entities entity laravel mapper mapping php relationships
Last synced: 5 months ago
JSON representation
Eloquent Entities
- Host: GitHub
- URL: https://github.com/dam-bal/eloquentity
- Owner: dam-bal
- License: mit
- Created: 2023-04-12T19:56:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-28T16:11:18.000Z (over 1 year ago)
- Last Synced: 2024-11-23T09:42:48.803Z (over 1 year ago)
- Topics: aggregate, data, ddd, eloquent, entities, entity, laravel, mapper, mapping, php, relationships
- Language: PHP
- Homepage: https://eloquentity-docs.vercel.app
- Size: 104 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
You can find documentation [here](https://eloquentity-docs.vercel.app/).
> [!WARNING]
> Eloquentity is still under development.
---
Eloquentity is a powerful package that seamlessly integrates Eloquent models with the concept of entities in your Laravel application.
It allows you to effortlessly map your existing Eloquent models to entity objects, providing a more object-oriented approach to handling data.
With Eloquentity, any changes made to these entity objects can be easily persisted back to the database, preserving the integrity of your data and associated relationships.
Additionally, Eloquentity empowers you to create and persist entirely new entities, streamlining the process of working with complex data structures.
By bridging the gap between the object-oriented paradigm and the database layer, Eloquentity enhances code organization, maintainability, and overall development efficiency within your Laravel projects.
## Install
```sh
composer require dam-bal/eloquentity
```