ra / silex-rest-api
Silex基于的REST API,可用于从任意系统中检索数据,以供renzel.agentur Admin、搜索和SEO工具使用
1.0.0
2016-06-27 10:23 UTC
Requires
- doctrine/dbal: ~2.5
- silex/silex: ~1.2
This package is not auto-updated.
Last update: 2024-09-14 19:20:05 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