To add a repeating footer to all pages using wkhtmltopdf and Snappy. You first have to create a separate HTML document with just the footer eg: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> </head> <body> <div style="overflow: hidden;"> <div style="width: 50%;float: left;min-height: 1px;"> <img width="120" src="/workspace/greatannual/logo.png" alt="EGN Digital"/> </div> <div style="width: 50%;float: right;... read more →
Feb
24
Jan
18
If you encounter errors such as: This is typical due to the Linux kernel security module apparmor. The easiest way to get round this error, is to stop apparmor,... read more →
Jan
17
A client came to us needing to migrate some data from existing Laravel 4 project to Laravel 5. This was tricky due to the old system using Mcrypt with Rijndael 256 cipher. Mcrypt has finally been deprecated in PHP 7.1 and we thus did not want to install a deprecated PHP... read more →