Download the PHP package horizom/dev-server without Composer
On this page you can find all versions of the php package horizom/dev-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download horizom/dev-server
More information about horizom/dev-server
Files in horizom/dev-server
Package dev-server
Short Description Reverse proxy for PHP built-in server which supports multiprocessing and TLS/SSL encryption
License MIT
Informations about the package dev-server
Horizom Dev 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/horizom-serve
as the execution path.
Usage
Quick start
2 servers will start with the directory public
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 public
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
MIT license
All versions of dev-server with dependencies
lib-openssl Version *
react/child-process Version ^0.4.1
react/promise Version ^2.4