2017 © Pedro PelĂĄez
 

library lumy3

A Slim/Chernozem based framework

image

pyrsmk/lumy3

A Slim/Chernozem based framework

  • Saturday, May 27, 2017
  • by pyrsmk
  • Repository
  • 1 Watchers
  • 1 Stars
  • 137 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Lumy 3.2.0

Lumy is just a wrapper that merges Slim framework and Chernozem container. Please read both documentations to know how to use Lumy., (*1)

Simple example

$app = new Lumy\App();

// Add a service
$app['twig'] = $app->service(function($app) {
    $loader = new Twig_Loader_Filesystem('/path/to/templates');
    $twig = new Twig_Environment($loader, [
        'cache' => '/path/to/compilation_cache',
    ]);
});

// Add a route
$app->get('/', function($request, $response) {
    // Render the template
    $this['twig']->render('index.html', [
      'the' => 'variables',
      'go' => 'here'
    ]);
});

$app->run();

License

MIT., (*2)

The Versions

27/05 2017

dev-master

9999999-dev

A Slim/Chernozem based framework

  Sources   Download

MIT

The Requires

 

framework slim chernozem

27/05 2017

3.2.0

3.2.0.0

A Slim/Chernozem based framework

  Sources   Download

MIT

The Requires

 

framework slim chernozem

04/08 2016

3.1.0

3.1.0.0

A Chernozem wrapper around Slim framework

  Sources   Download

MIT

The Requires

 

framework slim chernozem

02/08 2016

3.0.0

3.0.0.0

A Chernozem wrapper around Slim framework

  Sources   Download

MIT

The Requires

 

framework slim chernozem