Create composer.json#353
Create composer.json#353EvilFreelancer wants to merge 3 commits into1000hz:masterfrom EvilFreelancer:master
Conversation
|
Composer? Because Composer is a "dependency Manager for PHP", there is better methods to install, update and manage your static resources, like Bower (a package manager for the web). And it's available via: bower install bootstrap-validator --save |
|
@nelson6e65 yep, you are right. but not everyone uses only bower, some people like composer and some projects may depend on css/js. On debian or centos if you want to install bower first you need to install the npm package, npm is a part of nodejs project, and all this are not needed on pure php/perl servers (also some hosting dont have a bower and npm), because any extra software on the production server is a potential vulnerability. P.S. The "Twitter Bootstrap" project is available via bower and composer distribution systems https://github.com/twbs/bootstrap |
|
Oh... I never installed static resources with composer... You can customize where to put the Edit: I figured out: Runing |
|
The bad on this is that, using composer, does not installs @PavelRykov Maybe if you include those dependencies directly in your Edit: Oh! Check this: https://github.com/components/bootstrap |
|
@nelson6e65 I added depending the Bootstrap and (just in case) JQuery, copied keywords from bower.json and post-install path now "assets" dir. Hope this updates should help 😄 |
Hi to all!
I would like to add this project into Packagist repository.