Flux
Toutes les catégories

Programmation

2113 articles

★ Laravel Query Builder v7: a must-have package for building APIs in Laravel

★ Laravel Query Builder v7: a must-have package for building APIs in Laravel

We just released v7 of spatie/laravel-query-builder, our package that makes it easy to build flexible API endpoints. If you're building an API with Laravel, you'll almost certainly need to let consumers filter results, sort them, include relationships and select specific fields. Writing that logic by hand for every endpoint gets repetitive fast, and it's easy to accidentally expose columns or relationships you didn't intend to. Our query builder takes care of all of that. It reads query…

Freek Van der Herten
A GitHub Issue Title Compromised 4,000 Developer Machines

A GitHub Issue Title Compromised 4,000 Developer Machines

A deep dive into "Clinejection", where an attacker injected a prompt into a GitHub issue title, which an AI triage bot interpreted as an instruction. The resulting chain led to cache poisoning, credential theft, and a compromised npm package that silently installed a second AI agent on 4,000 developer machines. Read more

Freek Van der Herten
The PHP Podcast 2026.03.12

The PHP Podcast 2026.03.12

The PHP Podcast streams live, typically every Thursday at 3 PM PT. Come join us and subscribe to our YouTube channel. Another fun episode of the PHP Podcast! Here’s what we covered: 🌐 Internet Woes & Technical Difficulties Eric continued his saga with connectivity issues, dropping multiple times on Zoom calls and even during the […] The post The PHP Podcast 2026.03.12 appeared first on PHP Architect.

PHP Architect
★ Laravel Site Search v3 is here: crawl and search your entire site using just your database

★ Laravel Site Search v3 is here: crawl and search your entire site using just your database

We're proud to release v3 of laravel-site-search, a package that crawls and indexes your entire site. Think of it as your own private Google. Point it at a URL, let it crawl every page, and get full-text search results back. Previous versions required Meilisearch as the search engine. That works well, but it means running a separate service. With v3, your application's own database is all you need. It supports SQLite, MySQL, PostgreSQL, and MariaDB out of the box, and it's the new default. Let…

Freek Van der Herten
★ How to easily access private properties and methods in PHP

★ How to easily access private properties and methods in PHP

Sometimes you need to access a private property or method on an object that isn't yours. Maybe you're writing a test and need to assert some internal state. Maybe you're building a package that needs to reach into another object's internals. Whatever the reason, PHP's visibility rules are standing in your way. Our spatie/invade package provides a tiny invade function that lets you read, write, and call private members on any object. You probably shouldn't reach for this package often. It's most…

Freek Van der Herten
Why I Still Blog — and Why the Future of Blogging Is Connected

Why I Still Blog — and Why the Future of Blogging Is Connected

I’ve been online twenty years, and blogging for ten of them. This is the story and lessons learned of blogging online for a decade. It goes beyond blogging topics and includes note-taking (workflow), how to write well as well as the medium in which writing works best, and also the format in which writing works long-term such as writing in open formats and methods such as vim motions to navigate and edit like a surgeon.

SSP Data Engineering Blog