slick/webstack

PSR-15 HTTP middleware stack that can help you create web applications or web services for HTTP protocol.

v2.0.0 2024-09-10 23:42 UTC

README

Latest Version Software License Build Status Quality Score Total Downloads

The slick/webstack library provides a PSR-15 HTTP middleware stack designed for building web applications or services that use the HTTP protocol. It includes a router, security features, and a dispatcher that generates PSR-7 compliant responses to incoming HTTP requests, typically routed through a web server.

One of the key strengths of this library is its flexibility. You can easily modify the HTTP middleware stack by adding or removing middleware components to suit your specific needs, making it an adaptable solution for various HTTP handling scenarios.

This package is compliant with PSR-2 code standards and PSR-4 autoload standards. It also applies the semantic version 2.0.0 specification.

Install

Via Composer

$ composer require slick/webstack

Usage

For a complete manual using this library, please refer to Slick Documentation Web Site.

Testing

We use PHPUnit for unit testing

# unit tests
$ vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email slick.framework@gmail.com instead of using the issue tracker.

Credits

License

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