Tag Archives: html

Laravel: Minify HTML

Assalamualiakum / Hi, Just a quick blog post this time. As part of optimisation, it’s important to minify your JavaScript & CSS – this can be done with Laravel Mix. But how about HTML? Seen this? So that’s how it’s look like our generated HTML codes. And how we going to change into this? A… Read More »

DomPDF: Production Ready Configuration

DomPDF – Production Ready Configuration PHP  Version: 5.3 and above Settings: allow_url_fopen Extensions: MBString (Installation), GD (Installation), DOM(enabled by default) DomPDF Configuration / Usage Enable Remote – def(“DOMPDF_ENABLE_REMOTE”, true); Read/Write access to the DOMPDF_TEMP_DIR Use Absolute URL Use Full Document Root or Relative (if you’re still unable to view the image) Use JPEG UPDATE (2015-02-17): Security… Read More »