Libraries tagged by object property setter

rekalogika/direct-property-access

1 Favers
17914 Downloads

Simple implementation of PropertyAccessorInterface that reads and writes directly to the object's properties, bypassing getters and setters.

Go to Download


dandjo/object-adapter

0 Favers
610 Downloads

Provides adapters for target objects with easy property access via magic getter and setter.

Go to Download


birb/fancy-stubs-codegen

0 Favers
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.

Go to Download


alaa-almaliki/property-setter-config

0 Favers
37 Downloads

PHP library can be used to set object properties by a given array passed in the constructor

Go to Download


as-pro/object-access

0 Favers
5 Downloads

A library for accessing object properties via getters and setters

Go to Download


lukaszmakuch/property-setter

0 Favers
149 Downloads

Sets properties of already existing objects.

Go to Download


lukasz93p/object-serializer

0 Favers
66 Downloads

Package which allows easy serialization and deserialization of php objects using JSON format, setters or public properties are not needed.

Go to Download


ymmtmsys/properties

0 Favers
13 Downloads

Automatically creates a setter and getter via annotations.

Go to Download


mfonte/propaccessor

0 Favers
9 Downloads

A PHP Trait that adds support for direct access to object properties, with explicit accessors and mutators.

Go to Download


snscripts/getset

0 Favers
49906 Downloads

Trait for adding magic setters / getters to objects

Go to Download


macfja/value-provider

2 Favers
47 Downloads

Get/Set object value with its getter/setter/property/metadata

Go to Download


sikessem/capsule

2 Favers
1851 Downloads

Capsule is designed to make it easier to manage dependencies and objects, while improving encapsulation and ensuring code quality.

Go to Download


iconic/uniproperty

1 Favers
38 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.

Go to Download


bnomei/kirby-blueprints

19 Favers
96 Downloads

PHP Class-based Blueprints for Kirby CMS for better type safety and code completion

Go to Download


scaleupstack/easy-object

0 Favers
15 Downloads

Convenient object handling for a modern, defensive and strict style of programming in PHP without boilerplate code. E.g. default getters, typed properties, named/default constructors.

Go to Download


Next >>