Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. Learn more at these links:
This repository contains documentation for the legacy 2.x branch.
Via Composer
$ composer require slim/slim:~2.0
Requires PHP 5.3.0 or newer.
$app = new \Slim\Slim();
$app->get('/hello/:name', function ($name) {
echo "Hello, " . $name;
});
$app->run();
phpunit
Please see CONTRIBUTING for details.
If you discover any security related issues, please email security@slimframework.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.