Adding package to laravel on live server

composer-php, laravel

Solution

You can install a package on laravel by adding package name to composer.json file and then run the `composer update` command.

On a live server you can use ssh to run commands.

For mac and linux: use terminal to run commands using ssh For windows: use putty to run commands using ssh

Problem

I have a Laravel project on a live server and I need to add a package to it in order to make new edits. How do I install this package online?

Original source