Download the PHP package phpbook/http without Composer
On this page you can find all versions of the php package phpbook/http. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor phpbook
Package http
Short Description PHP HTTP Library
License MIT
Homepage https://github.com/phpbook-sources/http
Package http
Short Description PHP HTTP Library
License MIT
Homepage https://github.com/phpbook-sources/http
Please rate this library. Is it a good library?
Informations about the package http
- About Http
- Composer Install
- Examples
- Declare Configurations
- Declare Application Elements
- Declare Application Middleware
- Declare Application Controllers
- Generate Request Proxies
- Start Request Proxies
- Start Application Http
- Http URI Get Path
- Application Apache htaccess File
- Application Nginx File
About Http
- PHPBook Http is a lightweight and fast http PHP library to create apps and apis and provides auto documentation.
- You can export the API schema in a POSTMAN JSON File.
Composer Install
composer require phpbook/http
Examples
Declare Configurations
Declare Application Elements
Declare Application Middleware
Declare Application Controllers
PHPBook Http uses docs notations to declare request resources.
Generate Request Proxies
Start Request Proxies
Start Application Http
Http URI Get Path
You can get server http string url base or string url base with a uri resource
Application Apache htaccess File
This htaccess must be in the same directory where you call \PHPBook\Http\Http::start();
Do not forget to change index.php file name inside Apache htaccess if necessary
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*)$ index.php [NC,L]
</IfModule>
Application Nginx File
Do not forget to change index.php file and directory name inside Nginx configuration file if necessary
Make sure you have Nginx configuration with "index index.php";
location /app/diretory/ {
try_files $uri $uri/ /app/diretory/index.php?$args;
}
All versions of http with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
The package phpbook/http contains the following files
Loading the files please wait ....