Latest Updates

Documenting code, one commit at a time.

Ensuring Tenant Context for Filament Uploads in Laravel

Introduction

When building multi-tenant applications with Laravel and Filament, it's crucial to ensure that operations are performed within the correct tenant context. This post addresses a common issue encountered when using Filament's massive upload feature where the tenant context was not active during Livewire form submissions, leading to data integrity violations.

The Problem: Tenant

Read more

Streamlining Filament Forms with Namespace Updates and Tenant Context Resolution

Keeping dependencies up-to-date can be a headache, especially when upgrading major versions of frameworks. Let's look at how recent changes in the Reimpact platform addressed a namespace change in Filament v5 and improved tenant context resolution.

The Challenge: Filament v5 Namespace Update

Filament is a popular Rapid Application Development (RAD) framework for Laravel.

Read more

Enhancing Tenant Management and File Handling in Laravel Applications

Introduction

When building multi-tenant applications with Laravel, ensuring proper tenant context and efficient file handling are critical. Recent updates to the Reimpact platform focus on improving these aspects, streamlining tenant schema management and simplifying large file uploads.

Tenant Schema Isolation Improvements

Proper tenant schema isolation is essential for maintaining data

Read more

Maintaining User Locale Across AJAX Requests in Breniapp

Introduction

In single-page applications built with frameworks like Livewire, maintaining the correct user locale across all interactions can be tricky. The Breniapp project encountered an issue where the user interface language would revert to the browser's default (often English) during AJAX requests, even if the user had initially selected a different language.

The Problem: Locale

Read more

Enhancing User Experience: Streamlining Onboarding in Breniapp

Introduction

This post highlights recent improvements to the onboarding process within the Breniapp project, focusing on clarity and user experience. The updates involve refining terminology to ensure a smoother and more intuitive introduction for new users.

Terminology Refinement

A key aspect of improving the user experience is using clear and easily understandable language.

Read more

Secure and Validate Locale Handling in PHP Applications

Introduction

When building internationalized applications, handling user locales correctly is crucial. This post delves into how to validate and securely manage locale settings in PHP applications, focusing on preventing potential issues arising from stale or malformed locale data.

The Problem: Stale Locale Cookies

Encrypted cookies, particularly those storing locale information, can

Read more

Implementing Middleware for Request Handling in PHP

Introduction

This post explores the implementation of middleware in PHP applications for request handling. Middleware provides a powerful mechanism to intercept and modify requests and responses, enabling developers to build more modular and maintainable applications.

Understanding Middleware

Middleware functions sit in between the application's core logic and the incoming requests.

Read more