widget-o/widget-o-php

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

Installs: 153

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/widget-o/widget-o-php

0.30 2016-04-11 17:21 UTC

This package is not auto-updated.

Last update: 2025-11-04 08:47:23 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