spiral-packages / simple-php-server
This is my package simple-php-server
Requires
- php: ^8.1
- spiral/boot: ^3.0
- spiral/console: ^3.0
- symfony/http-foundation: ^6.0
- symfony/process: ^6.0
Requires (Dev)
- vimeo/psalm: ^4.9
This package is auto-updated.
Last update: 2024-10-16 16:11:04 UTC
README
The package helps running applications on the PHP development server. As a developer, you can use the package to develop and test various functions within the application. It also accepts two additional options. You can use the host for changing application’s address and port.
Requirements
Make sure that your server is configured with following PHP version and extensions:
- PHP 8.0+
- Spiral framework 2.9+
Installation
You can install the package via composer:
composer require spiral-packages/simple-php-server
After package install you need to register bootloader from the package.
protected const LOAD = [ // ... \Spiral\SimpleServer\Bootloader\SimpleServerBootloader::class, ];
Note: if you are using
spiral-packages/discoverer
, you don't need to register bootloader by yourself.
Starting a server
php app.php serve
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.