https://github.com/phphleb/psr-adapter
HLEB2 framework adapter for PSR support
https://github.com/phphleb/psr-adapter
Last synced: 4 months ago
JSON representation
HLEB2 framework adapter for PSR support
- Host: GitHub
- URL: https://github.com/phphleb/psr-adapter
- Owner: phphleb
- License: mit
- Created: 2024-01-29T13:54:30.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-06T01:21:50.000Z (over 1 year ago)
- Last Synced: 2025-10-24T19:45:14.665Z (8 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Adapter for using PSR in the HLEB2 framework
Framework [repository](https://github.com/phphleb/hleb/)
[](https://github.com/phphleb/hleb)  [-brightgreen.svg)](https://github.com/phphleb/hleb/blob/master/LICENSE)
Install using Composer:
```bash
composer require phphleb/psr-adapter
```
--------------------------
```php
use Hleb\Static\Converter;
$psrContainer = Converter::toPsr11Container();
$psrCache = Converter::toPsr16SimpleCache();
$psrLog = Converter::toPsr3Logger();
```