Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add composer repository #41

Open
timiwahalahti opened this issue Jun 14, 2016 · 2 comments
Open

Add composer repository #41

timiwahalahti opened this issue Jun 14, 2016 · 2 comments

Comments

@timiwahalahti
Copy link

Hi,

Since this plugin isn't in w.org plugin repository, it can't be used with composer and wpackagist.org mirror. Composer repo would be awesome, and it's simple to made with packagist.

@timiwahalahti
Copy link
Author

Yeah, so. The repo contains composer.json but this repository is not in packagist so it does not work. You should submit this repo into packagist in favor of making it work.

@rasmustaarnby
Copy link

@timiwahalahti just stumbled upon this. If you add the following to your repositories in your composer file:

{
  "type": "vcs",
  "url": "https://github.com/mustardBees/cmb_field_map.git"
}

Then in the require section you add:

"mustardbees/cmb_field_map": "2.1.2",

Then you don't need it to be on wpackagist.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants