PHPackages                             afief/slim - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. afief/slim

ActiveLibrary[Framework](/categories/framework)

afief/slim
==========

This is a form repo of slim framework from slim/slim with some update like middleware arguments, return object response into a json string, etc. Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs

3.4.3(9y ago)065MITPHPPHP &gt;=5.5.0

Since Apr 14Pushed 9y agoCompare

[ Source](https://github.com/afief/Slim)[ Packagist](https://packagist.org/packages/afief/slim)[ Docs](https://github.com/afief/Slim)[ RSS](/packages/afief-slim/feed)WikiDiscussions 3.x Synced today

READMEChangelog (1)Dependencies (6)Versions (43)Used By (0)

Slim Framework
==============

[](#slim-framework)

[![Build Status](https://camo.githubusercontent.com/5be4b215cbd4be147469e34657d4fa5b48a8399976335a82f13e579aad11ec06/68747470733a2f2f7472617669732d63692e6f72672f736c696d7068702f536c696d2e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/slimphp/Slim)[![Coverage Status](https://camo.githubusercontent.com/e80ba599eaa4a1c08efb615a60c381fef17dd03d3a7cef62bd002e7cfd8cd646/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f736c696d7068702f536c696d2f62616467652e737667)](https://coveralls.io/r/slimphp/Slim)[![Total Downloads](https://camo.githubusercontent.com/98d2992f515424b8457d95383125687be0b490ca6cc8e0ae288688b78d457222/68747470733a2f2f706f7365722e707567782e6f72672f736c696d2f736c696d2f646f776e6c6f616473)](https://packagist.org/packages/slim/slim)[![License](https://camo.githubusercontent.com/0667d4e34e0e8724f9b8fd245e59605f39c803cad537b8042ac9dfca46714880/68747470733a2f2f706f7365722e707567782e6f72672f736c696d2f736c696d2f6c6963656e7365)](https://packagist.org/packages/slim/slim)

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

Installation
------------

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org/) to install Slim.

```
$ composer require slim/slim "^3.0"
```

This will install Slim and all required dependencies. Slim requires PHP 5.5.0 or newer.

Usage
-----

[](#usage)

Create an index.php file with the following contents:

```
