回答編集履歴

1

追記された質問に対する回答を追記。

2018/10/25 11:46

投稿

mrkmyki
mrkmyki

スコア325

test CHANGED
@@ -17,3 +17,21 @@
17
17
  また、composer.jsonをリポジトリに含める必要がありそうです。
18
18
 
19
19
  [https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-php](https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-php)
20
+
21
+
22
+
23
+ ーーーーーーーーーーー
24
+
25
+ 追記です。
26
+
27
+
28
+
29
+ > remote: ! A PHP app on Heroku requires a 'composer.json' at the root of
30
+
31
+ > remote: ! the directory structure, or an 'index.php' for legacy behavior.
32
+
33
+
34
+
35
+ とエラーが出ているので、`index.php`か`composer.json`のいずれかが無いとダメなはずです。
36
+
37
+ これらのファイルはありますか?