This package is abandoned and no longer maintained. No replacement package was suggested.

Public website of the CollegeFB project

v1.0.3 2014-11-28 12:03 UTC

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();