S
S
Snewer2017-04-23 20:57:41
PHP
Snewer, 2017-04-23 20:57:41

How to develop a composer package?

Hello!
There is a project and a part of the functionality in which you want to put a package in the composer to use it in other projects. Creating a package / putting it on packagist.org was basically not difficult. But I had to create a separate project in the IDE, and each time upload a new version to git, and take it for testing into the project by updating dependencies.
What are the best prectices?
As an option, I see deploying git in the vendor folder itself. Will there be problems?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Semenko, 2017-04-23
@Snewer

https://getcomposer.org/doc/05-repositories.md#path

L
Lubaev, 2017-04-27
@Lubaev

https://packagist.org/about

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question