Libraries tagged by getitems
entity/entity
594 Downloads
Simple and fast entity class implementing magic getters and setters. Easy usage in repository design patterns
entire-studio/dynamic-accessors
7 Downloads
Dynamic setters and getters. While it can be done, it doesn't mean you should do it.
delormejonathan/accessible
61 Downloads
PHP library that allows you to define your class' getters, setters and constructor with docblock annotations.
datingvip/accessor
525 Downloads
Implements getters/setters, read-only/write-only properties, volatile defaults, type control…
code-simplify/ciesta-project
11 Downloads
A simple way to write classes in PHP. No more getters, setters, constructors, or SQL.
bjarneo/settergetter
9 Downloads
Micro PHP library for automatically create setter and getters to hold data
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.
as-pro/object-access
5 Downloads
A library for accessing object properties via getters and setters
alexanevsky/getter-setter-accessor-bundle
295 Downloads
Provides functions to read and write from/to an object and gets the list of object getters and setters.
aggrosoft/oxid-vendor-products
24 Downloads
Adds getters and widgets for Oxid Vendor products
affinity4/magic
14 Downloads
Magic Trait used to easily add event listeners, spelling suggestions in errors and Javascript __set and __get style setters an getters to any class. Magic!
actualwave/object
106 Downloads
Non dynamic base Object class with getters/setters implementation
wickedone/muppet
8063 Downloads
testing your getters, setters, adders, removers, issers and whatevers
monooso/base-model
72 Downloads
The world's simplest base model, with support for custom getters and setters.
lexiphanic/phpspec-get-set-matcher
27 Downloads
PHPSpec extension to test getters and setters.