Skip to main content

How To Add Public Git Repo As A Composer Package

By April 29, 2017Blog, Composer, Workflow
Allure Web Solutions Code Snippet

If you want to add your own git repo as a composer package you can use the code snippet below. The attributes you will need to replace with your own:

  "repositories": [
      "package": {
        "name": "package-name",
        "type": "wordpress-plugin",
        "source": {
          "type": "git",
          "url": "",
  "require": {
    "package-name": "dev-master"



Author allure

More posts by allure

Leave a Reply

Designed by

best down free | web phu nu so | toc dep 2017