Clean Code with Data Transfer Objects (DTOs) in Laravel
Stop passing associative arrays everywhere. Use PHP 8.2 readonly classes to create type-safe, immutable Data Transfer Objects in your Laravel applications.
184 posts published
Stop passing associative arrays everywhere. Use PHP 8.2 readonly classes to create type-safe, immutable Data Transfer Objects in your Laravel applications.
Why manually create files? Learn how to write a robust 'make:post' command that generates strict Markdown files with Frontmatter automatically.
A comprehensive guide to installing and using Lazygit, the terminal UI that will change how you interact with Git forever.
A deep dive into the latest PHP features that improve developer experience, including Property Hooks, typed class constants, and new array functions.
Rendering user-generated (or even admin-generated) content requires strict security practices. Learn how to configure league/commonmark to prevent XSS attacks.
Keep your readers updated. A guide to generating standard RSS/Atom feeds and XML Sitemaps for your Markdown-based Laravel blog.
Go beyond authentication. Learn how to configure CSP, HSTS, and other HTTP security headers in Laravel to protect your blog from XSS and clickjacking.
Boost your blog's visibility with structured data, Open Graph tags, and valid metadata using Laravel Blade components.
Going beyond the basics: Chunk splitting, asset versioning, and lazy loading JavaScript in a Laravel ecosystem.
Static analysis is strict, annoying, and absolutely necessary. Here is how to configure Larastan for maximum safety.