33
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Issue 58 of A Day With Laravel : Laravel 13.12, Laravel Live Japan, Moat, Laravel Cloud
/r/laravel/comments/1tv43lp/issue_58_of_a_day_with_laravel_laravel_1312/
https://redd.it/1tv44gd
@r_php
phpser: a faster, HMAC-signed binary serializer for PHP cache workloads, benchmarked against igbinary
I've reached for igbinary on basically every PHP project I've shipped for the last decade. It's the obvious default for cache serialization. Two things about cache workloads kept nagging at me though, so I wrote phpser to see if a serializer built specifically for caches could do better.
The first is the read/write asymmetry. A cache decodes on every read and encodes once per write, easily 100:1 on a read-heavy cache, but igbinary (like most general serializers) balances the two sides. The second is trust: the bytes you decode often come from redis, memcached, or a cookie, any of which an attacker may be able to write to, and `unserialize()` on attacker-controlled input is one of PHP's oldest exploit primitives.
phpser is a C extension that goes after both. The wire format is designed around the reader (I borrowed the "make the reader do the least work" instinct from Rust's rkyv, though phpser is not zero-copy): a front-loaded string dictionary the decoder reuses by refcount instead of re-allocating, tagged scalar runs for packed numeric arrays, and pre-sized hashtables written in place. The encoder is fast too, with an O(1) pointer-hash string intern and plain objects serialized straight from their property slots.
Benchmarks vs igbinary (PHP 8.4 NTS release build, 1000 iters, median of 9 runs):
| Shape | Size | Encode | Decode |
|---|---|---|---|
| packed_1k (range 0..999) | -65% | -70% | -75% |
| dto_1000 (Laravel queue shape) | -12% | -15% | -18% |
| rowset_1000 (mixed assoc) | +1% | -55% | +4% |
It's not a clean sweep: mixed associative rowsets decode about 4% slower and run a few percent larger, because the front-loaded dictionary (the thing that makes everything else fast) doesn't pay off when few strings repeat. It's not streamable either, for the same reason.
On the security side there's an HMAC-SHA256 signed mode: `phpser_serialize_signed($value, $key)` and `phpser_unserialize_signed($payload, $key)`. The signature is verified in constant time before any decoding happens, so a tampered or foreign-keyed payload returns null and never reaches the code that builds objects. There's also an `allowed_classes` option matching native `unserialize()`.
Install is via PIE: `pie install iliaal/phpser`
Repo: https://github.com/iliaal/phpser
Full writeup with the wire-format walkthrough and the complete benchmark table: https://ilia.ws/blog/phpser-a-fast-secure-binary-serializer-for-php-cache-workloads
I maintain php_excel and a few other PHP extensions; this one scratched a specific itch. Happy to answer questions, and I'd love feedback from anyone running heavy cache or queue traffic where decode time actually shows up in a profile.
https://redd.it/1tuzxki
@r_php
New in Symfony 8.1: RateLimiter Improvements
https://symfony.com/blog/new-in-symfony-8-1-ratelimiter-improvements?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1tutb55
@r_php
SymfonyOnline June 2026: Protect your data with Queryable Encryption
https://symfony.com/blog/symfonyonline-june-2026-protect-your-data-with-queryable-encryption?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1tuomdv
@r_php
Removed by Reddit
Removed by Reddit on account of violating the [content policy. ]
https://redd.it/1ttwjc9
@r_php
SymfonyOnline June 2026: Event Streaming with Symfony Messenger
https://symfony.com/blog/symfonyonline-june-2026-event-streaming-with-symfony-messenger?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1ttun68
@r_php
TallCMS now supports Laravel 13 — open-source TALL-stack CMS on Filament
/r/u_BuildWithTall/comments/1tttmbg/tallcms_now_supports_laravel_13_opensource/
https://redd.it/1tttn7e
@r_php
Weekly Ask Anything Thread
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
https://redd.it/1ttfx4v
@r_php
Closing Composer's Download Fallback Paths
https://blog.packagist.com/closing-composers-download-fallback-paths-in-private-packagist/
https://redd.it/1ttlb6t
@r_php
Did you know you can unpack an array of named arguments?
https://3v4l.org/lfWrQ#v8.5.3
https://redd.it/1ttcq2i
@r_php
I built a Mac app for managing .env files — native Laravel encrypted env support included
So the thing that finally pushed me to build this was Laravel’s encrypted env support. Great feature, genuinely useful — but the workflow of decrypt, edit, re-encrypt via artisan every time you need to look at a production secret gets old pretty quickly, especially when you’re juggling multiple projects.
Dotvault opens .env.encrypted files directly. Paste the key once, it goes into your Keychain, and from then on it’s just a normal editor. No PHP required, no artisan, no bouncing between the terminal and a password manager.
Beyond the Laravel-specific stuff it does what you’d want from a proper .env tool — visual editor with sections and comments, version history on every save, side-by-side diff between environments, auto-detects Laravel variables and annotates them with descriptions and required flags, and prompts you to sync new keys across to .env.example when you save. That last one alone has saved me from a bit of a headache more than once.
Everything stays on your machine. No accounts, no cloud, no third-party anything.
Free 14-day trial at https://www.dotvault.dev if you want to give it a go. Keen to hear what Laravel devs think — especially if there are edge cases with the encrypted env handling I haven’t thought of.
https://redd.it/1tt7edi
@r_php
Another contribution to PHP core got approved 🎉
My PHP core PR has been approved:
https://github.com/php/php-src/pull/22090
Glad to help improve PHP.
https://redd.it/1tt0inb
@r_php
A Week of Symfony #1013 (May 25–31, 2026)
https://symfony.com/blog/a-week-of-symfony-1013-may-25-31-2026?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1tspxuj
@r_php
Twig 3.27.1 released
https://symfony.com/blog/twig-3-27-1-released?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1ts84wh
@r_php
RFC: Bound Erased Generic Types
https://wiki.php.net/rfc/bound_erased_generic_types
Still in draft. This has not been announced yet on the PHP ‘internals’ mailing list. I am not the author. Just sharing.
https://redd.it/1t5zak6
@r_php
Issue 58 of A Day With Laravel : Laravel 13.12, Laravel Live Japan, Moat, Laravel Cloud
A Day With Laravel 58
Hey Laravel friends 🤟,
It's time to a new issue of ‘A Day With Laravel’, which presents in a very short format some Laravel news.
In this issue we will talk about :
Laravel 13.12,
Laravel Live Japan,
Moat,
Laravel Cloud
I really hope this free content brings value to you.
Let me know in comment what do you think about it.
See you on the next issue.
https://go.itanea.fr/adwl58
https://redd.it/1tv43lp
@r_php
SymfonyOnline June 2026: Discover the Workshops!
https://symfony.com/blog/symfonyonline-june-2026-discover-the-workshops?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1tuv23x
@r_php
Laravel Cloud acting up
Just got a notification from Cloud and saw this when I logged in to check.
https://i.imgur.com/rmbQqfC.jpeg
It's a toy app I deployed 12 months ago an haven't touched since. There hasn't been any traffic to it either.
Now it's just in a constant reboot loop so it can't hibernate.
It's in Frankurt btw.
Anyone else experienced this?
Edit: I tried redeploying and that seems to have fixed it.
https://redd.it/1tuqn4u
@r_php
I built a Symfony Integration Engine bundle to simplify external API integrations (open source)
Hey Symfony community,
I’ve been working on a side project to solve something I kept running into in real-world Symfony apps: integration logic becoming messy, duplicated, and hard to maintain over time.
Every time I needed to integrate external APIs, I ended up with:
scattered services
inconsistent request/response handling
duplicated mapping logic
weak structure around “actions”
So I built a small open-source bundle called IntegrationEngine.
GitHub:
https://github.com/CarlosGude/integrationEngine
💡 What it does
The idea is to provide a structured way to define integrations using a consistent contract:
Each integration is defined via clear Actions
Strong separation between:
request (body)
action logic
response mapping
Centralized execution layer
Designed with extensibility + testability in mind
It’s heavily inspired by DDD principles and tries to keep integrations as predictable building blocks instead of ad-hoc services.
⚙️ Why I built it
I didn’t want another “HTTP client wrapper”.
I wanted something that:
enforces structure across integrations
makes testing easier (especially mocking external APIs)
avoids service sprawl in Symfony projects
keeps integrations readable after 6 months (the real benchmark 😄)
🚧 Current state
It’s still evolving, but already usable in projects. I’m actively iterating on the architecture and would love feedback from people who’ve dealt with similar problems.
🙏 Feedback wanted
I’m especially curious about:
architectural flaws I might be blind to
Symfony best practices I may be bending too much
better ways to model “integration actions”
anything that would break at scale
Thanks for taking a look 🙌
https://redd.it/1tu5qde
@r_php
SymfonyOnline June 2026: Git, But Better: An Introduction to Jujutsu (jj)
https://symfony.com/blog/symfonyonline-june-2026-git-but-better-an-introduction-to-jujutsu-jj?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1tu014e
@r_php
Laravel/AI package use case: A "Thank You" shouldn't reopen a ticket
https://there-there.app/blog/a-thank-you-shouldnt-reopen-a-ticket
https://redd.it/1ttw3z8
@r_php
New in Symfony 8.1: Forms Improvements
https://symfony.com/blog/new-in-symfony-8-1-forms-improvements?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1ttsw9o
@r_php
What's New in Laravel 13.9: SQS Overflow, Job Prep & Password Rules
https://youtu.be/1B77RT9fU5w
https://redd.it/1ttm9fi
@r_php
Weekly help thread
Hey there!
This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!
https://redd.it/1ttj8mi
@r_php
I've updated sqlc-php with more features.
Hi folks! I've updated sqlc-php with a lot of features requested. Take a look at https://phpibe.github.io/sqlc-php/
Thanks!
https://redd.it/1ttboyg
@r_php
Weekly /r/Laravel Help Thread
Ask your Laravel help questions here. To improve your chances of getting an answer from the community, here are some tips:
What steps have you taken so far?
What have you tried from the documentation?
Did you provide any error messages you are getting?
Are you able to provide instructions to replicate the issue?
Did you provide a code example?
Please don't post a screenshot of your code. Use the code block in the Reddit text editor and ensure it's formatted correctly.
For more immediate support, you can ask in the official Laravel Discord.
Thanks and welcome to the r/Laravel community!
https://redd.it/1tt0uam
@r_php
I built a private family video & media catalog — no cloud, no tracking, just your family's memories
Hey r/PHP
I built a small self-hosted web app for my family to store and share private memories — YouTube links (mostly unlisted), photos, and Google Photos albums — all in one place with proper access control.
Why I built it: We were spreading family videos across WhatsApp groups, shared Google Drive folders, and random YouTube playlists. Nobody could find anything. I wanted one clean catalog that everyone in the family could actually use.
What it does:
Add YouTube videos with auto-filled metadata (title, thumbnail, description) via YouTube Data API
Organize everything into events (birthdays, trips, holidays) with their own media galleries
Fine-grained access control — each video/event/photo can be shared with everyone, specific people, or kept private
Invite-only registration via 6-digit codes — no strangers can sign up
"What's new" notifications — a bell icon showing everything added since your last visit
Thumbnail uploads for events and media cards — auto-resized, EXIF-corrected; no full photo storage, your albums stay in Google Photos
Dark/light theme, "Remember me" sessions
Video participants — tag family members (or just names for non-members)
Comments on videos and events
Mobile-friendly via Bootstrap 5
Tech stack: PHP + MySQL (PDO), Bootstrap 5, no frameworks, no Composer, no Docker. Runs fine on any shared hosting.
Demo: https://serwer440097.lh.pl GitHub: https://github.com/alexfreecode/family-video-archive
It's a small project, but it solved a real problem for my family. Happy to answer questions or take feature suggestions.
The code is fully open source under MIT license — contributions welcome. It's intentionally dependency-free so anyone can deploy it on the cheapest shared hosting.
https://redd.it/1tsu7v6
@r_php
Dockerfiles for PHP
Hi everyone, I built Dexfile which is a Dockerfile superset.
It supports Conditional instructions Loops Imports Functions etc...., which can act to create your own Buildpacks, Nixpacks and Railpacks like abstraction.
I would like some healthy contributions to create some high quality Dockerfile that work across different package managers, workspaces and web servers etc...,
You can contribute at https://github.com/dexnore/templates/tree/dev
I would like to see a single Dockerfile that can build any php project to an oci image. Appreciate your help
https://redd.it/1ts9oxc
@r_php
get the path of your (sub)domain on Plesk
/r/Plesk/comments/1trzuv4/get_the_path_of_your_subdomain/
https://redd.it/1trzvlk
@r_php
Laravel AI SDK in action in Jarvis
Jarvis.mk is agent orch platform based on Laravel AI SDK.
Just open source it, and made the first video
https://www.youtube.com/watch?v=eke78e\_VckE
https://github.com/dimovdaniel/supersaas
Don't know if I'm biased on this, but I think it is really good one.
\- It can be SaaS or local claw like platform.
Would like to hear your feedback.
https://redd.it/1t5rsb2
@r_php