Implementing Multi-Tenancy in Laravel: A Comprehensive Guide

Multi-tenancy in web applications refers to the architecture where a single instance of the application serves multiple customers, or 'tenants.' Each tenant's data and, sometimes, specific configurations are kept isolated from others. This setup is essential in SaaS (Software as a Service) platforms where multiple businesses or organizations might use the same application.In this guide, we’ll walk through setting up a database-per-tenant approach in Laravel, complete with code examples, detailed...
Modular Laravel Boilerplate: Comprehensive Guide and Analysis

https://github.com/KalimeroMK/modular-laravel-boilerplateThis Laravel boilerplate provides a modular structure that allows for easy creation, organization, and management of modules within Laravel applications. Instead of using a monolithic approach, this architecture ensures that each module is an independent unit with its own controllers, models, repositories, and services.By adopting this structure, developers can maintain cleaner and more scalable projects, reducing code duplication and maki...
The reason I stop using Class Inheritance

The Problems with PHP Class Inheritance and What We Can Do About It The PHP community heavily relies on class inheritance to structure and reuse code. However, does this drive new development standards? This article will look at the problems with class inheritance and why we don't think it's a good thing, except with a framework and/or if you are modifying an individual class to include an inheritance-based class structure. We offer alternatives: Actions, DI, and Composition. Problems with Class...