composer.json
{
"name": "byjg/singleton-pattern",
"description": "A lightweight PHP implementation of the Design Pattern Singleton using trait.",
"autoload": {
"psr-4": {
"ByJG\\DesignPattern\\": "src/"
}
},
"require": {
"php": ">=7.4"
},
"require-dev": {
"phpunit/phpunit": "5.7.*|7.4.*|^9.5"
},
"license": "MIT"
}