stefanius / singleton-pattern
Helper package to implement a Singleton class.
Installs: 67
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- phpunit/phpunit: ~5.7
This package is auto-updated.
Last update: 2024-10-23 00:53:48 UTC
README
#Singleton Desing Pattern
##Framework Agnostic This package is usable for any framework or even plain-PHP. So try this on your Laravel, Symfony, Zend or CakePHP project or any other PHP application or framework!
##For (almost) every developer Traits, abstraction or a contract. This package is complete and ready to use for developers who has a favor for one of the implemented types.
- Do you like Traits? Good news! There is a trait in this package.
- Do you like extending abstract classes? Also for you good news! You just has to extend the abstract class!
- Are a fan of explicit contract (interfaces) to dictate the concrete class? Also this type of developer is served!