Libraries tagged by class properties
fivepercent/object-security
19 Downloads
Adds common security to you system.
delormejonathan/accessible-bundle
57 Downloads
A bundle to easily use Accessible in Symfony projects.
delormejonathan/accessible
61 Downloads
PHP library that allows you to define your class' getters, setters and constructor with docblock annotations.
sikessem/encapsulation
11 Downloads
Apply the encapsulation principle on PHP classes
osmianski/super-objects
12 Downloads
A library providing a base class for creating super objects in PHP, the ones with lazy properties, elegant dependency injection, and more.
zero-to-prod/dynamic-setter
1883 Downloads
Fluently set class properties with dynamic methods.
php-shark-tank/anonymizer
210 Downloads
Library to anonymize class properties
ogi/prompt
18 Downloads
A PHP package to convert class properties into XML-formatted prompts for LLM APIs.
niirrty/niirrty.dynprop
30 Downloads
A dynamic PHP class properties library.
milantex/tpc
14 Downloads
This project provides a mechanism to specify types for class properties. Also, property types have additional parameters, such as the regular expression pattern for strings, minimum and maximum value for integers etc. The special setter method handles type checking and will set the given value only if it is valid for the given type and its additional parameters. Check the documentation for an example.
leo980/reflector
7 Downloads
Helper function for reflecting private/protected class properties and methods. For unit-testing purposes.
judahnator/public-accessor-attribute
10 Downloads
A trait and attribute that provides read-only access to protected class properties.
fnash/desugar-constructor
10 Downloads
Desugar a php8 class constructor with equivalent class properties and constructor assignments
cjdennis/hidden-value
23 Downloads
Allows storing pseudo class properties as values that are not dumpable, serialisable, or accessible from child classes
jasny/meta
19722 Downloads
Define metadata for classes, properties and functions