In a recent project, I was asked to modify uploaded PDFs to dynamically insert a user specified password to keep files secure. This tutorial shows you how this can be achieved using PDF libraries from Setasign.
Recently, I had to create a Laravel Artisan script that would log into a SFTP server, check if a certain file exists, and then upload / override the file. To achieve this, I used the SSH library from LaravelCollective. This tutorial covers how to log into a remote server using SSH / SFTP and upload or download files.Laravel 5, PHP, SFTP, SSH
In a recent project, I was asked to create a dynamically generated PDF with the user’s information. In my research, I found that using FPDF was the best the best way to achieve the client’s requirements. Here is a quick tutorial on how you can use a existing PDF with dynamic content using only PHP.Composer, PDF, PHP, Tutorial
I have always found it frustrating that failing the CSRF check in Laravel 5.x throws an exception. I would rather prefer it redirect the user back to the previous page, and get them to try again. So, I modified the VerifyCsrfToken.php middleware to do just that.CSRF, Laravel 5, PHP, Tutorial
In a recent project, I’ve been using public/private key encryption to transmit data from a mobile application to an API, keeping sensitive information secure as a result. This tutorial explains how you can create your own keys, and then use them to encrypt or decrypt data using PHP and OpenSSL.Encryption, PHP, Public / Private Keys, Security, Tutorial