tyurderi / slim-mvc
This package is abandoned and no longer maintained.
No replacement package was suggested.
1.1.6
2016-08-12 12:44 UTC
Requires
- lichtner/fluentpdo: ^1.0
- slim/slim: ^3.3
- tedivm/stash: ^0.14.1
- twig/twig: ^1.24
- tyurderi/orm: ^1.0
This package is not auto-updated.
Last update: 2018-07-25 20:09:21 UTC
README
Slim MVC is a simple and lightweight mvc pattern based on Slim-PHP
Installation
$ composer require tyurderi/slim-mvc "^1.1.4"
Usage
The basic usage is the same as the original.
<?php require 'vendor/autoload.php'; $app = new Slim\Mvc\App(); $app->get('/hello/{name}', function ($request, $response, $args) { $response->write("Hello, " . $args['name']); return $response; }); $app->run();
See example/index.php
and example2/index.php
for more documentation.
A full documentation is following soon.
License
MIT