Libraries tagged by setter method
free2one/php-accessor
21394 Downloads
Generate getter and setter methods automatically
securetrading/data
321603 Downloads
Secure Trading's Data package. Contains getters/setters/deleters for a data object and allows extending classes to define validation methods for specific data keys.
aedart/overload
11173 Downloads
Provides means to dynamically deal with inaccessible properties, by implementing PHP's magic methods; __get(), __set(), __isset(), and __unset(). This package, however, enforces the usage of getters- and setters-methods, ensuring that if a property is indeed available, then its corresponding getter or setter method will be invoked. The term 'overload', in this context, refers to PHP’s own definition hereof. (http://php.net/manual/en/language.oop5.overloading.php)
sikessem/capsule
1553 Downloads
Capsule is designed to make it easier to manage dependencies and objects, while improving encapsulation and ensuring code quality.
mensbeam/getters-and-setters
37 Downloads
Getter and setter method trait for PHP
zero-to-prod/dynamic-setter
37 Downloads
Fluently set class properties with dynamic methods.
dgifford/property-setter-trait
3671 Downloads
Trait providing methods to set class properties with an array.
runopencode/traitor-bundle
53 Downloads
Inject into services via method injection based on used traits of defined service classes.
keven/magician
24 Downloads
Register magic methods handlesr from traits and abstract classes. DO NOT USE IN PRODUCTION.
guidovanbiemen/setngeti
53 Downloads
Getters and setters for PHP 5.4
shaka/dynamic-update-trait
80 Downloads
The Dynamic Update Trait for Laravel provides a convenient way to dynamically update model attributes using magic methods. This trait allows you to update individual model attributes without explicitly defining setter methods for each attribute. It simplifies the process of updating model fields by providing a generic update method that can be called with dynamic method names.
sergiors/applyzer
252 Downloads
A simple way to invoke setter methods
programmis/upper-case-field
991 Downloads
Setter method name and getter method name make by field name in upper case every first char
piano/accessor
15 Downloads
A creator of getter and setter method by using annotations!
iconic/uniproperty
31 Downloads
A small helper library that helps when you have to access properties of unknown objects by name. It supports both public properties and getter/setter methods.