Improved Use Directive, Typed Array Helpers & Without Dispatching After Response in Laravel 12.11
https://youtu.be/DkTWHBXXR0I
https://redd.it/1kkmp4r
@r_php
https://youtu.be/DkTWHBXXR0I
https://redd.it/1kkmp4r
@r_php
YouTube
Improved Use Directive, Typed Array Helpers & Without Dispatching After Response in Laravel 12.11
What's new in Laravel is back! We share new features of the Laravel framework every week 🙌 (v12.11)
1️⃣ Improve @use directive with function
https://github.com/laravel/framework/pull/55583
2️⃣ Typed Getters for Arr Helpers
https://github.com/laravel…
1️⃣ Improve @use directive with function
https://github.com/laravel/framework/pull/55583
2️⃣ Typed Getters for Arr Helpers
https://github.com/laravel…
New in Symfony 7.3: Explaining Security Voter Decisions
https://symfony.com/blog/new-in-symfony-7-3-explaining-security-voter-decisions?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kknu2l
@r_php
https://symfony.com/blog/new-in-symfony-7-3-explaining-security-voter-decisions?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kknu2l
@r_php
Symfony
New in Symfony 7.3: Explaining Security Voter Decisions (Symfony Blog)
In Symfony 7.3, security voters can now explain their decisions, making it easier to debug authorization issues.
MVC versus Middleware
What is the opinion related to middleware architecture : single action handlers versus controllers ?
Did somebody use middleware architecture ?
PSR-7 and PSR-15 ?
https://redd.it/1kkoomx
@r_php
What is the opinion related to middleware architecture : single action handlers versus controllers ?
Did somebody use middleware architecture ?
PSR-7 and PSR-15 ?
https://redd.it/1kkoomx
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Junie, the AI coding agent by JetBrains, is now available in PhpStorm! 🎉
https://x.com/phpstorm/status/1921874046200713229
https://redd.it/1kkpahm
@r_php
https://x.com/phpstorm/status/1921874046200713229
https://redd.it/1kkpahm
@r_php
Reddit
From the PHP community on Reddit: Junie, the AI coding agent by JetBrains, is now available in PhpStorm! 🎉
Posted by giggsey - 0 votes and 1 comment
Volet: An extensible customer feedback widget for Laravel
https://github.com/mydnic/volet
https://redd.it/1kkqp2v
@r_php
https://github.com/mydnic/volet
https://redd.it/1kkqp2v
@r_php
GitHub
GitHub - mydnic/volet: Extensible customer feedback widget for Laravel
Extensible customer feedback widget for Laravel. Contribute to mydnic/volet development by creating an account on GitHub.
How to create custom Laravel package?
https://backpackforlaravel.com/articles/tutorials/how-to-create-custom-laravel-packages
https://redd.it/1kkqip6
@r_php
https://backpackforlaravel.com/articles/tutorials/how-to-create-custom-laravel-packages
https://redd.it/1kkqip6
@r_php
Backpack
How to create custom Laravel packages
What is a custom package? A custom package is a reusable piece of code that can be used across different projects to avoid code duplica...
How do you handle business logic running on millions of records in php?
Do you use PHP for UI then have business logic in backend SQL or C or some other processing layer? do you have time out limits on log running processes?
Or is this a non-issue because the system never gets large enough to worry about processing so many records?
I considered whether to use records or objects or classes or "big data" but I wanted to keep the noscript simple meaning data that you create using PHP/Laravel/ORM/Symphony etc - not something that you are importing.
https://redd.it/1kksq3x
@r_php
Do you use PHP for UI then have business logic in backend SQL or C or some other processing layer? do you have time out limits on log running processes?
Or is this a non-issue because the system never gets large enough to worry about processing so many records?
I considered whether to use records or objects or classes or "big data" but I wanted to keep the noscript simple meaning data that you create using PHP/Laravel/ORM/Symphony etc - not something that you are importing.
https://redd.it/1kksq3x
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Content caching with Statamic
https://joeymckenzie.tech/blog/content-caching-with-statamic
https://redd.it/1kkx1u2
@r_php
https://joeymckenzie.tech/blog/content-caching-with-statamic
https://redd.it/1kkx1u2
@r_php
Strategy Pattern: How I refactored my if/else monster into clean and easy testable code 🥳
I recently ended up in een if/else hell, so I decided to refactor. Wrote down what I did in this blog post, let me know what you think:
https://medium.com/@ingelbrechtrobin/strategy-pattern-because-your-giant-if-statement-is-crying-for-help-48e979d9a399
https://redd.it/1kkyigz
@r_php
I recently ended up in een if/else hell, so I decided to refactor. Wrote down what I did in this blog post, let me know what you think:
https://medium.com/@ingelbrechtrobin/strategy-pattern-because-your-giant-if-statement-is-crying-for-help-48e979d9a399
https://redd.it/1kkyigz
@r_php
Medium
Strategy Pattern: Because Your Giant if Statement is Crying for Help
A practical guide to eliminating complex conditionals and achieving clean, modular code through behavioural design pattern.
Strategy Pattern: How I refactored my if/else monster into clean and easy testable code 🥳
I recently ended up in een if/else hell, so I decided to refactor. Wrote down what I did in this blog post, let me know what you think
https://medium.com/@ingelbrechtrobin/strategy-pattern-because-your-giant-if-statement-is-crying-for-help-48e979d9a399
https://redd.it/1kkyh9h
@r_php
I recently ended up in een if/else hell, so I decided to refactor. Wrote down what I did in this blog post, let me know what you think
https://medium.com/@ingelbrechtrobin/strategy-pattern-because-your-giant-if-statement-is-crying-for-help-48e979d9a399
https://redd.it/1kkyh9h
@r_php
Medium
Strategy Pattern: Because Your Giant if Statement is Crying for Help
A practical guide to eliminating complex conditionals and achieving clean, modular code through behavioural design pattern.
I've created a Laravel package for service facades
I know this might be very surprising, since Laravel invented the service facades. So why?
The answer is quite simple: portability. Imagine if you could use the same service facades in your PHP applications, regardless of the framework you're using. A la PSR, I would say.
The base classes for service facades are defined here: https://github.com/lagdo/facades.
The following packages are currently available:
Symfony: [https://github.com/lagdo/symfony-facades](https://github.com/lagdo/symfony-facades)
Laravel (yes): https://github.com/lagdo/laravel-facades
CakePHP: [https://github.com/lagdo/cake-facades](https://github.com/lagdo/cake-facades)
Yii: https://github.com/lagdo/yii-facades
It is easy to support other frameworks or applications, since the library only needs to be provided with a PSR-11 container.
https://redd.it/1kkxp75
@r_php
I know this might be very surprising, since Laravel invented the service facades. So why?
The answer is quite simple: portability. Imagine if you could use the same service facades in your PHP applications, regardless of the framework you're using. A la PSR, I would say.
The base classes for service facades are defined here: https://github.com/lagdo/facades.
The following packages are currently available:
Symfony: [https://github.com/lagdo/symfony-facades](https://github.com/lagdo/symfony-facades)
Laravel (yes): https://github.com/lagdo/laravel-facades
CakePHP: [https://github.com/lagdo/cake-facades](https://github.com/lagdo/cake-facades)
Yii: https://github.com/lagdo/yii-facades
It is easy to support other frameworks or applications, since the library only needs to be provided with a PSR-11 container.
https://redd.it/1kkxp75
@r_php
GitHub
GitHub - lagdo/facades: Base classes to implement service facades
Base classes to implement service facades. Contribute to lagdo/facades development by creating an account on GitHub.
Built an outfit suggestion engine with Laravel + Vue — discussing SSR, SEO, and structure decisions
Hey Laravel devs 👋
I recently launched [CloveMix.in](http://clovemix.in/?utm_source=reddit&utm_medium=subreddit&utm_campaign=laravel), a fashion app that recommends full outfit combinations instead of just products — with the core stack being **Laravel + Inertia + Vue 3**.
As someone navigating both SEO and UX at the same time, I wanted to open up a discussion on some architectural decisions that might be helpful (or debatable):
* **SEO with Inertia**: I used server-rendered meta tags via Laravel Blade + Inertia's `<Head />` component. What are your best practices for indexing with this stack?
* **Sitemap & robots.txt**: Dynamically generating URLs for product + outfit pages — curious if anyone else here automated image indexing via sitemap XML?
* **JSON-LD structured data**: Anyone submitting structured product or catalog data directly to Google via Search Console? Results?
I'm happy to share my sitemap, robots.txt, and SEO setup if helpful to others building SPAs with Laravel backends.
Would love to hear what tools, packages, or strategies you use when balancing dynamic frontend experiences with SEO for discovery.
https://redd.it/1kl2rm6
@r_php
Hey Laravel devs 👋
I recently launched [CloveMix.in](http://clovemix.in/?utm_source=reddit&utm_medium=subreddit&utm_campaign=laravel), a fashion app that recommends full outfit combinations instead of just products — with the core stack being **Laravel + Inertia + Vue 3**.
As someone navigating both SEO and UX at the same time, I wanted to open up a discussion on some architectural decisions that might be helpful (or debatable):
* **SEO with Inertia**: I used server-rendered meta tags via Laravel Blade + Inertia's `<Head />` component. What are your best practices for indexing with this stack?
* **Sitemap & robots.txt**: Dynamically generating URLs for product + outfit pages — curious if anyone else here automated image indexing via sitemap XML?
* **JSON-LD structured data**: Anyone submitting structured product or catalog data directly to Google via Search Console? Results?
I'm happy to share my sitemap, robots.txt, and SEO setup if helpful to others building SPAs with Laravel backends.
Would love to hear what tools, packages, or strategies you use when balancing dynamic frontend experiences with SEO for discovery.
https://redd.it/1kl2rm6
@r_php
Version 1.2.0 of Laravel Mux package released
I’ve just released version 1.2.0 of my Laravel package for Mux, which adds an easy-to-use Blade component for showing videos via a Mux Player instance. Check out the release here: https://github.com/martinbean/mux-php-laravel/tree/1.2.0
For those not familiar with Mux, it’s essentially the “Stripe of video”. It makes creating video-based applications incredibly easy by offering APIs to upload, transcode, and securely and cost-effectively deliver video content. You can find out more about Mux, and their products and services at https://www.mux.com
https://redd.it/1kl4nty
@r_php
I’ve just released version 1.2.0 of my Laravel package for Mux, which adds an easy-to-use Blade component for showing videos via a Mux Player instance. Check out the release here: https://github.com/martinbean/mux-php-laravel/tree/1.2.0
For those not familiar with Mux, it’s essentially the “Stripe of video”. It makes creating video-based applications incredibly easy by offering APIs to upload, transcode, and securely and cost-effectively deliver video content. You can find out more about Mux, and their products and services at https://www.mux.com
https://redd.it/1kl4nty
@r_php
GitHub
GitHub - martinbean/mux-php-laravel at 1.2.0
Laravel wrapper for the official Mux PHP SDK. Contribute to martinbean/mux-php-laravel development by creating an account on GitHub.
💬 Laravel 12 Real-Time Chat App Using Reverb 🚀
https://youtu.be/_Rfy_8Zm5HY?si=NhFq5mPcQ31FFtsA
https://redd.it/1klf862
@r_php
https://youtu.be/_Rfy_8Zm5HY?si=NhFq5mPcQ31FFtsA
https://redd.it/1klf862
@r_php
YouTube
Laravel 12 Real-Time Chat App using Reverb
🔥 Learn how to build a Real-Time Chat Application in Laravel 12 using Reverb, Laravel’s official WebSocket server! In this step-by-step tutorial, you'll master sending and receiving live chat messages instantly without page reloads.
✅ What you’ll learn:…
✅ What you’ll learn:…
New in Symfony 7.3: ObjectMapper Component
https://symfony.com/blog/new-in-symfony-7-3-objectmapper-component?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1klgdwa
@r_php
https://symfony.com/blog/new-in-symfony-7-3-objectmapper-component?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1klgdwa
@r_php
Symfony
New in Symfony 7.3: ObjectMapper Component (Symfony Blog)
Symfony 7.3 introduces the ObjectMapper component to eliminate repetitive mapping code between objects.
Website Remote desktop
Have a question, it's there some way to mirror my desktop to my website?
I mean, remote desktop, but with no app, just using HTML, or Java... and upload it to my host/website and link it to my domain.
As screen mirror, but website version. Is it possible?
https://redd.it/1klhdc4
@r_php
Have a question, it's there some way to mirror my desktop to my website?
I mean, remote desktop, but with no app, just using HTML, or Java... and upload it to my host/website and link it to my domain.
As screen mirror, but website version. Is it possible?
https://redd.it/1klhdc4
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Where do you guys find jobs to apply for?
I'm based in Europe, Romania specifically.
The last time I searched for a job was about 5 years ago. Now I find myself searching for one again. And oh boy things have changed. My usual strategy was to set "Open to work" on linkedin and somebody contacted me within a day or two.
I did the same thing, and yes people have contacted me but the salary ranges are low balls at best. I got a single good range and(as it goes) I haven't heard back from them.
I know the market's in the shitter right now but I'll admit I didn't expect it would be this terrible.
For my fellow EU folks, got any tips?
https://redd.it/1kli597
@r_php
I'm based in Europe, Romania specifically.
The last time I searched for a job was about 5 years ago. Now I find myself searching for one again. And oh boy things have changed. My usual strategy was to set "Open to work" on linkedin and somebody contacted me within a day or two.
I did the same thing, and yes people have contacted me but the salary ranges are low balls at best. I got a single good range and(as it goes) I haven't heard back from them.
I know the market's in the shitter right now but I'll admit I didn't expect it would be this terrible.
For my fellow EU folks, got any tips?
https://redd.it/1kli597
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
I have an interview tomorrow. The company I'm interviewing for is using Symfony. I haven't used Symfony in close to 5 years. Tips?
Pretty much noscript. I'm currently using Laravel and no framework(back and forth between the 2) at my current job.
What questions can I expect? I would assume the most used parts of Symfony would be a good guess: Doctrine, forms maybe(shudder), caching maybe, tests I would guess.
I want to at least read the docs, but clearly I can't read it all by tomorrow so I want to be strategic about it.
https://redd.it/1kllb25
@r_php
Pretty much noscript. I'm currently using Laravel and no framework(back and forth between the 2) at my current job.
What questions can I expect? I would assume the most used parts of Symfony would be a good guess: Doctrine, forms maybe(shudder), caching maybe, tests I would guess.
I want to at least read the docs, but clearly I can't read it all by tomorrow so I want to be strategic about it.
https://redd.it/1kllb25
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
SymfonyOnline June 2025: Demystify the Magic of the Container🪄
https://symfony.com/blog/symfonyonline-june-2025-demystify-the-magic-of-the-container?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1klpnhv
@r_php
https://symfony.com/blog/symfonyonline-june-2025-demystify-the-magic-of-the-container?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1klpnhv
@r_php
Symfony
SymfonyOnline June 2025: Demystify the Magic of the Container🪄 (Symfony Blog)
Join us at #SymfonyOnline June 2025 to explore the magic behind Symfony’s container with Oliver Kossin in Demystify the Magic of the Container. 🪄
Symfony app and DigitalOcean, /icons folder 404
Hello,
I have weird problem.
After deploying on digitalocean and setting apache files.
I get 404 error for loading /icons/ and everything from it.
I tried /css, /js and other folders and it works.
In vhosts document root is set for /public.
When I check content of folder /icons all is there and i have right permissions
Locally it works.
I cannot access with url: /icons something it gives 404 not found
Any help is appreciated
https://redd.it/1klqs3s
@r_php
Hello,
I have weird problem.
After deploying on digitalocean and setting apache files.
I get 404 error for loading /icons/ and everything from it.
I tried /css, /js and other folders and it works.
In vhosts document root is set for /public.
When I check content of folder /icons all is there and i have right permissions
Locally it works.
I cannot access with url: /icons something it gives 404 not found
Any help is appreciated
https://redd.it/1klqs3s
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community