Download the PHP package hexmakina/kadro without Composer
On this page you can find all versions of the php package hexmakina/kadro. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package kadro
kadro
PHP MVC framework for building web applications
install
composer require hexmakina/kadro
then run vendor/hexmakina/kadro/install.php
to initialise the application with base tables and data
for instance:
php vendor/hexmakina/kadro/install.php -db DATABASE_NAME -u DATABASE_USER -p DATABASE_PASSWORD
or, if the password contains a blank space
php vendor/hexmakina/kadro/install.php -db DATABASE_NAME -u DATABASE_USER -p "DATABASE_PASSWORD"
it creates a default root user "root" with password "root"
1. Auth
Operator
Permission
ACL
2. Models
PSR-3 Logger
PSR-4 Autoloader
3. Views
4. Controllers
Base
Displays
Kadro
ORM
Reception
Router
Chainlings & Traitor
Container (PSR-11 )
Errors
Base
- Routing
- Container & Invoker
-
Logger & Errors
- Hopper
- LeMarchand
- Traitor
- LogLaddy
handles errors, routing, logging & container
Execution & Return
to properly execute a controller method, f.i. public function doSomething()
, a call is to be made: $controller->execute('doSomething')
, allowing for hooks to be executed as well.
The return value of doSomething()
will be returned, if no errors occured during the Hooks and Traitor part.
Hooks
when running $controller->execute('doSomething')
, the following hooks will be called:
there is no need to implement any of the calls as Base will check for their existence first regarding prepare() and conclude(), Base has a default implementation returning true
Traitor
Base uses the Traitor trait, and calls the controller's trait-compatible methods before the controller's own methods.
Given a controller using Trait1 and Trait2, the method call list will be the following:
5. Routing
kadro requires a 'home' route:
- GET ''
kadro reserves the following routes
All versions of kadro with dependencies
smarty/smarty Version 3.1.34
hexmakina/crudites Version 0.0.*
hexmakina/lezer Version 0.0.*
hexmakina/local-fs Version 0.0.*
hexmakina/log-laddy Version 0.0.*
hexmakina/tempus Version 0.0.*
hexmakina/tight-orm Version 0.0.*
hexmakina/debugger Version 0.1.*
hexmakina/hopper Version 0.1.*
hexmakina/le-marchand Version 0.1.*
hexmakina/marker Version 0.1.*
hexmakina/traitor Version 0.1.*
hexmakina/tracer Version 0.1.*
hexmakina/black-box Version 0.0.*
hexmakina/state-agent Version 0.1.*