Install dev packages into production, is this correct? #1564

Closed
opened 2026-02-05 01:16:50 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @joveice on GitHub (Mar 2, 2020).

Describe the feature you'd like
Installation documentation mentions installing using composer install. Shouldn't this be composer install --no-dev?

Describe the benefits this feature would bring to BookStack users
Does not install development packages into "production"

Originally created by @joveice on GitHub (Mar 2, 2020). **Describe the feature you'd like** Installation documentation mentions installing using `composer install`. Shouldn't this be `composer install --no-dev`? **Describe the benefits this feature would bring to BookStack users** Does not install development packages into "production"
OVERLORD added the 🔧 Maintenance📖 Docs Update:octocat: Admin/Meta labels 2026-02-05 01:16:50 +03:00
Author
Owner

@homotechsual commented on GitHub (Mar 2, 2020):

Just confirming that this works and results in a working production instance.

@homotechsual commented on GitHub (Mar 2, 2020): Just confirming that this works and results in a working production instance.
Author
Owner

@ssddanbrown commented on GitHub (Mar 2, 2020):

Yeah, probably worth doing. I ideally want to avoid composer being required at all for production setups so never looked to optimised it, but that's likely still a way off so have marked this to be updated before next release.

@ssddanbrown commented on GitHub (Mar 2, 2020): Yeah, probably worth doing. I ideally want to avoid composer being required at all for production setups so never looked to optimised it, but that's likely still a way off so have marked this to be updated before next release.
Author
Owner

@Reflic commented on GitHub (Mar 5, 2020):

Thumbs up for this one. I am doing this in two production environments and it did not have any negative impact so far.

@Reflic commented on GitHub (Mar 5, 2020): Thumbs up for this one. I am doing this in two production environments and it did not have any negative impact so far.
Author
Owner

@joveice commented on GitHub (Mar 5, 2020):

Just fired up my own and it seems to work without issues when not installing dev packages.
Note there might be some packages in the non dev that could be moved to dev.

@joveice commented on GitHub (Mar 5, 2020): Just fired up my own and it seems to work without issues when not installing dev packages. Note there might be some packages in the non dev that could be moved to dev.
Author
Owner

@ssddanbrown commented on GitHub (Mar 6, 2020):

Thanks for confirming everyone.

I've now updated the docs and install scripts to use --no-dev mode. Will therefore close this.

@ssddanbrown commented on GitHub (Mar 6, 2020): Thanks for confirming everyone. I've now updated the docs and install scripts to use `--no-dev` mode. Will therefore close this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1564