2017 © Pedro Peláez
 

library framework

A nice PHP microframework

image

nice/framework

A nice PHP microframework

  • Wednesday, August 19, 2015
  • by tyler-sommer
  • Repository
  • 6 Watchers
  • 30 Stars
  • 2,097 Installations
  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 33 Versions
  • 13 % Grown

The README.md

Nice PHP microframework

Build Status Coverage Code Climate Latest Release, (*1)

Nice is a simple microframework for PHP 5.6 and later. Nice integrates nikic's FastRoute router with the Symfony2 HttpKernel and Dependency Injection components., (*2)

Nice comes with built-in session management, simple authentication, and logging utilizing Monolog. Twig, along with Doctrine DBAL and ORM integration is also available., (*3)

<?php

use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Nice\Application;
use Nice\Router\RouteCollector;

require __DIR__ . '/../vendor/autoload.php';

$app = new Application();
$app->set('routes', function (RouteCollector $r) {
    $r->map('/', 'home', function (Request $request) {
        return new Response('Hello, world');
    });
});
$app->run();

Documentation

View the online documentation, or the check out the markdown documentation source code., (*4)

The Versions

28/02 2014
25/02 2014
24/02 2014

0.3.0

0.3.0.0

A nice PHP microframework

  Sources   Download

MIT

The Requires

 

The Development Requires

22/02 2014

0.2.3

0.2.3.0

A nice PHP microframework

  Sources   Download

MIT

The Requires

 

The Development Requires

22/02 2014

0.2.2

0.2.2.0

A nice PHP microframework

  Sources   Download

MIT

The Requires

 

The Development Requires

22/02 2014

0.2.1

0.2.1.0

A nice PHP microframework

  Sources   Download

MIT

The Requires

 

The Development Requires

22/02 2014

0.2.0

0.2.0.0

A nice PHP microframework

  Sources   Download

MIT

The Requires

 

The Development Requires