How do you add/update a specific package using composer? I\'m using the latest Laravel as well not sure if it matters but anything that can help to determine the answer.
I tried the following and it seemed to work for me.
You'll have to first add barryvdh/laravel-dompdf to the composer.json file. Then perform the following:
barryvdh/laravel-dompdf
composer.json
composer update barryvdh/laravel-dompdf --lock