@
@
@Twitt2017-07-02 18:38:35
PHP
@Twitt, 2017-07-02 18:38:35

How can I make my project downloadable via composer?

I did one project, now I need to pass it on to a friend. If I upload it to github in the standard way, then a lot of files, the vendor folder, entry points, settings are eliminated. How can I make it so that he can download my project through the composer and run it quietly on his locale?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Victor, 2017-07-02
_

Register on packagist.org, submit a link to your repository there (which should have composer.json with the package name), a friend makes composer require vasyan/super-package.

V
Vlad Nevlad, 2017-07-03
@vladnevlad

I don't think you need a composer at all. but you need to understand what it is for and how to use git correctly.

A
Anatoly Medvedev, 2017-07-02
@balamyt92

https://packagist.org/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question