Download the PHP package blat/phencil without Composer
On this page you can find all versions of the php package blat/phencil. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor blat
Package phencil
Short Description Home-made PHP framework
License MIT
Homepage https://github.com/blat/phencil
Package phencil
Short Description Home-made PHP framework
License MIT
Homepage https://github.com/blat/phencil
Keywords framework
Please rate this library. Is it a good library?
Informations about the package phencil
phencil
Home-made PHP framework based on:
Quick start
First, install using Composer:
Then, create an index.php
file with the following contents:
Finaly, test using the built-in PHP server:
Templates
Update index.php
to define your templates folder:
Add a new endpoint calling render
method with the template name and some variables:
Create the template file templates/hello.php
:
Access to request data
Use getParam
method to access to GET
and POST
parameter:
Use getFile
method to access to FILES
. Result is an UploadedFile
:
Advanced response
Redirect to another URL:
Serve a static file:
All versions of phencil with dependencies
PHP Build Version
Package Version
Requires
illuminate/database Version
^6.15
league/plates Version ^3.3
nikic/fast-route Version ^1.3
symfony/http-foundation Version ^5.0
league/plates Version ^3.3
nikic/fast-route Version ^1.3
symfony/http-foundation Version ^5.0
The package blat/phencil contains the following files
Loading the files please wait ....