Libraries tagged by class props
quellabs/annotation-reader
311 Downloads
A PHP annotations reader that parses, processes, and caches docblock annotations for classes, properties, and 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
8 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
reflective/reflection
11682 Downloads
Reflective is a formally defined reflection mechanism in PHP, which is used to query detailed information about classes, methods, properties, functions, etc.
pchouse/php-tabulator
11 Downloads
A library to use PHP attributes in class and properties to create the base configuration of to the Tabulator javascript library
pchouse/php-attributes
7 Downloads
A library to use PHP attributes in class and properties to define metadata, such as database, html, ...
mattvb91/docpropgenerator
4 Downloads
@property class documentation generator for @mixin
hotelmah/mysqli-wrapper
15 Downloads
This MySQLi wrapper base class provides properties for Connection and Query Error Messages and ResultSet Properties and Methods to navigate a ResultSet. Connection and Server properties are also provided, basically all of the available features the extension provides.
eboreum/cloner
2 Downloads
Immutably clone (copy) objects and override their properties. Works for readonly classes and properties as well.