Reader Stacks

TOPIC

Developer Productivity

Tools, helpers, and workflow tricks that make you faster, regardless of framework.

Clearing Application Cache in Laravel

Laravel caches five different things separately — config, routes, views, events, and application data — and clearing one doesn't touch the others.

Creating a Custom Helper Class in Laravel

A plain PHP class for app-specific logic that doesn't belong in a model or controller — with a class alias so it's callable without a full namespace, and when a facade is worth the extra step instead.

break and continue in PHP: What They Actually Do

break exits the loop entirely; continue skips just the current iteration — a small distinction that's easy to mix up, plus the numeric-argument form for breaking out of nested loops.