We are modernizing the i18n workflow for PHP, what are your thoughts?
Hi everyone, we are currently developing a new SDK for i18n in PHP. I know what you are thinking, existing solutions like gettext are great, but... I believe PHP deserves more modern features.
The main idea is to let frontend and backend work together in a fashion mainly utilized in modern JS frameworks like next.js, where data is hydrated on the frontend. This means that data can be encoded in the backend and decoded on the frontend which could enable advanced features like In-context editor (edit translations directly on the rendered page), something PHP i18n lacks today.
What we've done so far:
- Everything from gettext, pluralization, variables etc.
- Language detection, cookie, headers, meta data, query params etc.
- In-context editing - Let your contributors edit rendered translations directly on the site.
- Automatic rerender on locale change. (With or without page reload)
- Support for both static translation files in your project, or offloading to our CDN powered by Cloudflare. If you use the CDN, a translations edit will never force you to redeploy any code.
- If CDN is used, we utilize a local cache with SWR to always have the latest translations without compromising speed.
- Lazy loading, only load languages needed.
- If you are using our external platform you'd get glossary, tasks, AI translations, screenshots and much more. But I want to stress that this is optional.
- (Optional language picker)
Do you have any other ideas or input on what would be helpful in the localization process?
Disclaimer: I am the founder of sejhey.com, a localization platform.
https://redd.it/1n8l303
@r_php
Hi everyone, we are currently developing a new SDK for i18n in PHP. I know what you are thinking, existing solutions like gettext are great, but... I believe PHP deserves more modern features.
The main idea is to let frontend and backend work together in a fashion mainly utilized in modern JS frameworks like next.js, where data is hydrated on the frontend. This means that data can be encoded in the backend and decoded on the frontend which could enable advanced features like In-context editor (edit translations directly on the rendered page), something PHP i18n lacks today.
What we've done so far:
- Everything from gettext, pluralization, variables etc.
- Language detection, cookie, headers, meta data, query params etc.
- In-context editing - Let your contributors edit rendered translations directly on the site.
- Automatic rerender on locale change. (With or without page reload)
- Support for both static translation files in your project, or offloading to our CDN powered by Cloudflare. If you use the CDN, a translations edit will never force you to redeploy any code.
- If CDN is used, we utilize a local cache with SWR to always have the latest translations without compromising speed.
- Lazy loading, only load languages needed.
- If you are using our external platform you'd get glossary, tasks, AI translations, screenshots and much more. But I want to stress that this is optional.
- (Optional language picker)
Do you have any other ideas or input on what would be helpful in the localization process?
Disclaimer: I am the founder of sejhey.com, a localization platform.
https://redd.it/1n8l303
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Try out this ddev addon that uses tailscale
https://github.com/atj4me/ddev-tailscale-router
https://redd.it/1n8ouwt
@r_php
https://github.com/atj4me/ddev-tailscale-router
https://redd.it/1n8ouwt
@r_php
GitHub
GitHub - atj4me/ddev-tailscale-router: A router for Tailnet with MagicDNS and HTTPS
A router for Tailnet with MagicDNS and HTTPS. Contribute to atj4me/ddev-tailscale-router development by creating an account on GitHub.
Which to use? PHP version 8.2, 8.3, 8.4, 8.5?
I'm new to this and this is kind of a silly question but I am curious? What's the benefit of using 8.2 or 8.3 even though newer 8.5 has come out? and Do I have to keep changing my PHP version for my projects as newer version roll out?
https://redd.it/1n8xc9t
@r_php
I'm new to this and this is kind of a silly question but I am curious? What's the benefit of using 8.2 or 8.3 even though newer 8.5 has come out? and Do I have to keep changing my PHP version for my projects as newer version roll out?
https://redd.it/1n8xc9t
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Laravel Revert — Revert new Laravel installations to the original version 5's skeleton (more or less)
https://github.com/masmerise/laravel-revert
https://redd.it/1n8xqgi
@r_php
https://github.com/masmerise/laravel-revert
https://redd.it/1n8xqgi
@r_php
GitHub
GitHub - masmerise/laravel-revert: Revert new Laravel installations to the original version 5's skeleton (more or less).
Revert new Laravel installations to the original version 5's skeleton (more or less). - masmerise/laravel-revert
Celebrating Ryan Weaver Through His Talks
https://symfony.com/blog/celebrating-ryan-weaver-through-his-talks?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n90yy9
@r_php
https://symfony.com/blog/celebrating-ryan-weaver-through-his-talks?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n90yy9
@r_php
Symfony
Celebrating Ryan Weaver Through His Talks (Symfony Blog)
All of Ryan Weaver's Symfony conference talks are now available to watch for free. These sessions highlight his unique teaching style and contributions to the Symfony community.
Blasp v3 is here! 🎉
Hey Laravel devs! Almost a year ago I threw together a profanity filter package over a weekend and shared it here. The feedback was amazing!
Since then it's hit **76K downloads** (still can't believe it) and I've been working on v3 with some killer features:
* **Method chaining**: `Blasp::spanish()->check()` \- so much cleaner!
* **Multi-language support**: English, Spanish, German, French with proper character handling
* **All languages mode**: Check against everything at once with `allLanguages()`
* **60% faster** with better caching
* **100% backward compatible** \- your existing code still works
The multi-language stuff was the most requested feature, and the performance improvements are pretty sweet too.
Still free, still MIT licensed. Would love your feedback!
GitHub: [https://github.com/Blaspsoft/blasp/tree/blasp-v3](https://github.com/Blaspsoft/blasp/tree/blasp-v3)
https://preview.redd.it/lu2wkc0jsbnf1.png?width=1750&format=png&auto=webp&s=13dc058253ef9cc45758fb22d90820c1f5a5183b
https://redd.it/1n91vmt
@r_php
Hey Laravel devs! Almost a year ago I threw together a profanity filter package over a weekend and shared it here. The feedback was amazing!
Since then it's hit **76K downloads** (still can't believe it) and I've been working on v3 with some killer features:
* **Method chaining**: `Blasp::spanish()->check()` \- so much cleaner!
* **Multi-language support**: English, Spanish, German, French with proper character handling
* **All languages mode**: Check against everything at once with `allLanguages()`
* **60% faster** with better caching
* **100% backward compatible** \- your existing code still works
The multi-language stuff was the most requested feature, and the performance improvements are pretty sweet too.
Still free, still MIT licensed. Would love your feedback!
GitHub: [https://github.com/Blaspsoft/blasp/tree/blasp-v3](https://github.com/Blaspsoft/blasp/tree/blasp-v3)
https://preview.redd.it/lu2wkc0jsbnf1.png?width=1750&format=png&auto=webp&s=13dc058253ef9cc45758fb22d90820c1f5a5183b
https://redd.it/1n91vmt
@r_php
GitHub
GitHub - Blaspsoft/blasp at blasp-v3
🤬 🚫 Blasp is a profanity filter package for Laravel that helps detect and mask profane words in a given sentence. It offers a robust set of features for handling variations of offensive language, i...
An Official PHP SDK for MCP Announced
https://laravel-news.com/official-php-sdk-for-mcp-announced
https://redd.it/1n92hub
@r_php
https://laravel-news.com/official-php-sdk-for-mcp-announced
https://redd.it/1n92hub
@r_php
Laravel News
An Official PHP SDK for MCP Announced - Laravel News
An Official PHP SDK for MCP announced in partnership between the PHP Foundation, Anthropic, and Symfony - bringing a standard AI integration to PHP
Symfony to Provide the Official MCP SDK
https://symfony.com/blog/symfony-to-provide-the-official-mcp-sdk?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n91zwy
@r_php
https://symfony.com/blog/symfony-to-provide-the-official-mcp-sdk?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1n91zwy
@r_php
Symfony
Symfony to Provide the Official MCP SDK (Symfony Blog)
Today, we are announcing that Symfony teamed up with The PHP Foundation, and Anthropic to launch the official MCP SDK. Our goal is a framework-agnostic, production-ready library the entire PHP ecosyst…
Updating React version in Laravel + Inertia project
Hello all
I'm just starting a new project using Laravel with Inertia which I have done with Vue many times but my new client has specifically asked for React. I'm wondering how easy and straightforward it is to update the React version as the product is maintained going forward and wondered if anyone had any real world experience in doing this? I've had previous horrendous nightmare experiences upgrading React versions in projects (particularly React Native) so would be interested in hearing the thoughts of others. I've tried to search for information/past experiences but can't find any.
Just to be clear, this is regarding upgrading to a new version of React within an Inertia project, not upgrading Inertia itself.
Thanks all!
https://redd.it/1n90ccp
@r_php
Hello all
I'm just starting a new project using Laravel with Inertia which I have done with Vue many times but my new client has specifically asked for React. I'm wondering how easy and straightforward it is to update the React version as the product is maintained going forward and wondered if anyone had any real world experience in doing this? I've had previous horrendous nightmare experiences upgrading React versions in projects (particularly React Native) so would be interested in hearing the thoughts of others. I've tried to search for information/past experiences but can't find any.
Just to be clear, this is regarding upgrading to a new version of React within an Inertia project, not upgrading Inertia itself.
Thanks all!
https://redd.it/1n90ccp
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
any recommendation for (Websites) for learning PHP/web development in general for beginners?
w3schools was always an option but always find people complaining (it is not bad to be honest)
i tried youtube videos but it's not for me...also there is nearly no (up to date PHP 8 course)
what do you recommend for beginners...(not absolute beginner) but a good learning foundation.
https://redd.it/1n9inyt
@r_php
w3schools was always an option but always find people complaining (it is not bad to be honest)
i tried youtube videos but it's not for me...also there is nearly no (up to date PHP 8 course)
what do you recommend for beginners...(not absolute beginner) but a good learning foundation.
https://redd.it/1n9inyt
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Mturk hit catcher
I need a person who develops robust hit catcher for my use case in mturk platform.
https://redd.it/1n9qsqx
@r_php
I need a person who develops robust hit catcher for my use case in mturk platform.
https://redd.it/1n9qsqx
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Queuing time-consuming tasks asynchronously using Symfony Messenger in a Mezzio middleware application
Tasks that require long execution times are sometimes unavoidable. Dotkernel has its own Queue component that is based on Symfony Messenger. It's an opinionated component that is still growing based on requirements in the field.
What features do you think are vital for queuing?
How do you use asynchronous execution in your projects?
https://www.dotkernel.com/headless-platform/dotkernel-queue-asynchronous-execution-in-dotkernel-headless-platform/
https://redd.it/1n9zopt
@r_php
Tasks that require long execution times are sometimes unavoidable. Dotkernel has its own Queue component that is based on Symfony Messenger. It's an opinionated component that is still growing based on requirements in the field.
What features do you think are vital for queuing?
How do you use asynchronous execution in your projects?
https://www.dotkernel.com/headless-platform/dotkernel-queue-asynchronous-execution-in-dotkernel-headless-platform/
https://redd.it/1n9zopt
@r_php
Dotkernel | Headless Platform for modern web applications
Dotkernel Queue - Asynchronous Execution in Dotkernel Headless Platform
Dotkernel Queue is a component based on Symfony Messenger that is used to queue asynchronous tasks. netglue/laminas-messenger is an adapter that integrates Symfony Messenger with the Laminas Service Manager container for Mezzio/Laminas applications.
Some…
Some…
Is there a hub for showcasing open-source projects?
Hello devs,
Is there a website where developers can share their Laravel open-source projects and engage more with the Laravel community?
I was thinking something like "Product Hunt" but for Laravel projects.
Does something like this exists?
https://redd.it/1na715z
@r_php
Hello devs,
Is there a website where developers can share their Laravel open-source projects and engage more with the Laravel community?
I was thinking something like "Product Hunt" but for Laravel projects.
Does something like this exists?
https://redd.it/1na715z
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
What is current market for PHP developers? What is the average salary?
Hi,
A friend of mine is getting into full-stack development and learning PHP and Laravel, what's the market rn? Is it good vs TypeScript/Next.js?! Or even Python, I want to see people who are employed here and what's the salary range?
https://redd.it/1nan02b
@r_php
Hi,
A friend of mine is getting into full-stack development and learning PHP and Laravel, what's the market rn? Is it good vs TypeScript/Next.js?! Or even Python, I want to see people who are employed here and what's the salary range?
https://redd.it/1nan02b
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
A Week of Symfony #975 (September 1–7, 2025)
https://symfony.com/blog/a-week-of-symfony-975-september-1-7-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1naoany
@r_php
https://symfony.com/blog/a-week-of-symfony-975-september-1-7-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1naoany
@r_php
Symfony
A Week of Symfony #975 (September 1–7, 2025) (Symfony Blog)
This week, Symfony development activity focused on merging new features for the upcoming Symfony 7.4 and 8.0 versions: added a Video constraint, introduced an access_decision() Twig function to get th…
Domain Testing - Rediscovering Test Driven Development for Laravel in the age of AI?
https://www.peterjthomson.com/2025/09/domain-testing/
https://redd.it/1naow7t
@r_php
https://www.peterjthomson.com/2025/09/domain-testing/
https://redd.it/1naow7t
@r_php
Peter J Thomson
Domain Testing - Peter J Thomson
New software is often tested through a variety of methods such as unit testing, feature testing and integration testing. Recently we’ve been making some major upgrades to the Icehouse Ventures investor portal and we’ve wanted to be sure that the changes to…
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/1nayitw
@r_php
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/1nayitw
@r_php
Laravel
Installation - Laravel 12.x - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
PHPCS and PHPCBF disagree
Hello guys. I'm using phpcs to scan for code quality issues. It reported LOTS of CQ errors stating PHPCBF could fix them. I ran PHPCBF and indeed a bunch of them were fixed. However there still LOTS of ERRORS unfixed (and PHPCS says they are fixable with PHPCBF). Any clues on this one?
https://redd.it/1nb0qlb
@r_php
Hello guys. I'm using phpcs to scan for code quality issues. It reported LOTS of CQ errors stating PHPCBF could fix them. I ran PHPCBF and indeed a bunch of them were fixed. However there still LOTS of ERRORS unfixed (and PHPCS says they are fixable with PHPCBF). Any clues on this one?
https://redd.it/1nb0qlb
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community