Article Series

This is a four-parts article. There are few sections here.

Summary
  • Preface
  • Prepare
  • What's Next
Part One: NodeJS
  • Node Module
  • Bower
  • Grunt
  • Gulp
  • eyeglass
  • sw.js (webpack)
  • What's Next
Part Two: Ruby
  • Gemfile
  • SASS
  • Jekyll (Static Site Generator)
  • Sache (SASS extensions and Tools)
  • What's Next
Part Three: PHP
  • Composer
  • Conclusion
Where to Discuss?

Local Group

Composer

Give me a moment. It has been a long time since my last PHP project, in 2011 using Symfony Framework 2.

Setup PHP environment

Now I’m using openSUSE. Other distribution should have similar method. You should install PHP7, PHP7 OpenSSL, and PHP7 PHAR.

% sudo zypper in php7 php7-openssl php7-phar

openSUSE Zypper: Install PHP7

Download

I decided to download the composer.phar from the official site

Composer Inside Bootstrap.

Consider go back to bootstrap-less directory.

You may notice this composer.json in root directory.

{
  "name": "twbs/bootstrap",
  "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
  ...
}

Now you can run composer.

% php composer.phar install

Composer: install inside bootstrap

or

% php composer.phar update

Composer: update inside bootstrap

Do not worry if this does nothing. We need this composer.json information, if we want to install bootstrap from outside.

Composer Outside Bootstrap.

You can install bootstrap using Composer, using a ready to use twbs/bootstrap.

% php composer.phar require twbs/bootstrap

Composer: require twbs/bootstrap


Conclusion

That's all for now.
I hope that, this material useful.

Thank you for reading.