kirsantov / keyzen
A PHP light weight MVC framework
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kirsantov/keyzen
Requires
- jms/serializer: @stable
- php-activerecord/php-activerecord: v1.1.2
Suggests
- symfony/routing: To use the SymfonyRouteFactory.
- symfony/yaml: To use yaml based configuration.
This package is not auto-updated.
Last update: 2025-10-07 12:37:48 UTC
README
PHP Lite Framework
Начало работы
The most basic example is including the routing module and defining a few endpoints and providing a callback function that executes when someone requests that page.
KeyZ\App::init('config/config.php');
KeyZ\App::run();
function home() {
echo 'You are at the home page';
}
function contactUs() {
echo 'Send us an email at <a href="mailto:foo@bar.com">foo@bar.com</a>';
}