Skip to content

smplphp/http

SMPL

HTTP

A simple, modern PHP 8 library for representing HTTP requests and responses.

Packagist Version Packagist PHP Version Support GitHub Psalm Level

Main:

codecov CircleCI Mutation testing badge

Develop:

codecov CircleCI Mutation testing badge

Install

Install via composer.

composer require smplphp/http

Usage

TBW

Testing

The full test suite of PHPUnit, Infection, PHPStan and Psalm can be run using the following command.

make test

PHPUnit

To run PHPUnit alone, you can run the following.

make phpunit

Or if you want code-coverage

make phpunit-coverage

Infection

To run Infection alone, you can run the following.

make infection

Or if you want a report

make infection-report

PHPStan

To run PHPStan alone, you can run the following.

make phpstan

Psalm

To run Psalm alone, you can run the following.

make psalm

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

About

A simple, modern PHP 8 library for representing HTTP requests and responses.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published