Domain Rating by Ahrefs78
Description
Slim is a micro framework for PHP that helps developers write web applications and APIs quickly. Its HTTP router maps route callbacks to request methods and URIs, and it supports parameters and pattern matching. Middleware lets you build your application in layers around the request and response objects. Slim supports any PSR-7 HTTP message implementation, so you can inspect and change the method, status, URI, headers, cookies and body of a message. It also supports dependency injection, so you control how your code is wired. To start, you run the Composer create-project command with the slim-skeleton base, then start PHP's built-in web server on the public folder for local development. The framework and its Slim-Skeleton starter are open source on GitHub. The site links to a user guide, a blog, a Slack community and a Discourse forum, and it publishes security advisories with its release news.…
Highlights
- HTTP router with parameters and pattern matching
- Middleware around requests and responses
- PSR-7 support for any compatible implementation
- Dependency injection for your application code
- Install with Composer in one command
Ratings & Reviews
No ratings yet
Be the first to rate Slim Framework.
People also visit
SlimSocial-for-Facebook
Light version of Facebook. Light both in the weight and in the use
Slim Framework FAQ
What is Slim?
A PHP micro framework for building web applications and APIs, with a router, middleware and PSR-7 support.
How do I start a project?
Run composer create-project slim/slim-skeleton with the name of your app, then start PHP's built-in server with php -S localhost:8080 -t public inside the project folder.
What does it include?
An HTTP router with parameters and pattern matching, middleware, PSR-7 support and dependency injection.
Is it open source?
Yes. The framework and the Slim-Skeleton starter are on GitHub, and the site links a Slack community and a Discourse forum.
What are the best Slim Framework alternatives?
Popular alternatives to Slim Framework include Grip, SlimSocial-for-Facebook and Koa.js. See all Slim Framework alternatives








