Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/brenoroosevelt/psr-nullcontainer

Null Object Pattern for PSR-11 Container
https://github.com/brenoroosevelt/psr-nullcontainer

null-object-pattern php psr-11 psr-11-compliant

Last synced: about 1 month ago
JSON representation

Null Object Pattern for PSR-11 Container

Awesome Lists containing this project

README

        

# Null Container

[![CI Build](https://github.com/brenoroosevelt/psr-nullcontainer/actions/workflows/ci.yml/badge.svg)](https://github.com/brenoroosevelt/psr-nullcontainer/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/brenoroosevelt/psr-nullcontainer/branch/main/graph/badge.svg?token=S1QBA18IBX)](https://codecov.io/gh/brenoroosevelt/psr-nullcontainer)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.md)

Null Object Pattern for PSR-11 Container

## Requirements

The following versions of PHP are supported: `7.4`, `8.0`, `8.1`.

## Install

```bash
$ composer require brenoroosevelt/psr-nullcontainer
```

## Usage
```php
$container = new \BrenoRoosevelt\Psr11\NullContainer();
```

## License

This project is licensed under the terms of the MIT license. See the [LICENSE](LICENSE.md) file for license rights and limitations.