slim / psr7
Strict PSR-7 implementation
Installs: 10 771 991
Dependents: 378
Suggesters: 7
Security: 1
Stars: 133
Watchers: 13
Forks: 45
Open Issues: 7
Requires
- php: ^8.0
- fig/http-message-util: ^1.1.5
- psr/http-factory: ^1.1
- psr/http-message: ^1.0 || ^2.0
- ralouphie/getallheaders: ^3.0
- symfony/polyfill-php80: ^1.29
Requires (Dev)
- ext-json: *
- adriansuter/php-autoload-override: ^1.4
- http-interop/http-factory-tests: ^1.1.0
- php-http/psr7-integration-tests: 1.3.0
- phpspec/prophecy: ^1.19
- phpspec/prophecy-phpunit: ^2.2
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: ^3.10
Provides
- psr/http-factory-implementation: ^1.0
- psr/http-message-implementation: ^1.0 || ^2.0
- dev-master
- 1.7.0
- 1.6.x-dev
- 1.6.1
- 1.6
- 1.5.x-dev
- 1.5.1
- 1.5
- 1.4.x-dev
- 1.4.1
- 1.4
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.6
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-dependabot/composer/phpstan/phpstan-tw-2.0
- dev-dependabot/composer/phpspec/prophecy-tw-1.20
- dev-dependabot/composer/phpspec/prophecy-phpunit-tw-2.3
- dev-dependabot/composer/adriansuter/php-autoload-override-tw-1.5
- dev-dependabot/composer/squizlabs/php_codesniffer-tw-3.11
- dev-dependabot/composer/phpstan/phpstan-tw-1.12
This package is auto-updated.
Last update: 2024-12-01 23:10:32 UTC
README
Strict PSR-7 implementation used by the Slim Framework, but you may use it separately with any framework compatible with the PSR-7 standard.
Installation
It's recommended that you use Composer to install this library.
$ composer require slim/psr7
This will install the slim/psr7
component and all required dependencies.
PHP 8.0 or newer is required.
Tests
To execute the test suite, you'll need to clone the repository and install the dependencies.
$ git clone https://github.com/slimphp/Slim-Psr7
$ composer install
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover security related issues, please email security@slimframework.com instead of using the issue tracker.
Credits
License
This component is licensed under the MIT license. See License File for more information.