I got tired of undocumented 3rd-party API changes breaking my apps, so I built Sentinel to passively detect JSON schema drift.
Hey everyone,
If you consume external REST APIs long enough, you know the pain: the provider silently drops a field, changes a string to an integer, or makes a previously required field optional. You usually only find out when your production app throws a null pointer exception or your DB rejects a type.
I built PHP Sentinel to solve this. It's a passive API contract monitor for PHP 8.3+ that sits in your HTTP client layer and watches the JSON coming back from the APIs you consume.
What it actually does: You don't write any schemas or rules by hand. Sentinel just silently observes the traffic.
1. Sampling: It watches the first X successful JSON responses for an endpoint.
2. Inference: It builds a probabilistically accurate JSON Schema (e.g., figuring out which fields are truly
3. Hardening: Once it hits the sample threshold (default 20), it locks the baseline schema.
4. Drift Detection: From then on, every new response is compared to the baseline in real-time. If the structure "drifts" (like a new field appears, or a required type changes), it dispatches an event and logs it.
Core features:
Zero-touch: Drop it into your PSR-18 client, Laravel `Http::` facade, or Symfony client and forget about it.
Smart Drift Rules: It knows that an optional field missing isn't drift, but a previously required field disappearing is a
Auto-healing: You can configure it to automatically "reharden" and build a new baseline after it reports a drift, so it adapts to legitimate API evolutions without you touching the code.
Framework Native: Comes with a Laravel ServiceProvider and a Symfony Bundle out of the box, plus an artisan/console CLI tool to inspect the inferred schemas manually.
Why I made it: Writing and maintaining OpenAPI specs for other people's APIs sucks. This is meant to be a passive safety net that gives you a Slack/log alert when a payload change happens, rather than digging through stack traces later.
It's fully unit-tested (Pest) and strictly typed (PHPStan Level 8).
Repo: https://github.com/malikad778/php-sentinel
I just pushed v1.0.3 and I'd love to hear what the community thinks. Are there specific edge cases in third-party API drift that you've been burned by? Any feedback on the architecture or inference engine would be awesome.
Thanks!
https://redd.it/1r9ze4l
@r_php
Hey everyone,
If you consume external REST APIs long enough, you know the pain: the provider silently drops a field, changes a string to an integer, or makes a previously required field optional. You usually only find out when your production app throws a null pointer exception or your DB rejects a type.
I built PHP Sentinel to solve this. It's a passive API contract monitor for PHP 8.3+ that sits in your HTTP client layer and watches the JSON coming back from the APIs you consume.
What it actually does: You don't write any schemas or rules by hand. Sentinel just silently observes the traffic.
1. Sampling: It watches the first X successful JSON responses for an endpoint.
2. Inference: It builds a probabilistically accurate JSON Schema (e.g., figuring out which fields are truly
required vs which ones are just optional and happen to be missing sometimes).3. Hardening: Once it hits the sample threshold (default 20), it locks the baseline schema.
4. Drift Detection: From then on, every new response is compared to the baseline in real-time. If the structure "drifts" (like a new field appears, or a required type changes), it dispatches an event and logs it.
Core features:
Zero-touch: Drop it into your PSR-18 client, Laravel `Http::` facade, or Symfony client and forget about it.
Smart Drift Rules: It knows that an optional field missing isn't drift, but a previously required field disappearing is a
BREAKING change. A new undocumented field is just ADDITIVE.Auto-healing: You can configure it to automatically "reharden" and build a new baseline after it reports a drift, so it adapts to legitimate API evolutions without you touching the code.
Framework Native: Comes with a Laravel ServiceProvider and a Symfony Bundle out of the box, plus an artisan/console CLI tool to inspect the inferred schemas manually.
Why I made it: Writing and maintaining OpenAPI specs for other people's APIs sucks. This is meant to be a passive safety net that gives you a Slack/log alert when a payload change happens, rather than digging through stack traces later.
It's fully unit-tested (Pest) and strictly typed (PHPStan Level 8).
Repo: https://github.com/malikad778/php-sentinel
I just pushed v1.0.3 and I'd love to hear what the community thinks. Are there specific edge cases in third-party API drift that you've been burned by? Any feedback on the architecture or inference engine would be awesome.
Thanks!
https://redd.it/1r9ze4l
@r_php
GitHub
GitHub - malikad778/php-sentinel: Passive API Contract Monitoring for PHP 8.3+. Detects breaking changes, json schema drift, and…
Passive API Contract Monitoring for PHP 8.3+. Detects breaking changes, json schema drift, and unexpected structural modifications in third-party REST APIs via probabilistic inference. - malikad778...
GitHub - eznix86/laravel-sqlite: SQLite In Production With Laravel
https://github.com/eznix86/laravel-sqlite
https://redd.it/1ra8tyr
@r_php
https://github.com/eznix86/laravel-sqlite
https://redd.it/1ra8tyr
@r_php
GitHub
GitHub - eznix86/laravel-sqlite: SQLite In Production With Laravel
SQLite In Production With Laravel. Contribute to eznix86/laravel-sqlite development by creating an account on GitHub.
NativePHP: Build Mobile Apps with PHP & Laravel
https://youtu.be/Ed2cf3KExAI?si=16ECUnpWE6QfTGat
https://redd.it/1r8ym0p
@r_php
https://youtu.be/Ed2cf3KExAI?si=16ECUnpWE6QfTGat
https://redd.it/1r8ym0p
@r_php
YouTube
NativePHP: Build Mobile Apps with PHP & Laravel
❤️ sponsor this channel: https://nunomaduro.com/sponsorships 🙌🏻 this video was made possible by:
🔴 redberry / work with the best laravel digital agency: https://redberry.international/?ref=nunomaduro
📤 mailtrap / modern email delivery for developers & product…
🔴 redberry / work with the best laravel digital agency: https://redberry.international/?ref=nunomaduro
📤 mailtrap / modern email delivery for developers & product…
Cheat Sheet for Rector (PDF)
https://cheat-sheets.nth-root.nl/rector-cheat-sheet.pdf
https://redd.it/1r9txd6
@r_php
https://cheat-sheets.nth-root.nl/rector-cheat-sheet.pdf
https://redd.it/1r9txd6
@r_php
Turn any OpenAPI spec into Laravel artisan commands
https://freek.dev/3024-turn-any-openapi-spec-into-laravel-artisan-commands
https://redd.it/1r8z82x
@r_php
https://freek.dev/3024-turn-any-openapi-spec-into-laravel-artisan-commands
https://redd.it/1r8z82x
@r_php
freek.dev
Turn any OpenAPI spec into Laravel artisan commands | freek.dev
We released a new package: spatie/laravel-openapi-cli. Point it at any OpenAPI spec and it generates dedicated artisan commands for every endpoint, complete with typed options for path parameters, query parameters and request bodies. Combined with Laravel…
Why are so many packages designed exclusively for Laravel?
I have noticed that many packages that are being shared here lately are designed exclusively for Laravel. I know it is one of the largest (if not THE largest) framework for PHP, but does that mean that everyone should develop exclusively for it?
In my opinion every developer should look at the whole ecosystem around PHP and not just target one specific framework. IMO a framework agnostic package would be better as more people would benefit from it.
I don't want to link to any individual packages here because I don't want to blame the package maintainers. They have great ideas with their packages.
Of course, I don't have a solution for this. But I want to know if I am the only one who thinks this situation is going in the wrong direction or if my assumption is just plain wrong?
https://redd.it/1r8v229
@r_php
I have noticed that many packages that are being shared here lately are designed exclusively for Laravel. I know it is one of the largest (if not THE largest) framework for PHP, but does that mean that everyone should develop exclusively for it?
In my opinion every developer should look at the whole ecosystem around PHP and not just target one specific framework. IMO a framework agnostic package would be better as more people would benefit from it.
I don't want to link to any individual packages here because I don't want to blame the package maintainers. They have great ideas with their packages.
Of course, I don't have a solution for this. But I want to know if I am the only one who thinks this situation is going in the wrong direction or if my assumption is just plain wrong?
https://redd.it/1r8v229
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
This media is not supported in your browser
VIEW IN TELEGRAM
I built this Laravel playground that runs completely in your browser (with no backend)
https://redd.it/1r8ezbx
@r_php
https://redd.it/1r8ezbx
@r_php
SymfonyLive Paris 2026: "Du web au mobile avec Symfony & Hotwire Native"
https://symfony.com/blog/symfonylive-paris-2026-du-web-au-mobile-avec-symfony-and-hotwire-native?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1r92slq
@r_php
https://symfony.com/blog/symfonylive-paris-2026-du-web-au-mobile-avec-symfony-and-hotwire-native?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1r92slq
@r_php
Symfony
SymfonyLive Paris 2026: "Du web au mobile avec Symfony & Hotwire Native" (Symfony Blog)
Et si votre application Symfony pouvait alimenter le web et le mobile natif ? Avec “Du web au mobile avec Symfony & Hotwire Native”, Imad ZAIRIG montre comment réutiliser backend, vues et logique…
GitHub - eznix86/laravel-litestream: Stream and restore SQLite with Laravel
https://github.com/eznix86/laravel-litestream
https://redd.it/1r8r4zq
@r_php
https://github.com/eznix86/laravel-litestream
https://redd.it/1r8r4zq
@r_php
GitHub
GitHub - eznix86/laravel-litestream: Stream and restore SQLite with Laravel
Stream and restore SQLite with Laravel. Contribute to eznix86/laravel-litestream development by creating an account on GitHub.
AuditTrailBundle v2 Released
Hi,
Thank you for your support and for showing interest in this project — I truly appreciate it.
I’ve put effort into improving the project by fixing code quality issues, strengthening security, and making it faster and more reliable.
Please note that this new version includes breaking changes, and I encourage you to upgrade to the latest version to benefit from these improvements.
You can review the changelog and benchmark results for more details.
cheers
https://redd.it/1rbeack
@r_php
Hi,
Thank you for your support and for showing interest in this project — I truly appreciate it.
I’ve put effort into improving the project by fixing code quality issues, strengthening security, and making it faster and more reliable.
Please note that this new version includes breaking changes, and I encourage you to upgrade to the latest version to benefit from these improvements.
You can review the changelog and benchmark results for more details.
cheers
https://redd.it/1rbeack
@r_php
GitHub
AuditTrailBundle/CHANGELOG.md at main · rcsofttech85/AuditTrailBundle
A Symfony audit bundle for Doctrine ORM. Lightweight entity tracking and audit logging for compliance. - rcsofttech85/AuditTrailBundle
Laravel 13 Preview: New Features, Release Timeline, and What We Know So Far
https://www.youtube.com/watch?v=v1lozr16KyA
https://redd.it/1rbm0m0
@r_php
https://www.youtube.com/watch?v=v1lozr16KyA
https://redd.it/1rbm0m0
@r_php
YouTube
Laravel 13 Preview: New Features, Release Timeline, and What We Know So Far
Laravel 13 is right around the corner. In this video, we break down everything we know so far about the upcoming release, including expected features, upgrade expectations, and how recent ecosystem tools like the Laravel AI SDK, Boost, and MCP fit into the…
Does anyone know any alternative for Laravel vscode extension? (A set of extensions is also fine)
https://redd.it/1rgxjsl
@r_php
https://redd.it/1rgxjsl
@r_php
Elizabeth Barron – the New Executive Director of The PHP Foundation
https://thephp.foundation/blog/2026/02/27/welcoming-elizabeth-barron-new-executive-director/
https://redd.it/1rg6kzi
@r_php
https://thephp.foundation/blog/2026/02/27/welcoming-elizabeth-barron-new-executive-director/
https://redd.it/1rg6kzi
@r_php
thephp.foundation
Welcoming Elizabeth Barron as the New Executive Director of The PHP Foundation
The PHP Foundation — Supporting, Advancing, and Developing the PHP Language
Recommend please resources where I can learn internal PHP stuff
Recommend please resources where I can learn internal PHP stuff. l mean resources where I can learn how PHP works inside, it's internal mechanism and etc
https://redd.it/1rgyrf4
@r_php
Recommend please resources where I can learn internal PHP stuff. l mean resources where I can learn how PHP works inside, it's internal mechanism and etc
https://redd.it/1rgyrf4
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Someone just created PR with fully working generics
It’s really impressive, performance cost is really low and looks promising I need to test it
Here is PR https://github.com/php/php-src/pull/21317
https://redd.it/1rharkk
@r_php
It’s really impressive, performance cost is really low and looks promising I need to test it
Here is PR https://github.com/php/php-src/pull/21317
https://redd.it/1rharkk
@r_php
GitHub
Reified generics by php-generics · Pull Request #21317 · php/php-src
Add reified generics to PHP
Summary
This PR adds reified generics to the Zend Engine — generic type parameters that are preserved at runtime and enforced through the type system. Unlike type erasur...
Summary
This PR adds reified generics to the Zend Engine — generic type parameters that are preserved at runtime and enforced through the type system. Unlike type erasur...
Laravel OCR & Document Data Extractor - A powerful OCR and document parsing engine for Laravel
https://packagist.org/packages/mayaram/laravel-ocr
https://redd.it/1rgvht1
@r_php
https://packagist.org/packages/mayaram/laravel-ocr
https://redd.it/1rgvht1
@r_php
packagist.org
mayaram/laravel-ocr - Packagist.org
Laravel OCR & Document Data Extractor - A powerful OCR and document parsing engine for Laravel
SymfonyLive Paris 2026: "L’IA au service des devs : Anatomie d'un assistant de Code Review"
https://symfony.com/blog/symfonylive-paris-2026-l-ia-au-service-des-devs-anatomie-d-un-assistant-de-code-review?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1rfds6e
@r_php
https://symfony.com/blog/symfonylive-paris-2026-l-ia-au-service-des-devs-anatomie-d-un-assistant-de-code-review?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1rfds6e
@r_php
Symfony
SymfonyLive Paris 2026: "L’IA au service des devs : Anatomie d'un assistant de Code Review" (Symfony Blog)
Peut-on utiliser l’IA pour améliorer les Code Reviews sans déshumaniser la pratique ? Thomas Boileau partage la conception d’un assistant basé sur Symfony, Messenger et un écosystème d’age…
I built a full open-source demo store with Laravel Shopper — Livewire 3, Volt, Flux UI, multi-currency checkout
Hey everyone,
I've been working on Laravel Shopper (an open-source e-commerce framework for Laravel) and just released a complete demo store to showcase what it can do.
Live demo: https://demo.laravelshopper.dev
Source code: https://github.com/shopperlabs/demo.laravelshopper.dev
What's in it:
\- Product catalog with attribute filtering
\- Variant selector with real-time stock checking
\- Multi-step checkout (shipping → delivery → payment)
\- Cash on delivery (Stripe coming soon)
\- Zone-based pricing with currency switching
\- Customer accounts with address management
\- Blog with categories
\- Full admin panel at /cpanel (Shopper + Filament 4)
Tech stack: Laravel 12, Livewire 3, Volt, Flux UI (free edition), Tailwind v4, Filament 4
The entire codebase is open source. Happy to answer any questions about the architecture or patterns used.
https://redd.it/1rgp1lg
@r_php
Hey everyone,
I've been working on Laravel Shopper (an open-source e-commerce framework for Laravel) and just released a complete demo store to showcase what it can do.
Live demo: https://demo.laravelshopper.dev
Source code: https://github.com/shopperlabs/demo.laravelshopper.dev
What's in it:
\- Product catalog with attribute filtering
\- Variant selector with real-time stock checking
\- Multi-step checkout (shipping → delivery → payment)
\- Cash on delivery (Stripe coming soon)
\- Zone-based pricing with currency switching
\- Customer accounts with address management
\- Blog with categories
\- Full admin panel at /cpanel (Shopper + Filament 4)
Tech stack: Laravel 12, Livewire 3, Volt, Flux UI (free edition), Tailwind v4, Filament 4
The entire codebase is open source. Happy to answer any questions about the architecture or patterns used.
https://redd.it/1rgp1lg
@r_php
Shopper Store
ShopStation // Shopper Store
ShopStation — A demo storefront powered by Laravel Shopper. Explore products, collections, and a full checkout experience built with Livewire and Tailwind CSS.