BlackBits.io

Articles

Defending Against npm Supply Chain Attacks

Defending Against npm Supply Chain Attacks

A routine npm install or npm update is now enough to get compromised. Here's why these attacks keep landing, why a developer machine is the worst place to take the hit, and the pnpm + Socket Firewall setup we run to cut the odds.

Deliver Your Content and Business Context Directly into ChatGPT & Claude

Deliver Your Content and Business Context Directly into ChatGPT & Claude

When users paste your content into an LLM, your brand and context vanish with it. Here's a one-click button for ChatGPT, Claude, and more that hands the model your post, your domain, and your key message — and keeps them in the conversation.

How Laravel's Scheduler Locking Actually Works (and the Default You Want for Multi-Server Setups)

How Laravel's Scheduler Locking Actually Works (and the Default You Want for Multi-Server Setups)

Laravel's scheduler ships two protections that look like they might do the same: onOneServer() and withoutOverlapping(). They don't. Here's what each one actually locks, why multi-server setups need both, and the default we run on every minute-frequency task.

Why Inertia Breaks Across Multiple Servers

Why Inertia Breaks Across Multiple Servers

Deploying a Laravel + Inertia app with Envoyer to multiple servers behind a load balancer? If each server runs its own build, you'll hit 404s and Inertia 409s. Here's the fix we use.

Laravel Authentication with AWS Cognito

Laravel Authentication with AWS Cognito

A complete guide to integrating AWS Cognito with Laravel 13 and Fortify, covering registration, email confirmation, login, password reset, password change, and account deletion, all wired up with Inertia and React.

How to Disable User Registration in Laravel

How to Disable User Registration in Laravel

Disabling registration in Laravel used to be a one-liner. With Fortify, Wayfinder, and Nova in the mix, things have changed — here's the modern playbook.

Laravel SEO Rewrite

Laravel SEO Rewrite

How to create SEO Rewrites in your Laravel Application. Take a look at this neat package that solves the problem for you. The Google ranking will love you once again.

APIs The Eloquent Way

APIs The Eloquent Way

Access third-party APIs the way you access a database — with an Eloquent-style interface for Laravel.