devop-core / http
Http Message Service
1.1.4
2019-05-15 11:13 UTC
Requires
- php: >=7.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.0
Requires (Dev)
- phpunit/phpunit: ^6
Provides
README
Description
This library is just proof of concept. We do NOT recommended the use of production environment.
Provide Message & Factory implementation
Install
Package is available on Packagist, you can install it using Composer.
composer require devop-core/http
Usage
<?php use DevOp\Core\Http\ServerRequestFactory; require_once './vendor/autoload.php'; $reqest = (new ServerRequestFactory())->createServerRequestFromArray($_SERVER); var_dump($reqest);
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.