Skip to content

Instantly share code, notes, and snippets.

@kennonb
Last active August 29, 2015 14:06
Show Gist options
  • Save kennonb/2c272dd9fca043216638 to your computer and use it in GitHub Desktop.
Save kennonb/2c272dd9fca043216638 to your computer and use it in GitHub Desktop.
Sample composer.json
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"laravel/framework": "4.3.*",
"illuminate/html": "4.3.*@dev",
"lucadegasperi/oauth2-server-laravel": "3.0.*",
"cartalyst/sentinel": "1.0.*",
"bugsnag/bugsnag-laravel" : "1.*",
"guzzlehttp/guzzle": "~4.0",
"league/fractal": "0.8.*",
"codesleeve/asset-pipeline": "dev-master",
"dingo/api": "0.6.*",
"cviebrock/eloquent-sluggable": "2.*",
"barryvdh/laravel-cors": "dev-master"
},
"repositories": [
{
"type": "composer",
"url": "http://packages.cartalyst.com"
},
{
"type": "vcs",
"url": "https://github.com/kennonb/api"
}
],
"require-dev": {
"way/generators": "2.*@dev",
"barryvdh/laravel-ide-helper": "1.*",
"fzaninotto/faker": "1.4.*@dev",
"phpunit/phpunit": "~4.0"
},
"autoload": {
"classmap": [
"app/tests",
"app/database/migrations",
"app/database/seeds"
],
"psr-4": {
"Cfan\\": "app/Cfan"
}
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "dev"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment