collegefb / web
Public website of the CollegeFB project
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/collegefb/web
Requires
- collegefb/collegefb: ~1.2
- dogancelik/slim-json: ~0.2
- lusitanian/oauth: ~0.3
- slim/slim: ~2.4
- slim/views: ~0.1
- slimcontroller/slimcontroller: ~0.4
- twig/twig: ~1.16
This package is not auto-updated.
Last update: 2021-10-11 12:00:13 UTC
README
Application using Slim framework and Slimcontroller package to build the website that uses the CollegeFB logic.
To get it working you need to create a public file and set inside the following code
require 'vendor/autoload.php';
$options = array(
'database' => 'my_database',
'twitter' => array(
'key' => 'twitter_key',
'secret' => 'twitter_secret',
'auth_users' => array(),
),
'xauth_token' => 'xauth_token',
'admin_templates_path' => 'templates/admin',
'web_templates_path' => 'templates/web',
);
$bootstrap = new \CollegeFBWeb\BootstrapApp();
$container = $bootstrap->getContainer($options);
$bootstrap->getApp('web', $container)->run();