Reader Stacks

GUIDES

Guides

Reader Stacks covers PHP, Laravel, Angular, Flutter, DevOps, and security tutorials for working developers.

Installing a Full LAMP Stack on Ubuntu

LAMP is just Linux, Apache, MySQL, and PHP installed and wired together — each piece is a small, separate install, and the only genuinely fiddly part is confirming Apache is actually executing PHP rather than serving it as plain text.

What Is Laravel Middleware?

Middleware runs between a request arriving and a controller handling it — the mechanism behind auth checks, CORS headers, and rate limiting, all inspecting or modifying the request/response without the controller knowing.

Storing Arrays and JSON in Laravel Eloquent (Casts)

A cast is what turns a raw JSON text column into a working PHP array automatically on every read and write — without one, Eloquent hands back and expects a plain JSON string instead.

Calling an API in Flutter With the http Package

Flutter's official http package covers most API needs directly — the part worth getting right is handling the async/await flow and checking the status code before trusting the response body.

Building an Autocomplete Search Field in Laravel

The backend piece — a debounced, rate-limited JSON search endpoint — stays the same regardless of which frontend autocomplete widget consumes it, and that endpoint is the part actually worth getting right.

Working With Sessions in Laravel

Beyond auth (which uses sessions internally), the Session facade is the standard place for anything that needs to persist briefly across requests for one visitor — flash messages, a multi-step form's in-progress data, a shopping cart.