Last active
March 12, 2016 20:06
-
-
Save lgladdy/1e8ed376ed7391271311 to your computer and use it in GitHub Desktop.
An example laravel 5.2 composer.json that supports the Mondo API inside orison's oauth-5-laravel. Note the repositories key, and the "dev-master as 0.3" for lusitanian/oauth. Update, then follow lusitanian/oauth's docs.
This file contains hidden or 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.5.9", | |
"laravel/framework": "5.2.*", | |
"lusitanian/oauth": "dev-master as 0.3", | |
"oriceon/oauth-5-laravel": "dev-master" | |
}, | |
"require-dev": { | |
"fzaninotto/faker": "~1.4", | |
"mockery/mockery": "0.9.*", | |
"phpunit/phpunit": "~4.0", | |
"symfony/css-selector": "2.8.*|3.0.*", | |
"symfony/dom-crawler": "2.8.*|3.0.*" | |
}, | |
"autoload": { | |
"classmap": [ | |
"database" | |
], | |
"psr-4": { | |
"App\\": "app/" | |
} | |
}, | |
"autoload-dev": { | |
"classmap": [ | |
"tests/TestCase.php" | |
] | |
}, | |
"repositories": [ | |
{ | |
"type": "vcs", | |
"url": "git://github.com/lgladdy/PHPoAuthLib" | |
} | |
], | |
"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" | |
] | |
}, | |
"config": { | |
"preferred-install": "dist" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment