slim / psr7
Strict PSR-7 implementation
Installs: 7 648 800
Dependents: 344
Suggesters: 4
Security: 1
Stars: 121
Watchers: 12
Forks: 44
Open Issues: 8
Requires
- php: ^7.4 || ^8.0
- fig/http-message-util: ^1.1.5
- psr/http-factory: ^1.0
- psr/http-message: ^1.0
- ralouphie/getallheaders: ^3.0
- symfony/polyfill-php80: ^1.26
Requires (Dev)
- ext-json: *
- adriansuter/php-autoload-override: ^1.3
- http-interop/http-factory-tests: ^0.9.0
- php-http/psr7-integration-tests: 1.1
- phpspec/prophecy: ^1.15
- phpspec/prophecy-phpunit: ^2.0
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.7
Provides
- dev-master
- 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/phpspec/prophecy-tw-1.19
- dev-dependabot/composer/symfony/polyfill-php80-tw-1.29
- dev-dependabot/composer/squizlabs/php_codesniffer-tw-3.9
- dev-dependabot/composer/phpspec/prophecy-phpunit-tw-2.2
- dev-dependabot/composer/http-interop/http-factory-tests-tw-1.1.0
This package is auto-updated.
Last update: 2024-03-03 21:28:45 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.