推送被拒绝,无法编译PHP(composer.json)应用程序


Push rejected, failed to compile PHP (composer.json) app

我已尝试将此应用程序推送到Heroku:https://github.com/seatgeek/build-artifacts我有以下错误:

在或上/tmp/buildpack20160326-160-1njxwfv/bin/compile中出现脚本错误近线380远程:远程:!推送被拒绝,编译PHP失败(composer.json)应用

composer.json文件:

{
    "name": "slim/slim-skeleton",
    "description": "A Slim Framework skeleton application for rapid development",
    "keywords": ["microframework","rest","router"],
    "homepage": "http://github.com/codeguy/Slim-Skeleton",
    "license": "MIT",
    "authors": [
        {
            "name": "Josh Lockhart",
            "email": "info@joshlockhart.com",
            "homepage": "http://www.joshlockhart.com/"
        }
    ],
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/tuupola/slim-fake-mcrypt.git"
        }
    ],
    "require": {
        "php": ">=5.3.0",
        "monolog/monolog": "~1.6",
        "tuupola/slim-fake-mcrypt": "dev-master",
        "slim/slim": "~2.3",
        "slim/views": "0.*",
        "twig/twig": "~1.13",
        "ruflin/elastica": "v0.90.2.0",
        "knplabs/github-api": "*"
    },
    "extra": {
        "heroku": {
            "framework": "slim",
            "document-root": "public",
            "index-document": "index.php"
        }
    }
}

我没有找到/tmp文件夹。

这里有一些简单的步骤来实现它Heroku部署步骤1:heroku构建包:设置heroku/php

git add composer.json composer.lockgitpush heroku主

为文档根添加Procfilehttps://devcenter.heroku.com/articles/custom-php-settings#setting-文档根