knot-demo/framework-demo

A simple application of kNot Framework.

0.1.8 2019-12-19 12:17 UTC

This package is auto-updated.

Last update: 2021-11-19 16:59:32 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Code Climate Total Downloads

Description

A simple application of kNot Framework.

Demo

#bin/server.sh
#wget -qO- http://localhost:8000/
Hello, World!
#bin/server.sh
#wget -qO- http://localhost:8000/demo/log
[2018-09-24 16:04:28] DEBUG: Event received: eventstream.attached args: Calgamo\Framework\Adapter\Stk2kEventStreamAdapter<br>
[2018-09-24 16:04:28] DEBUG: Event received: response.attached args: Calgamo\Module\Adapter\PsrResponseAdapter<br>
[2018-09-24 16:04:28] DEBUG: Event received: pipeline.attached args: Calgamo\Middleware\Pipeline\Pipeline<br>
[2018-09-24 16:04:28] DEBUG: Event received: logger.attached args: Calgamo\Module\Adapter\PsrLoggerAdapter<br>
[2018-09-24 16:04:28] DEBUG: Event received: request.attached args: Calgamo\Module\Adapter\PsrRequestAdapter<br>

Usage

Requirement

PHP 7.1 or later

Installing knot-demo/framework-demo

The recommended way to install knot-demo/framework-demo is through Composer.

composer create-project knot-demo/framework-demo --no-dev

License

MIT

Author

stk2k

Disclaimer

This software is no warranty.

We are not responsible for any results caused by the use of this software.

Please use the responsibility of the your self.