Running Composer Commands - steve-mt/laravel-docker GitHub Wiki
This is very similar to the one of running artisan commands which can be found here, but instead run composer and you will find that it is installed out of the box.
For example we want too add mockery/mockery
as one of our dependency
$ composer require mockery/mockery