in my case, I was missing require in composer.json. I managed to resolve this issue by adding this line :
"require": { ... "barryvdh/laravel-dompdf": "0.8.*" ... }
within require scope, and run composer update.