🚀 Introducing Xetaravel-Counts: A Laravel Package to Automatically Maintain Your Relation Counters

When building medium or large Laravel applications — ERP systems, CRMs, business platforms, SaaS dashboards — you often run into the same recurring need: keeping *_count fields in your database in sync with your Eloquent relations.

Typical examples:

  • A category needs its articles_count
  • A user needs its roles_count
  • A material needs its p...

PHP 8.5 What's news in this version ?

PHP 8.5 is scheduled for release in November 2025. It comes with several helpful new features and improvements, focusing on a better developer experience, new utility functions, and enhanced debugging capabilities.

question What is news ?

1) The pipe operator |>:

This new operator enables chaining of callables left-to-right by passin...

Using #[On] in Livewire to Trigger Actions from a Button

question What is #[On]?

The #[On] attribute allows you to bind a custom Livewire event to a component method.

It replaces the older protected $listeners approach, making your code more declarative and readable.

book Basic Example: Button Triggering a Method

Display an alert when clicking a button. 1) The Livewire Component : `...

Laravel - Ressource CRUD

Introduction

The term CRUD is related to the management of digital data. It summarizes the operations or functions that a user needs to create and manage data.

The acronym CRUD stands for the four basic operations for interacting with database applications:

  • Create : Create a data.
  • Read : Read a data.
  • Update : Up...