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.json #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

quentin-st
Copy link

This PR adds a composer.json file, allowing us to require this library as a composer (PHP npm) package.

We'll have to publish this on packagist.org before being able to composer require mdi/svg.

There is literally 0 maintenance once the package is published: you can use GitHub hooks to tell packagist when a new version is published.

@Templarian : I don't know if we can use the mdi/ namespace. A composer package published on packagist already uses it, but I don't know if that means that we cannot use it. We can try - if it does not work, we can still use a package name like material-design/svg.

@Templarian
Copy link
Owner

There doesn't seem to be much demand for this. I'm leaning toward just closing this PR.

@Milad
Copy link

Milad commented Nov 18, 2020

Not a good idea. composer is for PHP, please keep it this way, and use npm for front-end dependencies.

@tip2tail
Copy link

tip2tail commented Dec 10, 2023

With projects sich as the new https://github.com/symfony/asset-mapper there will be more of a demand for this - it would be very helpful for my use-case already.

Can this be considered @Templarian ?

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

Successfully merging this pull request may close these issues.

4 participants