
Memory and OPcache: Settings That Belong on Every Laravel Server
What memory_limit really limits, how to configure OPcache for production, and which Laravel commands belong in every deploy.
8 posts tagged PHP.

What memory_limit really limits, how to configure OPcache for production, and which Laravel commands belong in every deploy.

The difference between static, dynamic and ondemand mode, and a simple way to calculate pm.max_children from the server's memory.


POST vs PUT vs PATCH, GET vs POST, HEAD and OPTIONS, the Laravel Request, readonly, property hooks and invokable controllers.

The service container, middleware, Eloquent relationships, why a service layer, and migrations — Laravel answers without reciting the docs.

Public, protected, private, abstract vs interface, SOLID and dependency injection — short answers for a technical interview, no hesitation.

A string like 'admin' scattered across the codebase is a typo waiting to happen. Give important values one searchable definition.

Single responsibility scales down to methods. Small, well-named methods replace comments, keep changes local and make stack traces readable.