PHP

Catching Up Laravel

If you’re running a Laravel application in the 5’s, have a legacy application bootstrapped inside Laravel, don’t have any tests, or are staring in silent terror at just how long ago your production server’s PHP Read more…

By , ago
PHP

★ Increase performance by using Laravel's `setRelation` method

[AdSense-A]

While working on the upcoming Oh Dear redesign, I noticed that list that displays all sites of a team was very slow.

To display that list, a lot of queries were used. With a couple of minor adjustments, I could reduce the number of queries needed to just a single one, solving the performance problem.

In this small blog post, I'd like to share one of the techniques I used.

(more…)

By , ago