spiral/sapi-bridge

Spiral Framework SAPI bridge

1.0.0 2022-06-15 10:39 UTC

This package is auto-updated.

Last update: 2022-06-16 15:52:09 UTC


README

PHP Latest Version on Packagist GitHub Tests Action Status Total Downloads

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.