spiral/sapi-bridge

Spiral Framework SAPI bridge

1.0.1 2022-09-13 14:49 UTC

This package is auto-updated.

Last update: 2024-03-30 10:07:30 UTC


README

PHP Version Require Latest Stable Version phpunit psalm Codecov Total Downloads type-coverage psalm-level

Framework Bundle

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

MIT License (MIT). Please see LICENSE for more information. Maintained by Spiral Scout.