widget-o/widget-o-php

There is no license information available for the latest version (0.30) of this package.

0.30 2016-04-11 17:21 UTC

README

Installation

Add dependency to composer.json:

"widget-o/widget-o-php": "dev-master"

After installing dependencies in the project prepare index.php like:

<?php
require 'Widgeto/Widgeto.php';
$widgeto = new \Widgeto\Widgeto();
$widgeto->run();

Create a database configuration file under config/database.json

{
    "driver": "mysql",
    "host": "localhost",
    "username": "username",
    "password": "*******",
    "database": "database"
}

Run database creation script located in the sql folder. Default user is admin and password is widgeto.

Testing

Run phpunit:

phpunit