widget-o / widget-o-php
Installs: 153
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/widget-o/widget-o-php
Requires
- aws/aws-sdk-php: ~2.6
- dibi/dibi: ^3.0.4
- robmorgan/phinx: ^0.5.1
- slim/slim: ~2.0
- sunra/php-simple-html-dom-parser: v1.5.0
Requires (Dev)
- phpunit/phpunit: 5.3.*
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