Libraries tagged by class props
unicon/unicon
3065 Downloads
Universal PHP variable converter. The main feature is converting arrays to an object of given class. In this case, Unicon follows PhpDoc annotations, works recursively to create the object's properties.
tesis/db-layer
12 Downloads
Simple DB layer for mysqli extension and PDO class. It is based on mappers, files holding database table fields, primary key and auto_increment properties, which is helpful to compare fields for CRUD or select operations, and to provide better way to prevent SQL injections (only existing fields are selected, or inserted, ...)
rodrigodiez/mockable-predis
287 Downloads
A class that extends Predis/Client and has all its magic methods anotated so you can create Prophecy mocks
rockylars/faker
10 Downloads
Simple class/method faking tool like Mockery and Prophecy to make tests focus on one service at a time
polyprism/runtime
1 Downloads
Runtime helpers for PolyPrism's PHP domain-class emitter — Coerce + Normalise utilities used by generated property-hook setters. Zero third-party dependencies.
pecee/asynctask
20 Downloads
AsyncTask enables proper and easy use of the thread. This class allows to perform background operations and publish results on the thread without having to manipulate threads and/or handlers.
mvccore/ext-view-helper
831 Downloads
MvcCore - Extension - View - Helper - abstract class code and interface support code to create more sofisticated view helpers with better setup and protected properties.
mf1dd/object-builder
1 Downloads
Automatically creates fully populated PHP object instances with random, type-safe values. Designed for test fixtures and runtime object generation. Supports all PHP class types — regular classes, readonly classes, abstract classes, enums, traits, interfaces, and built-in stock classes like DateInterval or ArrayObject. Recursively resolves nested object graphs, detects property names for semantically meaningful values (timezone, email, firstname …), and offers constraint-based value ranges via a fluent API. No framework required; zero runtime dependencies beyond nikic/php-parser. PHP 8.2+.
lambertns/laravel-make-service
20 Downloads
Adds `php artisan make:service` command to generate service classes with optional automatic controller injection using PHP 8+ property promotion.
kurianvarkey/helper-buddy
29 Downloads
Helper class to validate and correct JSON attribute types, ensuring proper structure and defaults for string, int, float, and boolean.
krylov123/handy-api-response
14 Downloads
Simple and handy Class for API Responses with success flag, errors bag and data property
f1ames/pear_image_iptc
321 Downloads
This package provides a mechanism for modifying IPTC header information. The class abstracts the functionality of iptcembed() and iptcparse() in addition to providing methods that properly handle replacing IPTC header fields back into image files.
blainesch/magicoracle
18 Downloads
A proxy class developed for unit testing that makes all methods and properties public to you.
aharisu/generate-form-request-phpdoc
2396 Downloads
Generate PHPDoc properties automatically based on the rules specification of the FormRequest class
rdcstarr/superpower-broadcasting
1 Downloads
UI realtime broadcasting for Laravel + Livewire. UiEvent + UserChannelEvent broadcast classes and the #[OnUi] attribute for Livewire computed properties.