slick/webstack

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

v1.5.3 2023-03-07 18:49 UTC

README

Latest Version Software License Build Status Quality Score Total Downloads

slick/webstack is a PSR-15 HTTP middleware stack that can help you create web applications or web services for HTTP protocol.

It offers a router, a dispatcher and view mechanism that returns PSR-7 Responses for HTTP Requests (usually through a web server).

You can change (add or remove) the HTTP stack by adding your own middleware making this library very flexible and suitable for almost any HTTP handling needs.

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

A full documentation site is available to support this package usage.

Testing

We use Behat to describe features and for acceptance tests and PHPSpec for unit testing.

# unit tests
$ vendor/bin/phpspec

# acceptance tests
$ vendor/bin/behat

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.