Templarian / MaterialDesign-SVG

@mdi/svg Dist for Material Design Icons.
https://materialdesignicons.com
Other
256 stars 63 forks source link

Add composer.json #8

Open quentin-st opened 6 years ago

quentin-st commented 6 years ago

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 commented 5 years ago

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

Milad commented 3 years ago

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

tip2tail commented 11 months ago

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 ?