Top 1,000 Features Creators Events Podcasts Extensions Interviews Blog Explorer CSV

Slim Framework

< >

Slim Framework is a framework created in 2013.

#599on PLDB 11Years Old
Download source code:
git clone
HomepageSource CodeDocs

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

Example from the web:
<?php use Psr\Http\Message\ResponseInterface as Response; use Psr\Http\Message\ServerRequestInterface as Request; use Slim\Factory\AppFactory; require __DIR__ . '/../vendor/autoload.php'; $app = AppFactory::create(); $app->get('/hello/{name}', function (Request $request, Response $response, array $args) { $name = $args['name']; $response->getBody()->write("Hello, $name"); return $response; }); $app->run();

View source

- Build the next great programming language About Resources Acknowledgements Part of the World Wide Scroll