Latest Updates

Documenting code, one commit at a time.

Enhancing Data Sync with GitHub Contributions in Laravel

The devlog-ist/landing project surfaces developer activity. We've enhanced the synchronization of data by integrating a GitHub contribution calendar. This provides a more accurate and real-time view of user contributions. Instead of relying solely on local commit data, the system now uses GitHub's public contributions page as a primary source.

The system employs a three-tiered approach: it first

Read more
PHP Laravel

Improving Date Selection Logic in Landing Project

We've been working on the landing project, focused on refining the date selection process for GitHub sync within a calendar view. The goal is to provide a more intuitive user experience when fetching commits.

Previously, the date selection was limited by a commit count check, preventing users from selecting dates without local commits. To improve this, we removed the commit count check, allowing

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

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

Enhancing Recommendation Widgets with LinkedIn Integration

Introduction

This post details how we enhanced recommendation widgets within our application by integrating LinkedIn. The goal was to provide users with a direct link to the original LinkedIn post when a recommendation has been shared on the platform.

Implementation

The enhancement involved adding a LinkedIn icon to the bottom-right corner of each recommendation card.

Read more