Laravel Homestead: Access multiple local sites from other hosts in your LAN network New!

by Matt Komarnicki – November 08, 2020
Checking how your local projects render on other browsers is a typical and easy to achieve task. Most likely you have a stack of browsers installed on your host machine, where you simply open the project in each browser to find out if it behaves in a specific manner. But what if you need to check both appearance and behavior of your projects on mobile devices like iPhone or iPad? Let me show you a…

PHP: Sending e-mail in Laravel using SMTP and Amazon SES

by Matt Komarnicki – May 15, 2020
A shared hosting wins over VPS with its simplicity but is also has pretty serious limitations and doesn't scale up very well. On the other hand managing your own server raises a variety of responsibilities, one in particular is crucial to your business - managing an e-mail server. It is a difficult and absorbing task - not only it requires advanced knowledge in terms of configuration (IMAP, SMTP…

PHP: Optimised file response in Laravel using HTTP Cache Headers

by Matt Komarnicki – May 28, 2015
In most common situations you are going to let your web server handle all HTTP responses for you. Imagine a case where a client is requesting a file by accessing an unique URL → server takes an incoming request → looks for corresponding resource directly on a storage level and (assuming a file exists) responds with HTTP 200 OK status. That's how it works in a nutshell. What if prior to return a fi…