composer.json 1.53 KB
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
1 2 3 4 5 6 7
{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "require": {
8
        "php": ">=5.6.4",
Dominik Hebeler's avatar
Dominik Hebeler committed
9
        "laravel/framework": "5.4.*",
10
        "laravel/tinker": "~1.0",
11
        "predis/predis": "^1.1",
12 13 14 15
        "mcamara/laravel-localization": "1.2.*",
        "jenssegers/agent": "2.6.*",
        "fideloper/proxy": "^3.3",
        "guzzlehttp/guzzle": "6.*"
Dominik Hebeler's avatar
Dominik Hebeler committed
16 17 18 19
    },
    "require-dev": {
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "0.9.*",
Dominik Hebeler's avatar
Dominik Hebeler committed
20
        "phpunit/phpunit": "~5.7",
21 22
        "symfony/css-selector": "3.1.*",
        "symfony/dom-crawler": "3.1.*"
Dominik Hebeler's avatar
Dominik Hebeler committed
23 24 25 26 27 28 29 30 31 32
    },
    "autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
33 34 35
        "psr-4": {
            "Tests\\": "tests/"
        }
Dominik Hebeler's avatar
Dominik Hebeler committed
36 37 38
    },
    "scripts": {
        "post-root-package-install": [
39
            "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
Dominik Hebeler's avatar
Dominik Hebeler committed
40 41 42 43 44 45 46 47 48 49 50 51 52 53
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ],
        "post-install-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postInstall",
            "php artisan optimize"
        ],
        "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
            "php artisan optimize"
        ]
    },
    "config": {
54 55 56
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true
Dominik Hebeler's avatar
Dominik Hebeler committed
57
    }
58
}