PHPackages                             m4dem4n/rest-framework - 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. m4dem4n/rest-framework

ActiveLibrary

m4dem4n/rest-framework
======================

A PHP RESTful API Framework

1.5.x-dev(7y ago)08MITPHPPHP &gt;=5.6

Since Feb 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/M4deM4n/RESTFramework)[ Packagist](https://packagist.org/packages/m4dem4n/rest-framework)[ RSS](/packages/m4dem4n-rest-framework/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

RESTFramework
=============

[](#restframework)

This is a simple REST framework I wrote for myself in PHP.

### Get Started

[](#get-started)

The "files" listed below demonstrate the bare minimum needed for this framework to function. I may provide a more complex demo in the future to demonstrate advanced functionality such as authentication.

**.htaccess**

```

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)$ index.php?request=$1 [QSA,NC,L]

```

**index.php**

```
