Created
May 22, 2017 13:36
-
-
Save calebporzio/75809fce577749efb5e04990122ec026 to your computer and use it in GitHub Desktop.
A modified Laravel composer.json for including a local "laravel/framework" repostory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "laravel/laravel", | |
"description": "The Laravel Framework.", | |
"keywords": ["framework", "laravel"], | |
"license": "MIT", | |
"type": "project", | |
"require": { | |
"php": ">=5.6.4", | |
"laravel/framework": "5.4.x-dev", | |
"laravel/tinker": "~1.0" | |
}, | |
"require-dev": { | |
"fzaninotto/faker": "~1.4", | |
"mockery/mockery": "0.9.*", | |
"phpunit/phpunit": "~5.7" | |
}, | |
"autoload": { | |
"classmap": [ | |
"database" | |
], | |
"psr-4": { | |
"App\\": "app/" | |
} | |
}, | |
"autoload-dev": { | |
"psr-4": { | |
"Tests\\": "tests/" | |
} | |
}, | |
"scripts": { | |
"post-root-package-install": [ | |
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"" | |
], | |
"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": { | |
"preferred-install": "dist", | |
"sort-packages": true, | |
"optimize-autoloader": true | |
}, | |
"repositories": [ | |
{ | |
"type": "path", | |
"url": "../laravel-framework" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment