Skip to content

Latest commit

 

History

History
80 lines (71 loc) · 2.47 KB

README.md

File metadata and controls

80 lines (71 loc) · 2.47 KB

The VGMdb Framework

An application skeleton based on the [Silex] 1 microframework.

Installation

Create a composer.json file and use [Composer] 2 to install it:

{
    "name": "vgmdb/foobar",
    "type": "project",
    "repositories": [
        {
            "type": "vcs",
            "url": "http://github.com/vgmdb/common"
        },
        {
            "type": "vcs",
            "url": "http://github.com/vgmdb/framework"
        },
        {
            "type": "vcs",
            "url": "http://github.com/gigablah/mustache.php"
        },
        {
            "type": "vcs",
            "url": "http://github.com/gigablah/PHPUnit_Html"
        },
        {
            "type": "vcs",
            "url": "http://github.com/gigablah/mysql-workbench-schema-exporter"
        }
    ],
    "autoload": {
        "psr-0": {
            "": "src/"
        }
    },
    "require": {
        "vgmdb/common": "dev-master",
        "vgmdb/framework": "dev-master"
    },
    "require-dev": {
        "phpunit/phpunit": "3.7.*",
        "gigablah/phpunit-html": "dev-master",
        "nikic/php-parser": "0.9.*",
        "mwbexporter/mwbexporter": "dev-master"
    },
    "scripts": {
        "post-install-cmd": [
            "VGMdb\\Component\\Framework\\Composer\\ScriptHandler::installAppFiles",
            "VGMdb\\Component\\Framework\\Composer\\ScriptHandler::installAssets",
            "VGMdb\\Component\\Framework\\Composer\\ScriptHandler::clearCache"
        ],
        "post-update-cmd": [
            "VGMdb\\Component\\Framework\\Composer\\ScriptHandler::installAppFiles",
            "VGMdb\\Component\\Framework\\Composer\\ScriptHandler::installAssets",
            "VGMdb\\Component\\Framework\\Composer\\ScriptHandler::clearCache"
        ]
    },
    "minimum-stability": "dev",
    "extra": {
        "app-dir": "app",
        "web-dir": "public"
    }
}

Developer Guidelines

Adhere to the [PSR-1] 3 and [PSR-2] 4 coding standards.

License

Licensed under the MIT license.