Ssbhattarai
Home About Writing Projects CV Contact
Let's Talk →

Writing

Articles & Insights

Thoughts on web development, technology trends, and programming best practices.

Articles Tips

3 articles

01
Backend·Mar 30, 2026·3 min read

PHP Attributes in Laravel 13 — The Complete Guide

Laravel 13 doubles down on PHP's native Attribute system, letting you replace scattered configuration arrays, boot callbacks, and interface implementations with clean, colocated #[...] annotations directly on your classes and methods. This article explains what PHP Attributes are, why they matter, and walks through every place Laravel 13 uses them — with working code examples and direct links to the official docs.

BackendPhpLaravel 13New in 13.x
02
Backend·Aug 26, 2025·3 min read

WhereAll() and WhereAny() in Laravel

Laravel 11 adds whereAll() and whereAny() to Query Builder, making it easier to apply the same conditions across multiple columns.

LaravelBackendPhp
03
Backend·Aug 28, 2025·6 min read

How to Use DTOs Perfectly in Laravel PHP

DTO (Data Transfer Object) is a design pattern used to transfer data between application layers. This object-oriented approach encapsulates data for efficient and easy transmission

LaravelBackenddtoclean code

Let's build something
worth using.

hi@ssbhattarai.com.np
Schedule a call →
HomeAboutWritingProjectsCVContact

© 2026 Shyam Sundar Bhattarai