Spiral Framework SAPI bridge
Requirements
Make sure that your server is configured with following PHP version and extensions:
- PHP 8.1+
- Spiral framework 3.0+
Installation
You can install the package via composer:
composer require spiral/sapi-bridge
After package install you need to register bootloader from the package.
protected const LOAD = [
// ...
\Spiral\Sapi\Bootloader\SapiBootloader::class,
];
Note: if you are using
spiral-packages/discoverer
, you don't need to register bootloader by yourself.
Testing
composer test
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.