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

(Github JSON Dependencies Linker) composer.json support #89

Closed
rugk opened this issue Dec 6, 2015 · 4 comments
Closed

(Github JSON Dependencies Linker) composer.json support #89

rugk opened this issue Dec 6, 2015 · 4 comments

Comments

@rugk
Copy link

rugk commented Dec 6, 2015

See https://getcomposer.org/, https://packagist.org/ and Wikipedia.

@rugk rugk changed the title (Github JSON Dependencies Linker) Would be nice to have composer.json support (Github JSON Dependencies Linker) composer.json support Dec 6, 2015
@jerone
Copy link
Owner

jerone commented Dec 6, 2015

Can you reply a link to a composer.json example file on GitHub...

@rugk
Copy link
Author

rugk commented Dec 6, 2015

@jerone
Copy link
Owner

jerone commented Dec 6, 2015

I'm new to this composer...

  • Is the file always called composer.json?
  • What first-level key does this userscript has to look for? I couldn't find any of the supported keys.
  • Which domain has to be used for linking?

@rugk
Copy link
Author

rugk commented Dec 6, 2015

Generally I'd recommend having a look here: https://getcomposer.org/doc/04-schema.md
More details about the format you can also find here: https://packagist.org/

About your questions:

Is the file always called composer.json?

Yes.

What first-level key does this userscript has to look for? I couldn't find any of the supported keys.

I think you should look for require and other "package links".

Which domain has to be used for linking?

AFAIK always packagist.org. E.g. you can find threema-msgapi-sdk-php here.
Just note that no one requires you to publish your package to packagist.org. But honestly I don't know whether you can also publish it on other sites, but I don't think so.

BTW Composer is also on GitHub: https://github.com/composer

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

Successfully merging a pull request may close this issue.

2 participants