Flux
Token-Oriented Object Notation (TOON) For PHP Developers

Token-Oriented Object Notation (TOON) For PHP Developers

See the video version at https://youtu.be/Nk9ayWxkJ1M It’s an unfortunate piece of our current developer reality that a lot of our day is spent worrying about how many tokens we’re spending. Every time you send structured data to an LLM API, you’re paying for tokens. And if you’re sending arrays of similar objects as JSON, you’re […] The post Token-Oriented Object Notation (TOON) For PHP Developers appeared first on PHP Architect.

PHP Architect
Mercure 0.23.5: Helm chart hardening

Mercure 0.23.5: Helm chart hardening

Mercure v0.23.5 just landed, and the dominant theme is the Helm chart. If you run hubs on Kubernetes, especially in HA or multi-tenant mode, this release tightens defaults and adds the kind of policy templates that previously required forking the chart or templating policies outside it. The story behind the release: we audited a production... Mercure 0.23.5: Helm chart hardening first appeared on Kévin Dunglas.

Kévin Dunglas
★ Searching multiple columns with one URL parameter in laravel-query-builder

★ Searching multiple columns with one URL parameter in laravel-query-builder

We just released v7.3.0 of laravel-query-builder, which adds a new way to group multiple filters under a single URL parameter. Before getting into the new feature, let me show you how the basics work, so the new bit makes sense in context. The basics Here's a typical setup in a controller: use Spatie\QueryBuilder\AllowedFilter; use Spatie\QueryBuilder\QueryBuilder; $users = QueryBuilder::for(User::class) ->allowedFilters( AllowedFilter::partial('name'), AllowedFilter::exact('status'), )…

Freek Van der Herten