Libraries tagged by class props

welcomattic/has-attributes

13 Favers
2 Downloads

Check if a class, a method or a property has an attribute

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


cptechinc/dplus-model

0 Favers
524 Downloads

Propel 2.0 built ORM classes for Dplus data(x) databases based

Go to Download


zeeshanu/yell

19 Favers
16 Downloads

A php package that yells when you try to access a property that doesn't exist in a class!

Go to Download


make/accessible

8 Favers
99 Downloads

A very lightweight PHP package that let you easely access and test singleton classes and inaccessible instance members like private or protected methods and properties.

Go to Download


crimsonkissaki/mockmaker

4 Favers
44 Downloads

Whether you call them doubles, stubs, mocks, partials, fakes, or something else there are times when a mocking library such as PHPUnit's mockBuilder, Mockery, Prophecy, etc. just doesn't do exactly what you need or want. Sometimes you just need a concrete class implementation to run through the unit test wringer or a full end to end functional unit test suite. MockMaker aims to simplify the process of generating concrete fake ORM entity objects. Flexible and extendable, the generated seed code can be altered to suit your particular project with relative ease. That means after the initial setup you can re-run MockMaker for any new entities that get added in or update existing entities that change with little to no fuss. What's more, once MockMaker has made your files it's done; you don't have to include it in your code base and can use the generated files like any other project class.

Go to Download


torugo/property-validator

0 Favers
47 Downloads

Validators and Handlers for class properties.

Go to Download


takutakuaoao/php-cs-fixer-align-property-rule

0 Favers
6 Downloads

the cs-fixer-rule aligning vertical positions of class properties.

Go to Download


seotils/properties

0 Favers
17 Downloads

Sets, gets and validate class properties

Go to Download


maximo-perez-villalba/class-properties-reader

1 Favers
5 Downloads

La clase lee vía reflexión todos las propiedades de una clase incluyendo las propiedades privadas de su jerarquía.

Go to Download


lesphp/property-info-typed-array

0 Favers
119 Downloads

Extract key and value types using PHP Attributes for array class properties. This dispense the use of PhpDocExtractor for typed arrays.

Go to Download


kerekit/class-property-management

0 Favers
4 Downloads

A library providing read & write access for class properties based on simple annotations

Go to Download


iggyvolz/class-properties-conditions

0 Favers
4 Downloads

Conditions for PHP Class Properties

Go to Download


iggyvolz/class-properties

1 Favers
124 Downloads

C#-style class properties for PHP classes

Go to Download


avantar/readable-only-properties

1 Favers
11 Downloads

A little trait which blocks class properties setters.

Go to Download


<< Previous Next >>