Download the PHP package riverside/php-express without Composer
On this page you can find all versions of the php package riverside/php-express. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download riverside/php-express
More information about riverside/php-express
Files in riverside/php-express
Download riverside/php-express
More information about riverside/php-express
Files in riverside/php-express
Vendor riverside
Package php-express
Short Description PHP micro-framework inspired by Express.js
License MIT
Homepage https://github.com/riverside/php-express
Package php-express
Short Description PHP micro-framework inspired by Express.js
License MIT
Homepage https://github.com/riverside/php-express
Please rate this library. Is it a good library?
Informations about the package php-express
php-express
PHP micro-framework inspired by Express.js
Build | GitHub pages | Stable | License |
---|---|---|---|
Requirements
- PHP >= 7.1
- PHP extensions:
- JSON (
ext-json
)
- JSON (
Installation
If Composer is not installed on your system yet, you may go ahead and install it using this command line:
Next, add the following require entry to the composer.json
file in the root of your project.
Finally, use Composer to install php-express and its dependencies:
Routing
Route methods
Route paths
Response methods
Method | Description |
---|---|
$res->end() | End the response process. |
$res->json() | Send a JSON response. |
$res->redirect() | Redirect a request. |
$res->render() | Render a view template. |
$res->send() | Send a response of various types. |
$res->sendStatus() | Set the response status code and send its string representation as the response body. |
$app->route()
Router
Middleware
All versions of php-express with dependencies
PHP Build Version
Package Version
Requires
ext-json Version
*
php Version >=7.1
php Version >=7.1
The package riverside/php-express contains the following files
Loading the files please wait ....