Download the PHP package raihel/controller without Composer
On this page you can find all versions of the php package raihel/controller. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download raihel/controller
More information about raihel/controller
Files in raihel/controller
Download raihel/controller
More information about raihel/controller
Files in raihel/controller
Vendor raihel
Package controller
Short Description Create your routes using attributes in your controllers
License MIT
Package controller
Short Description Create your routes using attributes in your controllers
License MIT
Please rate this library. Is it a good library?
Informations about the package controller
Raihel Controller
Create your routes using attributes in your controllers
Installation
Setting
Use Controller Factory to map your routes
diretory
: An array with the directories of your controllerscontrollers
: An array with your controller classesloadRoute
: The class that will do the work of including the routes mapped in your controllers in your application accepts any class that implementsRaihel\Controller\Core\Load\Type\LoudRoute
Slim:
Lumen:
Usage/Examples
Controller
Create your controller by adding the attribute Controller in your class it can receive a prefix that groups your routes
Routes
The attribute Get before the home method creates a GET /home endponit for application |
Attributes |
---|---|
Get | |
Post | |
Put | |
Delete | |
Patch |
Authors
License
The Raihel Controller is open-sourced software licensed under the MIT license.
All versions of controller with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1.0
psr/log Version ^1.0|^2.0|^3.0
jerowork/file-class-reflector Version ^0.1.0
psr/log Version ^1.0|^2.0|^3.0
jerowork/file-class-reflector Version ^0.1.0
The package raihel/controller contains the following files
Loading the files please wait ....