ra/silex-rest-api

Silex based REST API, which can be used to retrieve data from arbitrary systems to feed into the renzel.agentur Admin, for search and the SEO tool

1.0.0 2016-06-27 10:23 UTC

This package is not auto-updated.

Last update: 2024-10-26 20:09:33 UTC


README

Installation:

1. Install using composer
2. Create a .php file that is reachable via HTTP
3. Add the following in it

define('CONNECTED_APP', 'Oxid');
define('CONNECTED_APP_ROOT', __DIR__ . '/../');

include 'vendor/autoload.php';

CONNECTED_APP_ROOT is the relative path to the connected app
The autloader of composer must be inlcuded

Also make sure, to include app.php from this package like:

include 'vendor/ra/rest/app.php'

4. Copy either the .htaccess file or the content of it, to a .htaccess file that resides inside the same directory as your rest entry script