Download the PHP package lozitskiys/verse without Composer
On this page you can find all versions of the php package lozitskiys/verse. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lozitskiys/verse
More information about lozitskiys/verse
Files in lozitskiys/verse
Download lozitskiys/verse
More information about lozitskiys/verse
Files in lozitskiys/verse
Vendor lozitskiys
Package verse
Short Description Decorator based nano PHP framework
License Apache-2.0
Package verse
Short Description Decorator based nano PHP framework
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package verse
Introduction
Example of index.php:
Verse uses Action Domain Responder pattern. Example of simple action:
Routing
Routes are stored in yaml file, for example:
Each line which starts from "/" is a separate route. Default HTTP method is GET. You can define route like this:
or like that:
You can use tokens to retrieve variables from URI:
or even
Use tokens in action:
TBA
All versions of verse with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
ext-json Version *
symfony/yaml Version ^4.2
psr/container Version ^1.0
ext-pdo Version *
ext-openssl Version *
ext-json Version *
symfony/yaml Version ^4.2
psr/container Version ^1.0
ext-pdo Version *
ext-openssl Version *
The package lozitskiys/verse contains the following files
Loading the files please wait ....