Releases: TWithers/laravel-php-attributes
Laravel 10 Support
Thanks @toddstoker for your help with getting things running for Laravel 10.
v1.0.2
v1.0.1
v1.0.0
v0.2.0
Most of the code was re-imagined and rewritten to be encapsulate the objects and their responsibilities. Instead of a single array/collection, we now have the AttributeTarget
class which is the target to which the attributes are applied, and the AttributeInstance
class which is the initialized attribute instance. These are kept inside of the AttributeCollection
which provides helpful lookup methods.
The facade now points to the AttributeCollection
, and the methods have been modified
There is also a generic helper class AttributeAccessor
which can be utilized by itself to access attributes on classes, methods, and properties.
Properties were added as attribute targets
The README.md file was completely rewritten with better documentation of the API and methods.
Most of the tests were rewritten, but still have some progress left before they are more complete.