Development Tools

Slim – PHP micro framework

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

At its core, Slim is a dispatcher that receives an HTTP request, invokes an appropriate callback routine, and returns an HTTP response. That’s it.

A Slim app contains routes that respond to specific HTTP requests. Each route invokes a callback and returns an HTTP response. To get started, you first instantiate and configure the Slim application. Next, you define your application routes. Finally, you run the Slim application.

This is free and open source software.

Key Features

  • HTTP Router – provides a fast and powerful router that maps route callbacks to specific HTTP request methods and URIs. It supports parameters and pattern matching.
  • Middleware – build your application with concentric middleware to tweak the HTTP request and response objects around your Slim app.
  • PSR-7 support – supports any PSR-7 HTTP message implementation so you may inspect and manipulate HTTP message method, status, URI, headers, cookies, and body.
  • Dependency injection – supports dependency injection so you have complete control of your external tools. Use any PSR-11 ContainerInterface implementation.

Website: www.slimframework.com
Support: GitHub Code Repository
Developer: Josh Lockhart
License: MIT License

Slim is written in PHP. Learn PHP with our recommended free books and free tutorials.


Related Software

Best PHP Micro Frameworks
SlimQuickly write simple yet powerful web applications and APIs
SymfonySet of reusable PHP components
FlightFast, simple, extensible framework for PHP
Fat-FreePowerful yet easy-to-use PHP micro-framework
LeafSlim and lightweight PHP framework
OpenSwooleProgrammatic platform building modernized systems
Framework XSimple and fast PHP microframework
mezzioBuild PSR-15 middleware applications
Chubbyphp FrameworkFocused on PSR-15 middleware applications

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted