Latest Updates

Documenting code, one commit at a time.

CSS PHP 10 posts
×
PHP

Enhancing LinkedIn Post Integration in Landing Pages

Introduction

This post details the update to the landing page project where portfolio post URLs are now consistently included in LinkedIn publications, regardless of the user's subscription status.

Consistent URL Inclusion

Previously, only free users received a link back to the portfolio post within their LinkedIn publications. The update ensures that all LinkedIn posts, including those

Read more
PHP Laravel PHPUnit

Refactoring Authentication and Product Association Logic in Reimpact Platform

This post summarizes recent updates to the Reimpact platform, focusing on authentication improvements and product association refinements. The changes include migrating from Passport to Sanctum for authentication, streamlining UUID handling, and refactoring job processing.

Authentication Migration

The primary focus was migrating the authentication system from Laravel Passport to Sanctum.

Read more

Streamlining GitHub Activity Syncing with Date Range Selection

Efficiently managing and synchronizing data is crucial for application performance. Recently, we enhanced the GitHub activity syncing process in our application by replacing a single-date picker with a more flexible date range calendar. This improvement, combined with a significant refactor, streamlines the synchronization logic and enhances user experience.

Enhanced Date Range Selection

Read more

Enhancing SEO with Structured Data and Robots.txt Optimization

Improving a website's visibility to search engines often involves a combination of structured data implementation and proper handling of robots.txt. This post details how structured data was added to a landing page and blog posts, and how a dynamic robots.txt file generation was replaced with a static one for better performance.

Implementing JSON-LD Structured Data

Structured data helps

Read more
PHP Laravel OAuth

Enhancing User Security in Laravel OAuth Implementations

OAuth provides a streamlined approach to user authentication, but it's crucial to implement security measures that protect user data and prevent unauthorized access. A common scenario involves social login, where users authenticate via third-party providers like GitHub or LinkedIn.

The Problem: Unregistered Users and Automatic Registration

A potential vulnerability arises when users not yet

Read more
PHP

Sitemap Maintenance: Removing a Route

Introduction

This post details a maintenance task focused on refining the sitemap of our application. Specifically, it addresses the removal of a route that no longer exists, ensuring the sitemap accurately reflects the application's available content.

The Issue

A route, previously designated as /pricing, was found to be non-existent in the application.

Read more
PHP Laravel

Automating Sitemap Updates on Deployment

The Problem

After each deployment to our production environment, we needed to manually clear the sitemap cache to ensure the latest content was reflected. This manual process was time-consuming and prone to errors.

The Approach

We automated the sitemap cache clearing process by creating a custom Artisan command that is executed as part of our deployment pipeline.

Implementation

Read more
CSS

Improving Sidebar Header Behavior with CSS Sticky Positioning

Addressing layout issues is a common task in web development. One frequent problem is ensuring that headers, particularly in sidebars, remain visible even when the user scrolls down the page. This post details how to resolve a scenario where a sidebar header was being cut off during scrolling by implementing CSS sticky positioning.

The Problem: Header Scroll Cutoff

The original

Read more

Streamlining Content Publishing: Automated Platform Integration

Introduction

We've recently enhanced our platform to allow users to automate content publishing to external platforms like LinkedIn and Dev.to. This feature aims to simplify the content creation and distribution process by enabling users to set default publishing preferences.

Implementation Details

This enhancement introduces the ability for users to manage their auto-publishing

Read more