Skip to content

Instantly share code, notes, and snippets.

@gausam
Created February 17, 2016 04:37
Show Gist options
  • Save gausam/a22a97f3bdfc99a2c3b8 to your computer and use it in GitHub Desktop.
Save gausam/a22a97f3bdfc99a2c3b8 to your computer and use it in GitHub Desktop.
How to load local packages on your computer with Composer
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"repositories": [
{
"type":"vcs",
"url":"../pay4app/paymentsreminder"
}
],
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.*",
"rmccue/requests": ">=1.0",
"pay4app/paymentsreminder": "dev-master"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"phpspec/phpspec": "~2.1"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-update-cmd": [
"php artisan optimize"
],
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment