rinvex / laravel-attributes

⚠️ [ABANDONED] Rinvex Attributable is a robust, intelligent, and integrated Entity-Attribute-Value model (EAV) implementation for Laravel Eloquent, with powerful underlying for managing entity attributes implicitly as relations with ease. It utilizes the power of Laravel Eloquent, with smooth and seamless integration.
MIT License
433 stars 104 forks source link

Missing AttributableInterface #130

Closed Miwi35 closed 3 years ago

Miwi35 commented 4 years ago

Great module! It would just have been great to have AttributableInterface that acts as a contract filled by the Attributable trait. It would be useful to test if the Entity has additionnal attributes to generate form for example. Right now we are force to test if Entity uses the trait.

Additionnally, traits are just implementation of common behaviors while interface are descriptions of behavior, so it makes sense!

Keep up the good work!

Omranic commented 3 years ago

Thank you @Miwi35 for your feedback, I would be happy to look into it, if someone can submit a PR for that ;)