Libraries tagged by singleton
mpyw/sharable-value-objects
84800 Downloads
Share value objects that contain the same primitive value as a singleton.
mjsilva/in-memory-storage
30411 Downloads
Simple class that uses singleton pattern to save whatever in memory
milpa/container
28739 Downloads
Reflection-autowiring PSR-11 dependency injection container for the Milpa PHP framework: lazy singleton resolution, circular-dependency detection with chain reporting, and safe optional retrieval.
jonom/silverstripe-someconfig
7901 Downloads
Combines the CRUD features of ModelAdmin with the singleton settings editing of SiteConfig so content and settings can be co-located.
commune/container
359 Downloads
use double ioc containers strategy to isolate singletons on each requests; for swoole, roadrunner, reactPHP etc.
cego/curl-handle-reuse-laravel-octane
30551 Downloads
Utility for convenient usage of singleton curl handles using Laravel HTTP facade
mezon/singleton
1887 Downloads
Simple singleton
merophp/singleton
626 Downloads
Implementation of the singleton pattern for the Merophp Framework
jover/singleton
7674 Downloads
A simple Singleton implementation
coisa/singleton
116 Downloads
Abstract singleton implementation
webino/singleton-trait
8910 Downloads
Singletons common trait
pokmot/pimple-singleton
5777 Downloads
Extending Pimple to be a singleton
gebruederheitz/simple-singleton
1833 Downloads
A simple implementation of a singleton as an extensible abstract class or as a trait.
baxtian/php-singleton
1571 Downloads
PHP Trait Singleton
opencultureconsulting/basics
1937 Downloads
A collection of generic classes and useful traits for PHP projects.