Download the PHP package mpyw/php-hyper-builtin-server without Composer
On this page you can find all versions of the php package mpyw/php-hyper-builtin-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mpyw/php-hyper-builtin-server
More information about mpyw/php-hyper-builtin-server
Files in mpyw/php-hyper-builtin-server
Package php-hyper-builtin-server
Short Description Reverse proxy for PHP built-in server which supports multiprocessing and TLS/SSL encryption
License MIT
Informations about the package php-hyper-builtin-server
PHP Hyper Built-in Server
Reverse proxy for PHP built-in server which supports multiprocessing and TLS/SSL encryption.
Installing
Global install
If not yet, you must add ~/.composer/vendor/bin
to $PATH
.
Append the following statement to ~/.bashrc
, ~/.zshrc
or what not.
Local install only for development environment
Use vendor/bin/hyper-run
as the execution path.
Usage
Quick start
2 servers will start with the directory src/app/www
as the document root:
http://localhost:8000
https://localhost:44300
Servers start with first unoccupied port within range depending on a scheme.
Scheme | Default | Range |
---|---|---|
HTTP |
8000 | 8000-8099 |
HTTPS |
44300 | 44300-44399 |
Customize ports
2 servers will start with the directory src/app/www
as the document root:
http://localhost:8080
https://localhost:4000
Command Reference
Note for Windows users
Unfortunately, cmd.exe
has no option to run via shebang #!/usr/bin/env php
, so you need to create the following batch file in the proper directory.
For Standalone PHP
For XAMPP
License
PHP Hyper Built-in Server
is open-sourced software licensed under the @mpyw.
All versions of php-hyper-builtin-server with dependencies
lib-openssl Version *
react/child-process Version ^0.4.1
react/promise Version ^2.4