https://github.com/solution10/managed-instance
Simple trait that allows your class to manage instances of itself.
https://github.com/solution10/managed-instance
Last synced: 28 days ago
JSON representation
Simple trait that allows your class to manage instances of itself.
- Host: GitHub
- URL: https://github.com/solution10/managed-instance
- Owner: solution10
- License: mit
- Created: 2014-11-07T20:09:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-07T21:09:48.000Z (over 11 years ago)
- Last Synced: 2026-04-01T11:36:34.910Z (3 months ago)
- Language: PHP
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Solution10\Managed-Instance
Allows classes to manage instances of themselves either as singletons or "lazy DI" containers.
[](https://travis-ci.org/Solution10/managed-instance)
[](https://coveralls.io/r/Solution10/managed-instance)
[](https://packagist.org/packages/solution10/managed-instance)
[](https://packagist.org/packages/solution10/managed-instance)
[](https://packagist.org/packages/solution10/managed-instance)
## Installation
Installation is via composer, in the usual manner:
```json
{
"require": {
"solution10/managed-instance": "~1.0"
}
}
```
## Documentation
### Userguide
[Check out the Wiki](https://github.com/solution10/managed-instance/wiki)
(or the /docs folder in the repo)
### API Docs
From a checkout of this project, run:
$ make
This will create an api/ folder for you to peruse.
## PHP Requirements
- PHP >= 5.4
## Author
Alex Gisby: [GitHub](http://github.com/alexgisby), [Twitter](http://twitter.com/alexgisby)
## License
[MIT](http://github.com/solution10/managed-instance/tree/master/LICENSE.md)
## Contributing
[Contributors Notes](http://github.com/solution10/managed-instance/tree/master/CONTRIBUTING.md)