Answer the question
In order to leave comments, you need to log in
How are libraries deployed via composer with css js files (resources)?
Added composer to the project, installed the library. The library code assumes that some of the files will be available via http. Vendor, of course, is above the http root. How to do it right? I have not figured out how to ask Google a question.
Tell me, pzhlst, what kind of questions to google such questions?
What is the right thing to do in such a situation?
I understand that you don’t need to copy files) I know that you can fasten symlinks, register a proxy in the server (apache), you can think of something else, but I want to learn established practices.
Answer the question
In order to leave comments, you need to log in
It all depends on the framework. There are tools that make working with assets convenient - in short: they load data or numerals on them into a public folder.
Inside the framework (any) this is usually done easily.
Symfony Assets
A selection of similar tools
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question