Download the PHP package alvinios/miel without Composer
On this page you can find all versions of the php package alvinios/miel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alvinios/miel
More information about alvinios/miel
Files in alvinios/miel
Informations about the package miel
About The Project
Miel is an object-oriented PHP web development micro-framework (MIEL stands for Micro + Elegant, it also means "honey" in French). It' intend is to be designed based on elegant objects principles of Yegor Bugayenko. It means :
- No mutable classes
- No
nulls - No type-checking or reflexion
- No
publicstaticmethods orconstants - No configuration files
- No DI container
It was inspired by the framework Takes For being operational it requires PSR-7 and PSR-17 implementations/libraries of your choice. For example Guzzle PSR-7
Getting Started
Quick Start
Create this index.php file:
Cd to your index.php folder and run php local server
A Bigger Example
Generators
Routes can be composed as variadic argument of Routes or with Generators using Append wrapper.
Middleware Support
You can shield a route/routes behind PSR-15 Middleware(s). This is how it can be done:
Multiple Middlewares
Shields can be nested.
Single Middleware
Note
Today the project is in a conceptual state and has not been tested in production environment.
License
Distributed under the MIT License. See LICENSE.txt for more information.
(back to top)
All versions of miel with dependencies
php-extended/php-http-message-psr7 Version ^5.0
psr/http-server-handler Version ^1.0
twig/twig Version ^3.0
nyholm/psr7-server Version ^1.0
psr/http-server-middleware Version ^1.0
psr/log Version ^3
guzzlehttp/psr7 Version ^2.6