PHP Reddit – Telegram
PHP Reddit
34 subscribers
289 photos
37 videos
24.8K links
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Download Telegram
🚀 Built a Free AI Headshot Generator with the TALL stack

Hey folks 👋

I just launched a side project that I built entirely with the **TALL stack (Tailwind, Alpine.js, Laravel, Livewire)** – it’s a **Free AI Headshot Generator**.

👉 Try it here: [https://gemsofai.com/tools/free-ai-headshot-generator](https://gemsofai.com/tools/free-ai-headshot-generator)

**What it does:**

* Upload a regular photo (or capture with camera)
* Generates a professional AI-enhanced headshot in seconds
* Free to use (with optional premium to buy more credits)

Your feedback is much appreciated.

Thanks a lot for checking it out 🙏

https://redd.it/1n8395t
@r_php
[Show & Tell] Larabuild – AI-powered Blade + Tailwind playground for Laravel developers

I’ve relaunched [Larabuild](https://larabuild.com), a side project I originally built as a “v0.dev-style” tool, but focused on Laravel + Livewire.

The idea is to save time when you’re an engineer who isn’t a designer: you describe what you want to build, and Larabuild generates **clean Blade + Tailwind v4 components** you can drop straight into your app.

What makes it different from generic AI UI tools:

* **Blade logic, not just HTML** – it generates loops, conditionals, and `@php $sample_data` blocks so you can see how your components will behave.
* **Two outputs** – • `generated_code`: the real Blade + Tailwind you can copy into your project. • `preview_code`: a safe, static HTML preview with sample data (no PHP execution).
* **Security first** – previews are sandboxed with a strict CSP and sanitisation (no noscripts, env/config/db calls, or other server-side access).
* **Project organisation** – give the AI context and keep generations grouped together.
* **Coming soon** – set brand colours/typography once and get consistent designs across components.
* **Learning Resource** \- It will eventually have a learning mode, teaching you best practices, rather than just throwing code at you.

Access:

* No signup required: 10 free prompts to try it immediately.
* Free account: 100 prompts each month.
* No paywall right now — just exploring whether this is something the community finds useful.

Would love to hear your feedback and impressions.

[https://larabuild.com](https://larabuild.com)

https://redd.it/1n84vb4
@r_php
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
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
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
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
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
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
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