Answer the question
In order to leave comments, you need to log in
How can I automatically host a package on https://packagist.org?
How can I automatically register a package on https://packagist.org/ ?
I would like to create a repository on github with one command, upload data there, register the package and immediately install it via composer
Answer the question
In order to leave comments, you need to log in
You can create a repository on Github using the API, documentation .
There is no method in the Packagist API documentation for publishing a repository, you have to manually login and publish. It is possible to automate via Selenium WebDriver, but is it worth it?
Composer allows you to add packages from Github bypassing Packagist - example .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question