thecodingmachine/common-factories
TheCodingMachine Common Factories provides reusable factory classes for PSR-11 containers and service providers. Define services via aliases, scalar values, parameters, class instantiation, or method calls, reducing boilerplate when wiring dependency injection in PHP applications.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| icanhazstring/foundry-bundle | 0.81 | Symfony bundle that integrates Foundry's PHP object factories into your app, giving you container-aware configuration for building test fixtures and model instances with less boilerplate. Use it to wire foundries as services and keep fixture setup clean and reusable across tests. Ideal for Symfony p... | 0 | 0 | 0 | 0 | 1 | 0.1 | — | MIT | 5 years ago | |
| thecodingmachine/service-provider-registry | 0.80 | A lightweight registry for managing and retrieving service providers by name. Useful for modular PHP applications that need to decouple service provider registration from consumption, with a simple API for adding, checking, and fetching providers. | 1 | — | 3 | — | 0 | 0.1 | — | — | 6 years ago |
|
| ahmed-bhs/hexagonal-maker-bundle | 0.79 | — | 8 | 8 | 2 | 0 | 0 | 0.1 | — | MIT | — | |
| xsolve-pl/model-factory | 0.78 | xsolve-pl/model-factory is a Laravel package for quickly generating model factories, helping you scaffold test data and simplify Eloquent model setup. It streamlines factory creation so you can focus on writing tests and building features. | 2 | 2 | 0 | 193 | 0 | 0.0 | 25.1 | MIT | 5 years ago | |
| iter8/builder-bundle | 0.78 | Iter8 Builder Bundle packages the Iter8 builder for PHP applications, adding bundle configuration and services that help you assemble custom components and workflows with less boilerplate. It suits projects already using Iter8 that need a consistent, reusable builder integration. | 2 | 2 | 0 | 5 | 0 | 0.3 | 5.9 | — | 3 years ago | |
| thecodingmachine/discovery | 0.78 | Discover PHP classes implementing a given interface by scanning your Composer classmap at runtime. Thecodingmachine/Discovery makes building plugin systems and auto-registering services simple, with no manual configuration or boilerplate required. | 101 | 102 | 13 | 1K | 3 | 1.8 | 17.2 | — | 4 years ago | |
| thecodingmachine/class-explorer | 0.78 | A PHP utility that discovers classes in your codebase by interface, parent class, attribute, or namespace. Built on Roave BetterReflection, it lets you explore implementations without loading them, making it handy for building registries, plugin systems, and convention-based discovery. | 12 | 12 | 6 | 17K | 2 | 0.9 | 44.2 | — | 6 years ago | |
| yiisoft/factory | 0.78 | A flexible factory for Yii3 that creates objects from class names, definitions, or callables, resolving constructor dependencies through a PSR-11 container. Ideal for configurable services and dependency injection setups. | 36 | 37 | 14 | 19K | 5 | 3.6 | 39.0 | BSD-3-Clause | 11 months ago | |
| murtukov/php-code-generator | 0.78 | PHPCodeGenerator generates PHP 7.4 source code via a fluent API. Build files with namespaces and imports, create classes/interfaces/traits/enums, methods/functions/closures, control structures, arrays, literals, comments, and configure global formatting options. | 27 | 27 | 4 | 230K | 5 | 4.2 | 56.8 | MIT | 5 years ago | |
| dragon-code/contracts | 0.77 | Dragon Code Contracts provides a set of reusable PHP interfaces for any project, helping standardize implementations and keep code decoupled. Lightweight, framework-agnostic, and easy to install via Composer. | 10 | 10 | 0 | 580K | 0 | 8.6 | 42.9 | MIT | 7 months ago | |
| cycle/proxy-factory | 0.77 | Cycle Proxy Factory generates proxy classes for Cycle ORM entities, enabling lazy loading and deferred property access. It creates lightweight subclasses at runtime so relations and fields load only when accessed, improving performance without changing your domain code. | 6 | 6 | 5 | 823 | 1 | 0.6 | 28.6 | MIT | 5 years ago | |
| vcn/symfony-autofactory | 0.77 | A Symfony bundle that auto-registers and autowires your services into the dependency injection container, cutting boilerplate configuration so classes are wired up automatically with sensible defaults. | 0 | 0 | 0 | 219 | 0 | 0.3 | 32.4 | MIT | 6 years ago | |
| wikimedia/object-factory | 0.77 | Wikimedia ObjectFactory builds PHP objects from declarative specifications, mapping class names, constructor arguments, and factory callables to instances. Lightweight, dependency-free, and used by Wikibase and other Wikimedia projects. | 5 | 5 | 0 | 19K | 0 | 0.0 | 48.3 | GPL-2.0 | — | |
| thecodingmachine/tdbm | 0.77 | TDBM (The Database Machine) is a fast, lightweight PHP ORM that generates beans and DAOs directly from your database schema. A simple, strongly typed alternative to Doctrine with no annotations and an explicit, easy-to-learn API. | 122 | — | 28 | — | 25 | 22.5 | 15.6 | MIT | 4 months ago |
|
| thecodingmachine/service-provider-bridge-bundle | 0.77 | A Symfony bundle that bridges the Symfony dependency injection container with container-interop service providers, letting you register and use service providers in Symfony applications and share services between both containers. | 4 | — | 5 | — | 0 | 0.6 | — | MIT | 8 years ago | |
| worksome/request-factories | 0.77 | — | 621 | 622 | 16 | 124K | 1 | 17.2 | 34.9 | MIT | 6 months ago | |
| thecodingmachine/tdbm-bundle | 0.77 | Symfony bundle for TDBM, a fast PHP ORM that generates DAOs and beans from your database schema. It wires TDBM into Symfony with configuration, service integration, and commands for a streamlined database layer. | 6 | 6 | 6 | 1K | 1 | 13.0 | 34.8 | — | 4 months ago | |
| lkovace18/entity-factory-bundle | 0.76 | A Symfony bundle offering a factory-based approach to creating and hydrating entities, with configurable definitions to simplify fixtures and test data setup in your applications. | 0 | 0 | 2 | 0 | 0 | 0.1 | — | — | — | |
| talesoft/tale-factory | 0.76 | Tale Factory is a PHP package from Talesoft that offers a reusable factory pattern for building objects and test data. Define blueprints once, then generate consistent instances for tests, seeding, and fixtures through a simple, Laravel-friendly API. | 1 | 1 | 0 | 340 | 0 | 0.0 | 21.8 | MIT | 7 years ago | |
| centraldesktop/protobuf-php | 0.76 | PHP implementation of Google Protocol Buffers with a protoc plugin to generate type-hinted PHP classes from .proto files. Supports binary serialization, multiple codecs (JSON/XML/etc), services, extensions, reflection, and dynamic messages with lazy decoding. | 26 | 29 | 25 | 1K | 1 | 4.3 | 23.7 | MIT | 8 years ago |
How can I help you explore Laravel packages today?