{
    "name": "Pterodactyl Panel",
    "description": "The free, open-source game management panel. Supporting Minecraft, Spigot, BungeeCord, and SRCDS servers.",
    "license": "MIT",
    "authors": [
        {
            "name": "Dane Everitt",
            "email": "dane@daneeveritt.com",
            "homepage": "https://github.com/DaneEveritt",
            "role": "Lead Developer"
        },
        {
            "name": "Dylan Seidt",
            "email": "dylan.seidt@gmail.com",
            "role": "Developer"
        }
    ],
    "require": {
        "php": ">=5.5.9",
        "laravel/framework": "5.2.*",
        "barryvdh/laravel-debugbar": "^2.0",
        "dingo/api": "1.0.*@dev",
        "doctrine/dbal": "^2.5",
        "guzzlehttp/guzzle": "^6.1",
        "pragmarx/google2fa": "^0.7.1",
        "webpatser/laravel-uuid": "^2.0",
        "prologue/alerts": "^0.4.0",
        "s1lentium/iptools": "^1.0",
        "edvinaskrucas/settings": "^2.0",
        "igaster/laravel-theme": "^1.1",
        "nesbot/carbon": "^1.21"
    },
    "require-dev": {
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "0.9.*",
        "phpunit/phpunit": "~4.0",
        "phpspec/phpspec": "~2.1",
        "symfony/css-selector": "~3.0",
        "symfony/dom-crawler": "~3.0",
        "laravel/homestead": "^3.0"
    },
    "autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "Pterodactyl\\": "app/"
        }
    },
    "autoload-dev": {
        "classmap": [
            "tests/TestCase.php"
        ]
    },
    "scripts": {
        "post-root-package-install": [
            "php -r \"copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ],
        "post-install-cmd": [
            "php artisan clear-compiled",
            "php artisan optimize"
        ],
        "pre-update-cmd": [
            "php artisan clear-compiled"
        ],
        "post-update-cmd": [
            "php artisan optimize"
        ],
        "setup-dev": [
            "composer install",
            "php -r \"copy('.env.example', '.env');\"",
            "php vendor/bin/homestead make --ip=192.168.10.32",
            "sed -i.bak 's/homestead.app/pterodactyl.local/g' Homestead.yaml",
            "rm Homestead.yaml.bak",
            "php artisan key:generate",
            "php artisan pterodactyl:env",
            "php artisan migrate",
            "php artisan pterodactyl:user"
        ],
        "setup": [
            "composer install --ansi --no-dev",
            "php -r \"copy('.env.example', '.env');\"",
            "php artisan key:generate",
            "php artisan pterodactyl:env",
            "php artisan migrate",
            "php artisan pterodactyl:user"
        ]
    },
    "config": {
        "preferred-install": "dist"
    }
}
