D
D
Damir Shaniyazov2022-02-09 19:31:37
PHP
Damir Shaniyazov, 2022-02-09 19:31:37

How to update laravel?

Good evening! Need to upgrade laravel 5.* project to 8.*. But there are some nuances, the project does not have such files as env, artisan, composer. I added these files, more or less configured, the composer update command was successfully completed. There's just a problem. composer installed vendor in the root of the project when the old version is stored in a completely different folder. it seems like you can set a different path in composer, but in the old version, the sources are adapted to the project structure. That is, the class illuminate\foundation\application has the namespace lib\library\illuminate\foundation\application. can this be fixed somehow?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kokhan, 2022-02-09
@SkazochNick

Easier to manually rewrite everything

D
Dmitry Gordinskiy, 2022-02-09
@DmitriyGordinskiy

How to generate laravel composer.json from a vendo...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question