Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jascha030/service-provider
Copy of container-interop/service-providers for usage in personal projects.
https://github.com/jascha030/service-provider
di php psr-11 service-provider
Last synced: about 1 month ago
JSON representation
Copy of container-interop/service-providers for usage in personal projects.
- Host: GitHub
- URL: https://github.com/jascha030/service-provider
- Owner: jascha030
- Created: 2023-01-15T19:53:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-05T22:12:40.000Z (almost 2 years ago)
- Last Synced: 2024-12-09T09:17:26.496Z (about 1 month ago)
- Topics: di, php, psr-11, service-provider
- Language: PHP
- Homepage:
- Size: 4.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Service Provider
Copy of [container-interop/service-providers](https://github.com/container-interop/service-provider), which seems unmaintained, but states that is still a work in progress.
Because of this, I made a copy with some slight edits, to use in personal projects.## Installation
```sh
composer require jascha030/service-provider
```## The interface
The interface is pretty self explainitory, read the README.md of [container-interop/service-providers](https://github.com/container-interop/service-provider) for more info.
```php
*/
public function getFactories(): iterable;/**
* @return iterable
*/
public function getExtensions(): iterable;
}
```