Latest Updates

Documenting code, one commit at a time.

PHP Laravel

Refactoring for Clarity: Removing Redundant Relationships and Enhancing Widget Functionality in Laravel

In the Reimpact/platform project, we're constantly striving for a cleaner, more maintainable codebase. Recently, we undertook a refactoring effort focused on removing unnecessary relationships, improving widget functionality, and ensuring data consistency across tenants.

Removing Non-Existent Relationships

One area identified for improvement was the MassiveUploadWithErrorsResource.

Read more
PHP Laravel CSS

Bypassing Filament CSS Pipeline for Quick Widget Styling

When working with UI frameworks like Filament in Laravel projects, you sometimes encounter situations where the framework's CSS pipeline interferes with custom styling. We recently ran into this issue in the Reimpact platform while developing the QuickLinksWidget.

Filament, being based on Tailwind CSS, compiles its own version of Tailwind. This can lead to inconsistencies if your project's

Read more
PHP Laravel

Schema Updates: Adding Tenant-Specific Columns in Laravel

Introduction

When developing multi-tenant applications using Laravel, managing database schemas can become complex. Each tenant might require specific customizations, including additional columns in existing tables. This post addresses how to handle such scenarios by focusing on adding a homologation_level column to a products table within a tenant-specific schema in the Reimpact platform.

Read more

Streamlining Marketing Workflows with Centralized System Email Management in Laravel

Introduction

Effective communication is crucial for any application. This post explores the new system email management features added to a Laravel project, focusing on centralizing email configurations and streamlining marketing workflows.

Centralized Email Management

One key improvement is the creation of a centralized page for managing system emails. This provides a single point to

Read more

Improving Application Stability and Performance in Laravel Projects

Introduction

Maintaining a stable and performant application requires constant attention to detail. This post highlights several key improvements made to a Laravel project, focusing on resolving PHPStan errors, fixing test failures, and preventing database deadlocks. These changes contribute to a more robust and reliable application.

Addressing Static Analysis Errors

Static analysis

Read more