Chandan Shakya's Blog

How to Handle created_by / updated_by with Laravel Traits

In any production Laravel application, tracking who created or modified records is essential for audit trails, accountability, and debugging. While Laravel automatically handles created_at and updated_at timestamps, manually managing created_by and updated_by fields across all models is tedious and error-prone.

This guide shows you how to automate audit field management using reusable traits, keeping your models clean and your code DRY.

read more

Laravel Livewire Coding Standards: A Comprehensive Guide

This guide establishes mandatory naming conventions and coding standards for Laravel projects using Livewire v3. These standards ensure consistency, maintainability, and professional code quality across your Laravel applications.

read more

API-First Livewire Architecture: Building Maintainable Laravel Applications

API-First Livewire is an architectural approach where Livewire components act as a thin presentation layer on top of a robust, reusable service layer. This pattern ensures separation of concerns, testability, and reusability across your entire application.

read more

Comprehensive Guide to Obtaining a Car Driving License in Nepal

Acquiring a car driving license in Nepal involves a structured process, including theoretical and practical examinations. This guide provides a step-by-step approach to help you navigate the requirements and prepare effectively.

read more

Transforming Discord: A Professional Dark Theme for Enhanced User Experience

Introduction

In the rapidly evolving digital workspace, user interface design plays a crucial role in productivity and user engagement. This custom Discord theme represents a thoughtful approach to reimagining the communication platform’s visual experience, focusing on aesthetics, usability, and user comfort.

read more

SQL Conventions for Laravel

When working with Laravel, following consistent SQL conventions is crucial for maintaining a clean and efficient database structure. Below are some recommended conventions for naming tables, columns, keys, and indexing in a Laravel application.

read more

Guide changing from MIUI to LineageOS on Redmi Note 10S

This guide will not take any responsibility of damage of one’s property.

read more

Quote from 10 Things I Hate About You

Mr. Morgan : All right… I assume everyone’s found time to complete their poem… except… for Mr. Donner.

[starts laughing]

Mr. Morgan : Who has an excuse

[laughs even harder, then stops]

Mr. Morgan : . Shaft! Lose the glasses.

[Joey removes his sunglasses, revealing his bruised nose from his earlier confrontation with Bianca]

Mr. Morgan : All right… anyone brave enough to read theirs aloud?

[Everyone looks at each other, waiting to see who goes first, Kat finally raises her hand]

Kat Stratford : I will.

Mr. Morgan : [rolls his eyes and sighs] Lord, here we go.

Kat Stratford : I hate the way you talk to me, and the way you cut your hair. I hate the way you drive my car. I hate it when you stare. I hate your big dumb combat boots, and the way you read my mind. I hate you so much it makes me sick; it even makes me rhyme.

read more

Welcome to Chandan Shakya's Blog

Welcome to all the readers to my first blog.

read more