Closed piotr-grzelka closed 10 years ago
Isn't composer used for PHP dependencies only ?
Seems weird to use it for front-end librairies as Bower is specially designed for that purpose I saw that like NPM, Composer allows to add post install scripts, can be used to trigger Bower update
Would apreciate an article explaining it's a good practice.
Also wouldn't I have to publish and maintain the plugin on another repository ?
Yes, composer is usually used for php projects, but some javascript libraries used compser. e. g. https://github.com/twitter/typeahead.js and https://github.com/2amigos/yii2-type-ahead-widget which incurs js file.
I want to create a small integration QueryBuilder with Yii2. The only thing I need is a file composer.json in QueryBuilder.
Sorry for my poor English.
can you add the three dependencies and create a pull request ?
Depending added and pull request created
Awesome.... Packagist refuse packages with uppercase letters I won't rename it just for that
okaaay it's just the internal name in json file so updated and pushed https://packagist.org/packages/mistic100/jquery-querybuilder
Can you add a file with the following content named composer.json for your project?