Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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": [
"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
You can’t perform that action at this time.