Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 603 Bytes

readme.md

File metadata and controls

16 lines (11 loc) · 603 Bytes

Genate PDF from HTML Demo

this Demo generates pdf file from an html table view, here is how to run this demo locally

  • git clone https://github.com/letscodetz/generate-pdf-demo.git
  • cd generate-pdf-demo
  • composer install
  • create .env and setup database connection(database name, database user and password)
  • php artisan migrate (this will generate required database tables)
  • php artisan db:seed (this will put test data in your database)
  • php artisan serve
  • open your browser and visit http://localhost:8000.
  • click Download PDF link to download your pdf file.