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 AI

Optimizing AI Model Costs in Breniapp

Introduction

In Breniapp, managing the costs associated with AI models is crucial for maintaining profitability and efficiency. This post discusses recent adjustments made to the pricing structure of several AI models to align with current API rates and eliminate unnecessary base costs.

The Problem: Misaligned Pricing

The initial pricing configuration for certain AI models in Breniapp

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
PHP AI

Enhancing Breniapp's Layer Editing with AI-Powered Prompts

Introduction

The Breniapp project is focused on providing users with creative tools. A recent enhancement streamlines the layer editing process, particularly for background, text, and logo elements, by introducing dedicated modal dialogs and AI-powered regeneration.

The Feature

The core update involves replacing the previous single-interface approach with distinct modal dialogs for each

Read more

Campañas de Marketing Multi-Lista con Markdown en Landing

Introducción

El proyecto landing se centra en la creación de una plataforma de marketing. Se ha implementado una nueva funcionalidad para campañas de marketing multi-lista con soporte para Markdown, lo que permite una mayor flexibilidad y facilidad de uso en la creación de campañas.

El Problema

Anteriormente, la creación y gestión de campañas de marketing presentaba las siguientes

Read more

Implementación de un sistema de digest de changelog y suscripción por correo electrónico

Introducción

En el proyecto landing, se ha implementado un sistema automatizado para generar y enviar un resumen diario de los cambios (changelog) a los usuarios suscritos. Este sistema lee los commits de Git, genera contenido fácil de entender con Prism AI y lo envía por correo electrónico a los suscriptores a las 9 AM en su zona horaria.

Funcionalidades Implementadas

Read more