spiral / sapi-bridge
Spiral Framework SAPI bridge
Installs: 8 527
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 1
Requires
- php: ^8.1
- nyholm/psr7-server: ^1.0
- psr/http-factory-implementation: ^1.0
- spiral/boot: ^3.0
- spiral/core: ^3.0
- spiral/exceptions: ^3.0
- spiral/http: ^3.0
Requires (Dev)
- phpunit/phpunit: ^9.5.20
- spiral/nyholm-bridge: ^1.2
- spiral/router: ^3.0
- spiral/testing: ^2.0
- vimeo/psalm: ^4.23
This package is auto-updated.
Last update: 2024-03-30 10:07:30 UTC
README
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.