A Themosis component that handles routing and allows headers to be sent
This is a Themosis
component that handles routing by acting as a kernel and allows headers to be sent., (*1)
wp-kit/kernel
is fully compatible with the Themosis
framework., (*2)
If you are using Themosis
you'll notice it does not send any headers back to client which it is impossible to use some Middleware
that relies send headers to the client such as illuminate/session
. wp-kit/kernel
solves this issue by allowing headers to be sent back., (*3)
Install via Composer
in the root of your Themosis
installation:, (*4)
composer require "wp-kit/config"
Just register the service provider and facade in the providers config and theme config:, (*5)
//inside theme/resources/config/providers.config.php return [ // WPKit\Kernel\KernelServiceProvider::class, // ];
Themosis ~1.2, (*6)
wp-kit/kernel is open-sourced software licensed under the MIT License., (*7)