PHPackages                             wormhit/slim-api - 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. wormhit/slim-api

ActiveLibrary[Framework](/categories/framework)

wormhit/slim-api
================

PHP API framework based on slim and pimple

v1.0.1(12y ago)1557Apache-2.0PHPPHP &gt;=5.3

Since Mar 16Pushed 11y ago3 watchersCompare

[ Source](https://github.com/andrejsstepanovs/slim-api)[ Packagist](https://packagist.org/packages/wormhit/slim-api)[ Docs](https://github.com/wormhit/slimApi)[ RSS](/packages/wormhit-slim-api/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

SlimApi
=======

[](#slimapi)

API framework based on [slim](http://www.slimframework.com) and [pimple](http://pimple.sensiolabs.org)

[![Build Status](https://camo.githubusercontent.com/bdcbb7737ab3757efdd593c6b3d1544304cb6f92db6eee29351ea10710573dbc/68747470733a2f2f7472617669732d63692e6f72672f616e6472656a7373746570616e6f76732f736c696d2d6170692e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/andrejsstepanovs/slim-api) [![Scrutinizer Quality Score](https://camo.githubusercontent.com/6f34cd485765a46e0c51196be637b82ddc61ff4ce0428930bfcf96a9c8eb3ced/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616e6472656a7373746570616e6f76732f736c696d2d6170692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/andrejsstepanovs/slim-api/) [![Coverage Status](https://camo.githubusercontent.com/14fccca2b4e173803a67ea46ac68ad26531fb5649e1836b2643165858ae53e77/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f776f726d6869742f736c696d2d6170692f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/wormhit/slim-api?branch=master) [![Latest Stable Version](https://camo.githubusercontent.com/5cb6c131e877aa74cc317b466970670d34422dcec894ac489e52178c6c808ef0/68747470733a2f2f706f7365722e707567782e6f72672f776f726d6869742f736c696d2d6170692f762f737461626c652e706e67)](https://packagist.org/packages/wormhit/slim-api) [![License](https://camo.githubusercontent.com/f131157f1eaa3111f7f3c782b9141a158635571b27bc2a58e1d079fd2d63bfd1/68747470733a2f2f706f7365722e707567782e6f72672f776f726d6869742f736c696d2d6170692f6c6963656e73652e706e67)](https://packagist.org/packages/wormhit/slim-api)

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

[](#installation)

Create composer.json file

```
{
    "require": {
        "wormhit/slim-api": "dev-master"
    },
    "autoload": {
        "psr-4": {"Api\\": "src/"}
    }
}
```

Download [composer](http://getcomposer.org) and run php composer.phar install

Execution
---------

[](#execution)

Application can be quickly started by using [php built in web server](http://php.net/manual/en/features.commandline.webserver.php).

### Index

[](#index)

Before starting server edit your index.php file

```
