Recent Articles

#dto #ddd

Domain-Driven Design with Laravel: Data Transfer Objects

Domain-Driven Design is a software development approach that tries to bring the business language and the source code as close as possible.

Read full article [martinjoo.dev]

#validation #validators

Laravel Validation: A Tale of Existence

One of my latest Laravel tips on Twitter, discussing Laravel validators for checking the existence of...

#performance #database

How to find the slowest query in your application

Is your website slow? does it take ages to load? Are the users complaining that it's almost unusable?. You should check your database queries.

Read full article [laravel.io]

#web scraping

Complete Web Scraping toolkit for PHP

Roach PHP is a complete web scraping toolkit for PHP and Laravel projects.

Read full article [laravel-news.com]

#eloquent #sql

Clear orderBy in Laravel's Eloquent Builder

If you've tried to use orderBy on a previously ordered query in Laravel, you'll probably find it doesn't work. There's a great reason for that, which we'll explain at the end of the post.

Read full article [codecourse.com]

#testing #environments

Testing Laravel Environment Checks

Ever wondered how to go about testing environment checks in your Laravel application? This post is for you!

Read full article [downing.tech]

#error #debugging

Ignition, the most beautiful error page for Laravel and PHP, got a major redesign

I'm proud to share that our team has released a new major version of Ignition, the most beautiful error page for Laravel and PHP.

#pagination #joins

Efficient Pagination Using Deferred Joins

A slight modification to traditional offset/limit pagination that can drastically boost performance.

Read full article [aaronfrancis.com]