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
Any better alternative to aimeos?
Especially if performance is very important ?!
https://redd.it/1klyw69
@r_php
Especially if performance is very important ?!
https://redd.it/1klyw69
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
how do I secure an admin page for me to use for my own website?
I recently created a website and I am getting tired of manually inserting data using phpadmin. I am planning on creating an admin page for me to use to easily insert data etc. My question is how would I go about that to where I shouldn't face any security issues?
should I just create a website.com/admin type of link? im a newb self learning. help 💀
https://redd.it/1km6zan
@r_php
I recently created a website and I am getting tired of manually inserting data using phpadmin. I am planning on creating an admin page for me to use to easily insert data etc. My question is how would I go about that to where I shouldn't face any security issues?
should I just create a website.com/admin type of link? im a newb self learning. help 💀
https://redd.it/1km6zan
@r_php
FrankenPHP moving under the PHP GitHub organization
https://externals.io/message/127347
https://redd.it/1km87i0
@r_php
https://externals.io/message/127347
https://redd.it/1km87i0
@r_php
externals.io
FrankenPHP moving under the PHP GitHub organization - Externals
#externals - Opening PHP's #internals to the outside
New in Symfony 7.3: Security Improvements
https://symfony.com/blog/new-in-symfony-7-3-security-improvements?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1km9ose
@r_php
https://symfony.com/blog/new-in-symfony-7-3-security-improvements?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1km9ose
@r_php
Symfony
New in Symfony 7.3: Security Improvements (Symfony Blog)
Symfony 7.3 introduces security improvements including safer session password handling, OAuth2 token introspection, OIDC discovery, fine-grained error exposure, and callable-based access checks.
how do you keep your PHP code clean and maintainable?
i’ve noticed that as my PHP projects get bigger, things start to get harder to follow. small fixes turn into messy patches and the codebase gets harder to manage.
what do you do to keep your code clean over time? any tips on structure, naming, or tools that help with maintainability?
https://redd.it/1kmco7g
@r_php
i’ve noticed that as my PHP projects get bigger, things start to get harder to follow. small fixes turn into messy patches and the codebase gets harder to manage.
what do you do to keep your code clean over time? any tips on structure, naming, or tools that help with maintainability?
https://redd.it/1kmco7g
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
SymfonyOnline June 2025: Building an Automated Trading System with Symfony
https://symfony.com/blog/symfonyonline-june-2025-building-an-automated-trading-system-with-symfony?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kmfw6a
@r_php
https://symfony.com/blog/symfonyonline-june-2025-building-an-automated-trading-system-with-symfony?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kmfw6a
@r_php
Symfony
SymfonyOnline June 2025: Building an Automated Trading System with Symfony (Symfony Blog)
Join #SymfonyOnline June 2025 to see how Jonathan Wage built a real automated trading system using Symfony’s best tools in “Building an Automated Trading System with Symfony” 🚀💹
Rethinking Laravel Folder Structure for a Modular Monolith
Hi 👋
I’m starting a relatively large roject and exploring a non-default folder structure that leans into the modular monolith approach. Here’s the structure I’m considering:
- App/Apps/{Admin, API, Console} - for the sub-applications of the project
- App/Modules/…/{Http, Models, Jobs, …} - Laravel style application as a module
- App/Configuration/{Providers, Bootstrapers} - different setup and configuration
- App/Shared - shared components and helpers
What do you think about it? Any comments or feedback?
Thanks!
https://redd.it/1kmqrsm
@r_php
Hi 👋
I’m starting a relatively large roject and exploring a non-default folder structure that leans into the modular monolith approach. Here’s the structure I’m considering:
- App/Apps/{Admin, API, Console} - for the sub-applications of the project
- App/Modules/…/{Http, Models, Jobs, …} - Laravel style application as a module
- App/Configuration/{Providers, Bootstrapers} - different setup and configuration
- App/Shared - shared components and helpers
What do you think about it? Any comments or feedback?
Thanks!
https://redd.it/1kmqrsm
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
New in Symfony 7.3: Namespaced Caches
https://symfony.com/blog/new-in-symfony-7-3-namespaced-caches?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kn3jse
@r_php
https://symfony.com/blog/new-in-symfony-7-3-namespaced-caches?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1kn3jse
@r_php
Symfony
New in Symfony 7.3: Namespaced Caches (Symfony Blog)
Symfony 7.3 introduces namespace-based cache invalidation, allowing you to group and invalidate related cache items efficiently.