Laravel – Cache

Sometimes in applications, there’s a need to speed up response time. One possible way to do that is to use a cache. Cache can store data for which the load …

Laravel 11 – New directory structure

One of the most significant changes in the update is the overhaul of the application framework. Half of the folders within the main project directory underwent minor to major revisions. …

Laravel – PDF generator packages overview

Currently, there are two major packages allowing the PDF generation in Laravel applications: Laravel-DomPDF by barryvdh and Laravel-PDF by Spatie. I will compare these two packages by seeing what they …

Laravel – Envoy

Laravel Envoy is an official package that allows you to execute tasks on remote servers. Envoy file allows preparing an entire set of commands which later can be called manually …

Laravel – Preventing n+1 queries problem

The n+1 query problem occurs in various systems based on ORM (Object-Relational Mapping), and Laravel is no exception. The n+1 query problem manifests when an application sends too many queries …

Laravel – Generating QR Codes

QR codes is one of the most popular formats of 2D codes. It can be useful in various projects. The great advantage is any modern smartphone can scan it. QR …

Laravel – File storage

In some applications, there might be a requirement to transfer files between the client and server. Laravel allows clients to send files to the server. Currently, Laravel supports only two …