Source: martinjoo.dev

Blog for Laravel Artisans
On 15th of November I finally launched https://laracheck.io. If you're working in a team and you're about code quality, I think you're going to love it.

For example, detecting N+1 queries or missing database indices in migrations and similar things. In this article, I'd like to talk about these two things in particular: N+1 queries, and database indices.

It'll run only one database query which contains a join statement and load both posts and comments in just one query.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners