8000 Document the way to support projects deploying without the composer.json · Issue #8298 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Document the way to support projects deploying without the composer.json #8298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stof opened this issue Aug 23, 2017 · 0 comments
Closed

Document the way to support projects deploying without the composer.json #8298

stof opened this issue Aug 23, 2017 · 0 comments
Labels
actionable Clear and specific issues ready for anyone to take them. hasPR A Pull Request has already been submitted for this issue.
Milestone

Comments

@stof
Copy link
Member
stof commented Aug 23, 2017

See symfony/symfony#23950

In Symfony 3.3+, the kernel relies on detecting the composer.json file to detect the project dir.
If you delete the composer.json file from your deployed artifact, this logic will break. The solution in this case is to overwrite getProjectDir in your kernel (similar to the way customizing the cache dir is done btw).
this should be documented.

@javiereguiluz javiereguiluz added actionable Clear and specific issues ready for anyone to take them. hasPR A Pull Request has already been submitted for this issue. labels Sep 6, 2017
@javiereguiluz javiereguiluz added this to the 3.3 milestone Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable Clear and specific issues ready for anyone to take them. hasPR A Pull Request has already been submitted for this issue.
Projects
None yet
Development

No branches or pull requests

2 participants
0