PHPackages                             apisc/phroper - 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. [API Development](/categories/api)
4. /
5. apisc/phroper

ActiveLibrary[API Development](/categories/api)

apisc/phroper
=============

Phroper api engine

056PHPCI failing

Since Nov 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aPisC/phroper)[ Packagist](https://packagist.org/packages/apisc/phroper)[ RSS](/packages/apisc-phroper/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Phroper
=======

[](#phroper)

Headless CMS engine, written in php, written for you ❤.

Startup configuration
---------------------

[](#startup-configuration)

In order to handle incoming request with Phroper, you have to redirect the request to a php file (for example: index.php). If you are using apache server, write a .htaccess file an enable url rewriteing module.

Example content of .htaccess:

```
RewriteEngine On
RewriteRule ^([^?]*) index.php?__url__=$1 [L,QSA]

    Require all granted

    Require all denied

```

In php file, you must provide the ROOT constant as the root of Phroper server, to handle dynamic imports correctly. Make an instance of Phroper, register the handlers, and call run method.

Example of index.php:

```
