An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Solution10\Managed-Instance

Allows classes to manage instances of themselves either as singletons or "lazy DI" containers.

[![Build Status](https://travis-ci.org/Solution10/managed-instance.svg?branch=master)](https://travis-ci.org/Solution10/managed-instance)
[![Coverage Status](https://coveralls.io/repos/Solution10/managed-instance/badge.png)](https://coveralls.io/r/Solution10/managed-instance)

[![Latest Stable Version](https://poser.pugx.org/solution10/managed-instance/v/stable.svg)](https://packagist.org/packages/solution10/managed-instance)
[![Total Downloads](https://poser.pugx.org/solution10/managed-instance/downloads.svg)](https://packagist.org/packages/solution10/managed-instance)
[![License](https://poser.pugx.org/solution10/managed-instance/license.svg)](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)