Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. Slim require PHP 5.3.0 or newer.

<?php
 $app = new SlimSlim();
 $app->get('/hello/:name', function ($name) {
    echo "Hello, $name";
});
$app->run();

The main features of Slim :

  • Powerful router
    • Standard and custom HTTP methods
    • Route parameters with wildcards and conditions
    • Route redirect, halt, and pass
    • Route middleware
  • Template rendering with custom views
  • Flash messages
  • Secure cookies with AES-256 encryption
  • HTTP caching
  • Logging with custom log writers
  • Error handling and debugging
  • Middleware and hook architecture
  • Simple configuration

More information and download at http://www.slimframework.com/