Download the PHP package bhittani/web-server without Composer
On this page you can find all versions of the php package bhittani/web-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bhittani/web-server
More information about bhittani/web-server
Files in bhittani/web-server
Package web-server
Short Description Run a web server programmatically.
License MIT
Homepage https://github.com/kamalkhan/web-server
Informations about the package web-server
Web Server
Run and/or control a web server programmatically.
- Install
- Usage
- PHP Web Server
- Public path
- Host
- Port
- URL
- API
- Start a web server
- Stop a web server
- Check the running state of a web server
- Get the path to the server
- Get the URL of the server
- Changelog
- Testing
- Contributing
- Security
- Credits
- License
Install
You may install this package using composer.
Usage
By default, this package offers a php web server that uses the built-in development server.
PHP Web Server
This uses the built-in development server.
Public path
The default path is set to the directory of the server file.
Host
The default host is set to
localhost
.
Port
The default port is set to
9001
.
URL
The default url is set to
http://<host>:<port>
.
API
The following API will be available for any web server adhering to the contract/interface.
Start a web server
Stop a web server
Check the running state of a web server
Get the path to the server
Get the URL of the server
Changelog
Please see CHANGELOG for more information on what has changed.
Testing
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected]
instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see the License File for more information.