arnapou / psr-link
Library - PSR-13.
v1.1.0
2024-11-25 00:01 UTC
Requires
- php: ~8.2.0 || ~8.3.0 || ~8.4.0
- psr/link: ^1.1 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.52
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^2.0
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/php-code-coverage: ^11.0
- phpunit/phpunit: ^11.0
Provides
README
KISS (Keep It Simple Stupid) PSR (PHP Standards Recommendations) classes.
Installation
composer require arnapou/psr-link
packagist 👉️ arnapou/psr-link
When it is worth to use this library
- you need simple decorators, proxies, adapters, ... about PSR's
- you need simple implementations covering the basics
Example PSR-13 Link
To be honest, I don't know small projects where it makes a difference using this PSR.
Basic objects
$link = new \Arnapou\Psr\Psr13Link\Link('https://arnapou.net/');
$link = new \Arnapou\Psr\Psr13Link\EvolvableLink('https://arnapou.net/');
Php versions
Date | Ref | 8.4 | 8.3 | 8.2 |
---|---|---|---|---|
24/11/2024 | 1.1.x, main | × | × | × |
09/09/2024 | 1.0.x | × | × |