MWDelaney / bootstrap-3-shortcodes

WordPress shortcodes for easier use of Bootstrap elements in your content.
https://wordpress.org/plugins/bootstrap-3-shortcodes/
MIT License
377 stars 118 forks source link

Installing via. Composer #129

Closed danken00 closed 8 years ago

danken00 commented 8 years ago

Hey, I must be doing something wrong here; I can't figure out how to install this via. Composer. What would be the command (or how would I edit my composer.json file) to get this to install?

I've tried the usual:

composer require filipstefansson/bootstrap-3-shortcodes
composer require filipstefansson/bootstrap-3-shortcodes:3.3.6

But Composer says the package is not available :(

t-richards commented 8 years ago

@danken00

I'd recommend using the WordPress Packagist Composer Repository. Once you add the repo to your composer.json:

"repositories": [
    {
        "type":"composer",
        "url":"http://wpackagist.org"
    }
],

...locate your desired plugin: http://wpackagist.org/search?q=bootstrap-3-shortcodes and then require it:

$ composer require wpackagist-plugin/bootstrap-3-shortcodes

Alternatively, you could manually add this one specific plugin as a "VCS repository": https://getcomposer.org/doc/05-repositories.md#vcs

MWDelaney commented 8 years ago

wpackagist is the best way to include this plugin via composer. Closing this issue.