Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/brenoroosevelt/psr-nullcontainer
- Owner: brenoroosevelt
- License: mit
- Created: 2022-02-17T15:17:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-12T14:57:29.000Z (over 1 year ago)
- Last Synced: 2024-11-22T01:59:48.348Z (about 1 month ago)
- Topics: null-object-pattern, php, psr-11, psr-11-compliant
- Language: PHP
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.