N
N
Nick Bukovskiy2018-01-06 04:25:02
Composer
Nick Bukovskiy, 2018-01-06 04:25:02

I need to add my custom namespaces, but the vendor folder is not added to the git, what should I do?

I use slim. I add my custom namespaces to the autoload_psr4.php file, but if I want to transfer my project to someone and the person does a composer install, my namespaces will not be there.
How to be? What is the way out?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Nesmeyanov, 2018-01-06
@sonterix

The first rule is not to touch the vendor folder at all. The second rule is to read the documentation https://getcomposer.org/doc/01-basic-usage.md#auto...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question