Skip to content

Instantly share code, notes, and snippets.

@pacuna
Created December 19, 2013 06:45
Show Gist options
  • Save pacuna/8035308 to your computer and use it in GitHub Desktop.
Save pacuna/8035308 to your computer and use it in GitHub Desktop.
composer.json file for running Laravel 4 on dokku
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"laravel/framework": "4.1.*",
"way/generators": "dev-master",
"cartalyst/sentry": "2.0.*",
"jasonlewis/basset": "dev-master",
"fzaninotto/faker": "dev-master"
},
"extra": {
"heroku": {
"framework": "silex",
"document-root": "public",
"index-document": "index.php"
}
},
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/models",
"app/database/migrations",
"app/database/seeds",
"app/tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan optimize",
"chmod -R 777 app/storage"
],
"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