Add a custom file in config/packages
I want to add a custom config file
I think it's because there's no package JobOffer, but how can i fix it please ? That config file is sent to one of my services.
https://redd.it/1nd8s9m
@r_php
I want to add a custom config file
config/packages/job_offers.yaml. But i face an error:In FileLoader.php line 177:
There is no extension able to load the configuration for "job_offer" (in "C:\Users\Asmitta\sources\phenix-emploi/config/packages/job_offer.
yaml"). Looked for namespace "job_offer", found "framework", "doctrine", "doctrine_migrations", "debug", "twig", "web_profiler", "stimulus"
, "turbo", "twig_extra", "security", "monolog", "maker", "doctrine_fixtures", "twig_component", "autocomplete", "dropzone", "asmitta_form_f
low", "live_component", "chartjs", "mercure", "a2lix_auto_form", "a2lix_translation_form", "doctrine_behaviors", "knp_paginator", "presta_s
itemap" in C:\Users\Asmitta\sources\phenix-emploi/config/packages/job_offer.yaml (which is being imported from "C:\Users\Asmitta\sources\ph
enix-emploi\src\Kernel.php").
In YamlFileLoader.php line 814:
There is no extension able to load the configuration for "job_offer" (in "C:\Users\Asmitta\sources\phenix-emploi/config/packages/job_offer.
yaml"). Looked for namespace "job_offer", found "framework", "doctrine", "doctrine_migrations", "debug", "twig", "web_profiler", "stimulus"
, "turbo", "twig_extra", "security", "monolog", "maker", "doctrine_fixtures", "twig_component", "autocomplete", "dropzone", "asmitta_form_f
low", "live_component", "chartjs", "mercure", "a2lix_auto_form", "a2lix_translation_form", "doctrine_behaviors", "knp_paginator", "presta_s
itemap".
I think it's because there's no package JobOffer, but how can i fix it please ? That config file is sent to one of my services.
https://redd.it/1nd8s9m
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
will the forge 2 have a way to go around with mails?
hi, my setup is domains and mini-hosting by hostcreators, a small local company, then i have dns redirecting to digitalocean, because it's forge-connectable vps service.
now i have smtp at hostcreators, but they use ports 465 and 587, which are blocked by do.
so while paying for their mailing service, i also have to pay for mailgun.
since forge 2 vps' will be using do's servers, i assume these ports will still be blocked.
forge devs, is there a chance i could unblock these ports, so i don't have to pay 2 mailing subnoscriptions please?
https://redd.it/1nd83xh
@r_php
hi, my setup is domains and mini-hosting by hostcreators, a small local company, then i have dns redirecting to digitalocean, because it's forge-connectable vps service.
now i have smtp at hostcreators, but they use ports 465 and 587, which are blocked by do.
so while paying for their mailing service, i also have to pay for mailgun.
since forge 2 vps' will be using do's servers, i assume these ports will still be blocked.
forge devs, is there a chance i could unblock these ports, so i don't have to pay 2 mailing subnoscriptions please?
https://redd.it/1nd83xh
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
In-depth guide on documenting API responses with Scramble
https://laravel-news.com/in-depth-guide-on-documenting-api-responses-with-scramble
https://redd.it/1ndaued
@r_php
https://laravel-news.com/in-depth-guide-on-documenting-api-responses-with-scramble
https://redd.it/1ndaued
@r_php
Laravel News
In-depth guide on documenting API responses with Scramble - Laravel News
An in-depth guide on documenting API responses with Scramble.
Introducing Laritor: Performance Monitoring & Observability Tailored for Laravel
https://laritor.com/?utm_source=reddit&utm_medium=subreddit&utm_campaign=php
https://redd.it/1ndc3ti
@r_php
https://laritor.com/?utm_source=reddit&utm_medium=subreddit&utm_campaign=php
https://redd.it/1ndc3ti
@r_php
Laritor
Performance Monitoring & Observability for Laravel Apps
Laritor delivers real-time performance monitoring & observability for Laravel apps with AI-powered insights, customizable dashboards, instant alerts, and detailed request tracing.
SheafUI Starter Kit, Zero dependency Laravel boilerplate with 16 components you actually own
SheafUI Starter Kit is different:
When you install it, you get 16 beautiful UI components that are copy-pasted directly into your Laravel project. They become YOUR code. Modify them, customize them, remove SheafUI CLI entirely if you want and your components stay.
What's included:
\- Complete authentication system (registration, login, password reset)
\- Dashboard with functional components
\- User settings and profile management
\- Toast notification system (works with Livewire + controllers)
\- 16 production-ready UI components (buttons, forms, modals, etc.)
\- Zero external dependencies (except sheaf/cli for installation)
True code ownership:
\- Copy-paste installation model
\- No vendor lock-in
\- Remove SheafUI anytime - your code remains
Check it out: https://sheafui.dev/docs/guides/starter-kit
Anyone else tired of not actually owning their UI code? What's your experience with vendor lock-in?
https://redd.it/1nd8yhg
@r_php
SheafUI Starter Kit is different:
When you install it, you get 16 beautiful UI components that are copy-pasted directly into your Laravel project. They become YOUR code. Modify them, customize them, remove SheafUI CLI entirely if you want and your components stay.
What's included:
\- Complete authentication system (registration, login, password reset)
\- Dashboard with functional components
\- User settings and profile management
\- Toast notification system (works with Livewire + controllers)
\- 16 production-ready UI components (buttons, forms, modals, etc.)
\- Zero external dependencies (except sheaf/cli for installation)
True code ownership:
\- Copy-paste installation model
\- No vendor lock-in
\- Remove SheafUI anytime - your code remains
Check it out: https://sheafui.dev/docs/guides/starter-kit
Anyone else tired of not actually owning their UI code? What's your experience with vendor lock-in?
https://redd.it/1nd8yhg
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
UX SweetAlert, a Symfony bundle integrating the SweetAlert2 library in Symfony applications.
Looking to enhance your Symfony application's UX with elegant modal dialogs and toast notifications? Meet UX SweetAlert, a Symfony UX bundle that seamlessly integrates SweetAlert2 into your PHP backend and Twig frontend.
UX SweetAlert gives you an elegant, JavaScript-powered feedback system directly from your Symfony controllers — no need to manage messy JS state manually.
If you're already using Symfony UX and Stimulus, this is a no-brainer.
📦 GitHub repository : https://github.com/pentiminax/ux-sweet-alert
https://redd.it/1ndir9k
@r_php
Looking to enhance your Symfony application's UX with elegant modal dialogs and toast notifications? Meet UX SweetAlert, a Symfony UX bundle that seamlessly integrates SweetAlert2 into your PHP backend and Twig frontend.
UX SweetAlert gives you an elegant, JavaScript-powered feedback system directly from your Symfony controllers — no need to manage messy JS state manually.
If you're already using Symfony UX and Stimulus, this is a no-brainer.
📦 GitHub repository : https://github.com/pentiminax/ux-sweet-alert
https://redd.it/1ndir9k
@r_php
sweetalert2.github.io
SweetAlert2 - a beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes
Person Name - Split Names, Format with Ease
https://github.com/Lak-M/person-name
https://redd.it/1ne01v3
@r_php
https://github.com/Lak-M/person-name
https://redd.it/1ne01v3
@r_php
GitHub
GitHub - Lak-M/person-name: Format personal names in various styles-full, abbreviated, familiar, etc. based on country specific…
Format personal names in various styles-full, abbreviated, familiar, etc. based on country specific conventions - Lak-M/person-name
Do you embed PHP code in the blade file or barely? If you do, where is the boundary that determines that it is fine in the blade or it should be in the PHP component class? I'm in a bind.
Which is better for passing and displaying schedules to the calendar that uses CSS grid? In the livewire component, ready the collection with empty items for the sake of putting an empty grid item and display the schedules correctly or do it in the blade file by writing/embedding php code and using foreach loop?
https://redd.it/1ndzftt
@r_php
Which is better for passing and displaying schedules to the calendar that uses CSS grid? In the livewire component, ready the collection with empty items for the sake of putting an empty grid item and display the schedules correctly or do it in the blade file by writing/embedding php code and using foreach loop?
https://redd.it/1ndzftt
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Are PHP developers underestimating the power of typed properties in real projects?
PHP has been gradually adding type safety features like typed properties and union types. In real-world applications, are developers actually using these features to improve code reliability, or do they mostly stick to dynamic typing out of habit? I’d love to hear examples or experiences of teams successfully adopting these features - or the challenges you’ve faced in doing so.
https://redd.it/1ne1txj
@r_php
PHP has been gradually adding type safety features like typed properties and union types. In real-world applications, are developers actually using these features to improve code reliability, or do they mostly stick to dynamic typing out of habit? I’d love to hear examples or experiences of teams successfully adopting these features - or the challenges you’ve faced in doing so.
https://redd.it/1ne1txj
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Laravel Notifications: dynamic channels, priority, and delayed sending
https://crnkovic.me/laravel-notifications-on-steroids
https://redd.it/1ne3ygt
@r_php
https://crnkovic.me/laravel-notifications-on-steroids
https://redd.it/1ne3ygt
@r_php
crnkovic.me
Laravel Notifications: dynamic channels, priority, and delayed sending - Josip Crnković
Learn how to make Laravel notifications super powerful: multi-channel, delayed sending, and customizable.
PHP Portfolio shocase
Hey everyone,
I have wrote a simple php portfolio, i want to showcare here because its my first php project.
give a star if you like it, here is a repo link with site deployed with gh
Repo: https://github.com/c0d3h01/php-portfolio
Site Deployed: **https://c0d3h01.github.io/php-portfolio/**
https://redd.it/1ne5vst
@r_php
Hey everyone,
I have wrote a simple php portfolio, i want to showcare here because its my first php project.
give a star if you like it, here is a repo link with site deployed with gh
Repo: https://github.com/c0d3h01/php-portfolio
Site Deployed: **https://c0d3h01.github.io/php-portfolio/**
https://redd.it/1ne5vst
@r_php
GitHub
GitHub - c0d3h01/php-portfolio: Personal portfolio written in PHP
Personal portfolio written in PHP. Contribute to c0d3h01/php-portfolio development by creating an account on GitHub.
Save the date, SymfonyDay Montreal 2026!
https://symfony.com/blog/save-the-date-symfonyday-montreal-2026?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1ne9ejp
@r_php
https://symfony.com/blog/save-the-date-symfonyday-montreal-2026?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1ne9ejp
@r_php
Symfony
Save the date, SymfonyDay Montreal 2026! (Symfony Blog)
Save the date! SymfonDay Montreal 2026 is set for June 4. Don’t miss out and register today! Get involved as an attendee or sponsor!
Automatically investigate and fix production and performance problems in PHP projects using AI
https://flareapp.io/blog/connect-your-ai-agent-to-flare-to-automatically-fix-production-and-performance-problems-in-php-and-laravel-projects
https://redd.it/1ne8jf2
@r_php
https://flareapp.io/blog/connect-your-ai-agent-to-flare-to-automatically-fix-production-and-performance-problems-in-php-and-laravel-projects
https://redd.it/1ne8jf2
@r_php
Reddit
From the PHP community on Reddit: Automatically investigate and fix production and performance problems in PHP projects using AI
Posted by freekmurze - 0 votes and 1 comment
MapQueryBuilder in 7.3 parsing problem
Hello everyone,
I have a problem in app, and I wondered if any of you had the same ?
I have a route with an invoke like this :
__invoke(...stuffs, #[MapRequestPayload] MyDTO $dto)
{
dump($dto);
}
MyDTO class construct looks like this :
public function __construct(
..stuffs,
/**@var array<MyOtherDTO> */
public array $otherDTOs = []
)
The problem is that when getting datas from the request through the MapRequestPayload, instead of having in MyDTO an array of MyOtherDTO, I get an array of arrays...
I tried to rollback to Symfony 7.2 and it reworked perfectly, so I'm sure the problem was introduced by the update to 7.3.
Does any of you have similar issue ?
Thx 😀
https://redd.it/1nebngt
@r_php
Hello everyone,
I have a problem in app, and I wondered if any of you had the same ?
I have a route with an invoke like this :
__invoke(...stuffs, #[MapRequestPayload] MyDTO $dto)
{
dump($dto);
}
MyDTO class construct looks like this :
public function __construct(
..stuffs,
/**@var array<MyOtherDTO> */
public array $otherDTOs = []
)
The problem is that when getting datas from the request through the MapRequestPayload, instead of having in MyDTO an array of MyOtherDTO, I get an array of arrays...
I tried to rollback to Symfony 7.2 and it reworked perfectly, so I'm sure the problem was introduced by the update to 7.3.
Does any of you have similar issue ?
Thx 😀
https://redd.it/1nebngt
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
My open source project passed 1k stars on Github in 5 months!
https://github.com/inspector-apm/neuron-ai
https://redd.it/1neeav2
@r_php
https://github.com/inspector-apm/neuron-ai
https://redd.it/1neeav2
@r_php
GitHub
GitHub - neuron-core/neuron-ai: The PHP Agentic Framework to build production-ready AI driven applications. Connect components…
The PHP Agentic Framework to build production-ready AI driven applications. Connect components (LLMs, vector DBs, memory) to agents that can interact with your data. With its modular architecture i...
Is PHP still in demand in the AI-Tech era?
Well, guys you will agree with me - AI can write basic codes or maybe advanced code in the upcoming days. But AI lacks creativity and leadership. That's where human come into the picture. If you're creative enough and the one who like to play with code then, nobody can take your job. You are in demand today, tomorrow and in the future.
Let me give you some data which makes my statement more stronger.
According to Clariontech, PHP is used by approximately 75%-79% of all websites utilizing server-side language, with WordPress (built on PHP) alone fueling up 43% of the internet world in 2025. A survey done by Stack Overflow Developer in 2025 revealed that PHP becomes the top 10 most utilized language among developers worldwide, which shows the strong dominance of PHP in the global market.
Now, comes to the job scope of PHP. According to Bitbyhost, the demand for PHP developer is skyrocketing in this AI era, with hunders and thousands of job posting worldwide and salaries averaging $89,500 in the US (Indeed Salary Data, 2025).
Now comes to the entry-level PHP jobs.
According to Accesto, entry-level PHP developer job continues to increase due to vast number of PHP-based legacy systems and ongoing site development, especially for CMS solutions and APIs.
From these data, we can say that PHP is not "dead", it holds a strong position in the modern web development with continued updates and vast developers ecosystem.
As PHP has huge demand in the market so, US medium-sized and giant companies like Microsoft, Meta, Technource and Bairesdev are hiring PHP developers by offering attractive packages because they know the value of PHP developers in this AI-Tech era.
So, guys from the above data and statements you can understand the essence and demand for PHP developers in 2025. So, if you want to learn PHP then, go for it without any second thought. If you're persuing PHP then, focus and learn it and also become creative which makes you unique in the long-term.
One thing is left to say from my side "All the Best guys for your upcoming bright and shiny career."
https://redd.it/1nev73v
@r_php
Well, guys you will agree with me - AI can write basic codes or maybe advanced code in the upcoming days. But AI lacks creativity and leadership. That's where human come into the picture. If you're creative enough and the one who like to play with code then, nobody can take your job. You are in demand today, tomorrow and in the future.
Let me give you some data which makes my statement more stronger.
According to Clariontech, PHP is used by approximately 75%-79% of all websites utilizing server-side language, with WordPress (built on PHP) alone fueling up 43% of the internet world in 2025. A survey done by Stack Overflow Developer in 2025 revealed that PHP becomes the top 10 most utilized language among developers worldwide, which shows the strong dominance of PHP in the global market.
Now, comes to the job scope of PHP. According to Bitbyhost, the demand for PHP developer is skyrocketing in this AI era, with hunders and thousands of job posting worldwide and salaries averaging $89,500 in the US (Indeed Salary Data, 2025).
Now comes to the entry-level PHP jobs.
According to Accesto, entry-level PHP developer job continues to increase due to vast number of PHP-based legacy systems and ongoing site development, especially for CMS solutions and APIs.
From these data, we can say that PHP is not "dead", it holds a strong position in the modern web development with continued updates and vast developers ecosystem.
As PHP has huge demand in the market so, US medium-sized and giant companies like Microsoft, Meta, Technource and Bairesdev are hiring PHP developers by offering attractive packages because they know the value of PHP developers in this AI-Tech era.
So, guys from the above data and statements you can understand the essence and demand for PHP developers in 2025. So, if you want to learn PHP then, go for it without any second thought. If you're persuing PHP then, focus and learn it and also become creative which makes you unique in the long-term.
One thing is left to say from my side "All the Best guys for your upcoming bright and shiny career."
https://redd.it/1nev73v
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
My PHP httpresponsecode is not sending status 200 but status code 302?
Hi all I am facing an issue with my Webhook response code whereby I am sending a Http response code of 302 (redirect) based on my http server logs.
This 302 redirect is overriding my default HTTP response code 200 I have set up in my noscripts.
The 302 redirect is coming from the requireonce in my main noscript below but it is after my httpresponsecode(200).
Any suggestion how do I ensure only my main noscript's httpresponcecode(200) is being sent out and not the requireonce files.
We are using PHP version 5 on our end.
Code snippet as below:
if (hashequals($providedsignature, $yourHash)) {
httpresponsecode(200);
if ($product === 'v1'){
$pymntGateway='curlec';
requireonce "v1backend.php"; (302 redirect from here)
}
elseif ($product === 'v2'){
$pymntGateway='curlec';
requireonce "v2backend.php"; (302 redirect from here)
}
else{
httpresponsecode(202);
exit('Unknown product.');
}
}
else{
httpresponsecode(403); // Forbidden
exit('Invalid signature.');
}
https://redd.it/1nexuc6
@r_php
Hi all I am facing an issue with my Webhook response code whereby I am sending a Http response code of 302 (redirect) based on my http server logs.
This 302 redirect is overriding my default HTTP response code 200 I have set up in my noscripts.
The 302 redirect is coming from the requireonce in my main noscript below but it is after my httpresponsecode(200).
Any suggestion how do I ensure only my main noscript's httpresponcecode(200) is being sent out and not the requireonce files.
We are using PHP version 5 on our end.
Code snippet as below:
if (hashequals($providedsignature, $yourHash)) {
httpresponsecode(200);
if ($product === 'v1'){
$pymntGateway='curlec';
requireonce "v1backend.php"; (302 redirect from here)
}
elseif ($product === 'v2'){
$pymntGateway='curlec';
requireonce "v2backend.php"; (302 redirect from here)
}
else{
httpresponsecode(202);
exit('Unknown product.');
}
}
else{
httpresponsecode(403); // Forbidden
exit('Invalid signature.');
}
https://redd.it/1nexuc6
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
[Tutorial] Building Secure PHP Apps with Symfony
https://youtu.be/UuknxVdqzb4?feature=shared
https://redd.it/1nf06xx
@r_php
https://youtu.be/UuknxVdqzb4?feature=shared
https://redd.it/1nf06xx
@r_php
YouTube
Secure PHP Apps with Symfony & MongoDB – Full Course for Beginners
Build highly secure web applications using PHP and Symfony. You'll learn to code a financial transactions application from the ground up, leveraging PHP, Symfony, MongoDB Atlas, Doctrine MongoDB ODM, and MongoDB's Queryable Encryption (QE) to perform queries…
[Tutorial] Building Secure PHP Apps with Symfony
https://youtu.be/UuknxVdqzb4?feature=shared
https://redd.it/1nf0846
@r_php
https://youtu.be/UuknxVdqzb4?feature=shared
https://redd.it/1nf0846
@r_php
YouTube
Secure PHP Apps with Symfony & MongoDB – Full Course for Beginners
Build highly secure web applications using PHP and Symfony. You'll learn to code a financial transactions application from the ground up, leveraging PHP, Symfony, MongoDB Atlas, Doctrine MongoDB ODM, and MongoDB's Queryable Encryption (QE) to perform queries…