Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Slim Framework

< >

Slim Framework is a framework created in 2013.

#549on PLDB 11Years Old
Download source code:
git clone https://github.com/slimphp/Slim
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();

- Build the next great programming language Add Issues About Search Keywords Livestreams Labs Resources Acknowledgements

Built with Scroll v154.3.0