Skip to content

sebastian-misiewicz/widget-o-php

Repository files navigation

PHP Server for widget-o

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published