kirkbushell / eloquence

A drop-in library for certain database functionality in Laravel, that allows for extra features that may never make it into the main project.
MIT License
537 stars 60 forks source link

Eloquence 11.0 #112

Closed kirkbushell closed 5 months ago

kirkbushell commented 5 months ago

Eloquence has had a major overhaul, implementing incompatible API changes with previous versions.

11.0 sees the package move heavily toward PHP attributes as a form of meta-programming to describe how relationships interact with one another for custom behaviours, namely for aggregate value caching (such as counts, sums.etc.).

Due to this, all implementors should take time to review the changes and update their code to the new APIs, which empower developers to implement these behaviours directly as part of their relationship logic.

kirkbushell commented 5 months ago

Nice! 🏅 There are several php files in this PR not ending in a new line, it would be nice if you could update these too 🙂

I'll add a linter - ty :)

kirkbushell commented 5 months ago

@kontoulis Done.