Skip to content

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