Configuration cache cleared. Please run the following command on your server: composer require barryvdh/laravel-dompdf After installation, publish the config (optional): php artisan vendor:publish --provider="Barryvdh\DomPDF\ServiceProvider" Add this to your .env file if needed: DOMPDF_ENABLE_REMOTE=true DOMPDF_ENABLE_CSS_FLOAT=true DOMPDF_ENABLE_HTML5_PARSER=true