wp-kit / kernel
A Themosis component that handles routing by acting as a kernel and allows headers to be sent
Installs: 7 449
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
This package is not auto-updated.
Last update: 2024-12-22 04:11:56 UTC
README
This is a Themosis
component that handles routing by acting as a kernel and allows headers to be sent.
wp-kit/kernel
is fully compatible with the Themosis
framework.
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.
Installation
Install via Composer
in the root of your Themosis
installation:
composer require "wp-kit/config"
Setup
Add Service Provider
Just register the service provider and facade in the providers config and theme config:
//inside theme/resources/config/providers.config.php return [ // WPKit\Kernel\KernelServiceProvider::class, // ];
Requirements
Themosis ~1.2
License
wp-kit/kernel is open-sourced software licensed under the MIT License.