Showing posts with label Composer. Show all posts
Showing posts with label Composer. Show all posts

Tuesday, 10 October 2017

Only update the lock file hash after updating the version of your own package


Only updates the lock file hash to suppress warning about the lock file being out of date.

Rewrite the lock and autoloaders, but otherwise will keep everything that's installed as is.

 composer update --lock 
OR
composer update nothing

Tuesday, 24 November 2015

Building the Development Environment for Laravel

* Download and install the latest Composer
                https://getcomposer.org/Composer-Setup.exe

 Once installed, check the version by typing:
                $ composer -V

* Download and install the latest Laravel
$ composer global require "laravel/installer=~1.1"

* Install the NodeJS (globally)
                Go to the NodeJS website and download the stable version.
                https://nodejs.org/en

                OR

                Direct Link: https://nodejs.org/dist/v5.1.0/node-v5.1.0-x64.msi
                Then, Run the app with all default setting.
                And, Restart the machine.

                To check the NodeJs version:
                $ npm -v

* Download and install the latest Gulp (globally)
$ npm install -g gulp

Now, let’s install the Gulp into project dependency.

Create a package.json (if it is not already exist):
$ vi package.json 

* To install Bower
Bower is a command line utility. Install it with npm.
Bower requires node, npm and git.

$ npm install -g bower

To install Angular Material

                $ bower install  angular-material --save

(--save) will save the package on vendor directory.