DomPDF is a PHP library that converts HTML web pages into high-quality PDFs. It understands CSS and lets you customize the layout and styling of your PDFs using familiar HTML and CSS techniques.
- Install Package
composer require barryvdh/laravel-dompdf
- Configure Environment
cp .env.example .env
- Migrate
php artisan breeze:install
php artisan migrate
npm install
npm run dev
- http://localhost:8000/ username :
admin
password :admin
php artisan serve