Libraries tagged by Object Properties
codelicia/immutable
0 Downloads
Enforces immutability on initialized properties of any PHP object
stevenwadejr/exposure
158 Downloads
Exposure acts as a proxy to protected and private properties and methods on an object.
proteins/structure
44 Downloads
Access properties with associative array or object notation seamlessly
jvmanji/universal-access
482 Downloads
This package includes PHP wrapper for arrays and objects, which simplifies access to nested properties/keys.
monkeyscloud/monkeyslegion-serializer
2 Downloads
Attribute-driven object↔JSON/XML serializer for MonkeysLegion: property hooks, readonly DTOs, normalizer pipeline, naming strategies, PHPStan Level 9.
lossik/replacer
5 Downloads
Replaces '$object->property' strings with values of registered objects and evaluates simple functions.
yunasoft/hydrator
108 Downloads
Allows to extract data from an object or create a new object based on data for the purpose of persisting state. Works with private and protected properties.
xmlutils/xmlutils
129 Downloads
This class contains methods to convert a xml tree into a complex array with nested properties and to convert a complex array object into an xml tree.
unicon/yaml
3057 Downloads
Validates YAML file using given class and, if matches, creates an object. Understands PhpDoc, converts values if necessary. Works recursively, so the YAML file may have complicated structure, and the given class may have properties of other classes.
rlnks/php-mail-tree
6 Downloads
A PHP HTML email builder using an intuitive object-tree nesting approach. Structure your email exactly like you think it — each node is a named property on its parent.
extphp/data-dot
1654 Downloads
A property accessor helper capable of using dot notation for a mix of arrays and objects.
birb/fancy-stubs-codegen
13 Downloads
Build-time, attribute-driven code generator: write a stub class, mark members with #[DefinerAttribute], and get a real, finished PHP class back — conventions filled in (event names, ids, ...), or whole getters/setters/builder classes generated from the stub's properties. Unlike runtime-reflection tools, the output is a plain PHP file with zero dependency on this library and no per-request reflection cost; useful for scaffolding DDD value objects/aggregates/events, command classes and other boilerplate. Postprocessing (transforming code, e.g. phpcbf/php-cs-fixer/rector), quality checks (evaluating code, e.g. PHPStan/Psalm/PHPCS) and framework-specific conventions (e.g. Laravel table/id naming) ship as separate packages — see birb/fancy-stubs-codegen-postprocessors, birb/fancy-stubs-codegen-code-quality and birb/fancy-stubs-codegen-laravel.
bcismariu/commons-descendable
117 Downloads
A property accessor helper capable of using dot notation for a mix of arrays and objects
affinity4/tokenizer
7 Downloads
A zero-dedpendency tokenizer written in PHP. Returns an easily navigatable Stream object of Token objects with public type, value, offset and length properties