Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3320b46

Browse filesBrowse files
committed
[Cookbook] Add warning about Composer dev deps on Heroku
1 parent d43b845 commit 3320b46
Copy full SHA for 3320b46

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎cookbook/deployment/heroku.rst

Copy file name to clipboardExpand all lines: cookbook/deployment/heroku.rst
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ variables, you can issue a single command to prepare your app for a deployment:
141141
142142
$ heroku config:set SYMFONY_ENV=prod
143143
144+
.. caution::
145+
146+
Be aware that dependencies from ``composer.json`` listed in the ``require-dev``
147+
section are never installed during a deploy on Heroku. This may cause problems
148+
if your Symfony environment relies on such packages. The solution is to move these
149+
packages from ``require-dev`` to the ``require`` section.
150+
144151
.. _heroku-push-code:
145152
.. _pushing-to-heroku:
146153

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.