How are you all handling scheduled jobs and observability for background tasks like invoicing?
We've complex app built on top of symfony components a where we have background jobs like sending invoices, daily syncs etc.
Currently, we're triggering these jobs on a schedule and pushing them into a queue, but there's a concern around lack of observability like not knowing if a job actually ran, how long it took, or if/why it failed, unless we dig into logs or the queue backend.
Our devops team suggested moving this logic into an external workflow tool (like n8n) that calls our app’s API. That would give us history, logs, retries, error notifications, etc. But I’m still thinking whether there’s a better or more standard approach.
https://redd.it/1lynib9
@r_php
We've complex app built on top of symfony components a where we have background jobs like sending invoices, daily syncs etc.
Currently, we're triggering these jobs on a schedule and pushing them into a queue, but there's a concern around lack of observability like not knowing if a job actually ran, how long it took, or if/why it failed, unless we dig into logs or the queue backend.
Our devops team suggested moving this logic into an external workflow tool (like n8n) that calls our app’s API. That would give us history, logs, retries, error notifications, etc. But I’m still thinking whether there’s a better or more standard approach.
https://redd.it/1lynib9
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
year 0 php developer here , what skills should i have at the end of the year to become irreplacable
i have just started and i wanna know me php
https://redd.it/1lyt8ax
@r_php
i have just started and i wanna know me php
https://redd.it/1lyt8ax
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
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/1lyxtxm
@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/1lyxtxm
@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.
Kicking off the Symfony AI Initiative
https://symfony.com/blog/kicking-off-the-symfony-ai-initiative
https://redd.it/1lz31i3
@r_php
https://symfony.com/blog/kicking-off-the-symfony-ai-initiative
https://redd.it/1lz31i3
@r_php
Symfony
Kicking off the Symfony AI Initiative (Symfony Blog)
Using spatie/laravel-data with Doctrine
Haven't seen this combo yet on here. Anybody use this combination, and which Collection library do you use? I'm thinking that I will need to use doctrine/collection instead of laravel-data's so that Doctrine doesn't break.
https://redd.it/1lz5f28
@r_php
Haven't seen this combo yet on here. Anybody use this combination, and which Collection library do you use? I'm thinking that I will need to use doctrine/collection instead of laravel-data's so that Doctrine doesn't break.
https://redd.it/1lz5f28
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Weekly Ask Anything Thread
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
https://redd.it/1lzbrx5
@r_php
Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.
https://redd.it/1lzbrx5
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Built a tool to help my YouTube audience actually finish their projects, maybe it can help you too
Hey all,
Gio here from the ProgramWithGio YouTube channel. I don't post much here on Reddit, but I wanted to share a project I released some time ago.
I create coding tutorials focused on PHP & Laravel, and want to help people actually build portfolios, not just watch videos. The problem is, after watching a tutorial, people often don't know what to work on next or how to structure their learning into real projects.
So I built CodeArch. It's basically a project management tool designed to give you a guided path for building projects, so you always know what to work on next. I also built it to scratch my own itch. If you're like me, you probably have a graveyard of unfinished side projects. You start with a great idea and tons of motivation, but then scope creep sets in, you get lost in what to do next, and that initial excitement kind of fades away. CodeArch attempts to solve this by breaking down projects into clear, actionable tasks with gamified elements so you feel a sense of reward and progress after completing each one.
For my YouTube audience, this reinforces the content I create. I'm curating projects and recording full walkthroughs, so you can follow along and actually complete what we start. But I'm also designing this to be useful beyond my YouTube community, I believe it could help any developer build projects step by step with clear direction. I'd love to see if that theory holds up and if it resonates with developers outside my audience.
I'm focusing on PHP & Laravel developers since that's my niche, but the tool can work for any stack. You can create project roadmaps yourself, and in the future I'm planning to let you share them with the community or enroll in highly-ranked community project paths. You can also use the built-in AI support to generate project breakdowns with a simple prompt and select a custom stack where you describe your tech stack in the prompt. You can watch a course on YouTube, Laracasts, CodeCourse, or Udemy and then feed some of the topics you learned into CodeArch to generate a project breakdown that you can follow.
Some features I want to add if I see there's enough interest include an AI assistant for individual tasks when you get stuck, exportable project and task context for tools like Cursor, ClaudeCode, ChatGPT, etc., daily/weekly coding challenges, and the ability to share your custom project breakdowns with other developers.
It's free. Down the road I might add a premium tier with extra AI credits and features, maybe even hands-on support from me, but monetizing isn't my priority right now. I genuinely want to see if this solves the "tutorial hell" problem for other developers.
Honestly, I built this to solve my own problem of helping my audience actually start & finish projects. If it's useful beyond my YouTube community, that's awesome. If not, at least my subscribers will benefit.
Check it out at codearch.app
You can also watch the announcement video if you prefer video format: https://www.youtube.com/watch?v=jGqE4HQFwHg
Thanks!
https://redd.it/1lzdir9
@r_php
Hey all,
Gio here from the ProgramWithGio YouTube channel. I don't post much here on Reddit, but I wanted to share a project I released some time ago.
I create coding tutorials focused on PHP & Laravel, and want to help people actually build portfolios, not just watch videos. The problem is, after watching a tutorial, people often don't know what to work on next or how to structure their learning into real projects.
So I built CodeArch. It's basically a project management tool designed to give you a guided path for building projects, so you always know what to work on next. I also built it to scratch my own itch. If you're like me, you probably have a graveyard of unfinished side projects. You start with a great idea and tons of motivation, but then scope creep sets in, you get lost in what to do next, and that initial excitement kind of fades away. CodeArch attempts to solve this by breaking down projects into clear, actionable tasks with gamified elements so you feel a sense of reward and progress after completing each one.
For my YouTube audience, this reinforces the content I create. I'm curating projects and recording full walkthroughs, so you can follow along and actually complete what we start. But I'm also designing this to be useful beyond my YouTube community, I believe it could help any developer build projects step by step with clear direction. I'd love to see if that theory holds up and if it resonates with developers outside my audience.
I'm focusing on PHP & Laravel developers since that's my niche, but the tool can work for any stack. You can create project roadmaps yourself, and in the future I'm planning to let you share them with the community or enroll in highly-ranked community project paths. You can also use the built-in AI support to generate project breakdowns with a simple prompt and select a custom stack where you describe your tech stack in the prompt. You can watch a course on YouTube, Laracasts, CodeCourse, or Udemy and then feed some of the topics you learned into CodeArch to generate a project breakdown that you can follow.
Some features I want to add if I see there's enough interest include an AI assistant for individual tasks when you get stuck, exportable project and task context for tools like Cursor, ClaudeCode, ChatGPT, etc., daily/weekly coding challenges, and the ability to share your custom project breakdowns with other developers.
It's free. Down the road I might add a premium tier with extra AI credits and features, maybe even hands-on support from me, but monetizing isn't my priority right now. I genuinely want to see if this solves the "tutorial hell" problem for other developers.
Honestly, I built this to solve my own problem of helping my audience actually start & finish projects. If it's useful beyond my YouTube community, that's awesome. If not, at least my subscribers will benefit.
Check it out at codearch.app
You can also watch the announcement video if you prefer video format: https://www.youtube.com/watch?v=jGqE4HQFwHg
Thanks!
https://redd.it/1lzdir9
@r_php
YouTube
Program With Gio
Hello & welcome to my channel!
I've been coding for over a decade & my very first website was built with HTML, CSS, & PHP all in a single index.php file (good old times). I decided to make my own channel and start producing content on things that I know…
I've been coding for over a decade & my very first website was built with HTML, CSS, & PHP all in a single index.php file (good old times). I decided to make my own channel and start producing content on things that I know…
Weekly help thread
Hey there!
This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!
https://redd.it/1lzeq6p
@r_php
Hey there!
This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!
https://redd.it/1lzeq6p
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Laravel: Upload Large Files with Filepond and Chunks
https://www.youtube.com/watch?v=xxo2uX5HoM8
https://redd.it/1lzgqhb
@r_php
https://www.youtube.com/watch?v=xxo2uX5HoM8
https://redd.it/1lzgqhb
@r_php
YouTube
Laravel: Upload Large Files with Filepond and Chunks
A quick demonstration of how to upload big files, like videos, without changing the configuration limits in your web-server or php.ini.
- Code repository: https://github.com/LaravelDaily/laravel-chunk-uploads
- Filepond homepage: https://pqina.nl/filepond/…
- Code repository: https://github.com/LaravelDaily/laravel-chunk-uploads
- Filepond homepage: https://pqina.nl/filepond/…
DTOs, when does it become too much?
Hi guys, I hope you are all good. I started working on a new project over the last week, and was using DTOs(nothing fancy, just read-only classes and properties), and this got me thinking, when does it become too much(or is there even anything like too much DTOs). When does DTOs become "harmful"?
Is there a point like "okay, this are too many DTOs, you should consider a different pattern or approach"?
Sorry if this seems like a vague question, I just can't get it out of my mind and thought I'd ask other Devs.
https://redd.it/1lzgnxr
@r_php
Hi guys, I hope you are all good. I started working on a new project over the last week, and was using DTOs(nothing fancy, just read-only classes and properties), and this got me thinking, when does it become too much(or is there even anything like too much DTOs). When does DTOs become "harmful"?
Is there a point like "okay, this are too many DTOs, you should consider a different pattern or approach"?
Sorry if this seems like a vague question, I just can't get it out of my mind and thought I'd ask other Devs.
https://redd.it/1lzgnxr
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Building a code graph for PHP
Are there any tools that support codifying PHP codebases into a graph - like for Neo4j? I know there are some for Python, JavaScript, and Typenoscript. But I haven’t seen anything for PHP yet.
https://redd.it/1lzhgkz
@r_php
Are there any tools that support codifying PHP codebases into a graph - like for Neo4j? I know there are some for Python, JavaScript, and Typenoscript. But I haven’t seen anything for PHP yet.
https://redd.it/1lzhgkz
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Using a "heartbeat" pattern for cron jobs bad practice?
I've built an app that currently uses cron jobs managed through the built-in cron manager in my Cloudways hosting panel. It's functional but hard to read, and making changes requires logging into the host panel and editing the jobs manually.
I'm considering switching to a "heartbeat" cron approach: setting up a single cron job that runs every minute and calls a noscript. That noscript would then check a database or config for scheduled tasks, log activity, and run any jobs that are due. This would also let me build a GUI in my app to manage the job schedule more easily.
Is this heartbeat-style cron setup considered bad practice? Or is there a better alternative for managing scheduled jobs in a more flexible, programmatic way?
https://redd.it/1lzjire
@r_php
I've built an app that currently uses cron jobs managed through the built-in cron manager in my Cloudways hosting panel. It's functional but hard to read, and making changes requires logging into the host panel and editing the jobs manually.
I'm considering switching to a "heartbeat" cron approach: setting up a single cron job that runs every minute and calls a noscript. That noscript would then check a database or config for scheduled tasks, log activity, and run any jobs that are due. This would also let me build a GUI in my app to manage the job schedule more easily.
Is this heartbeat-style cron setup considered bad practice? Or is there a better alternative for managing scheduled jobs in a more flexible, programmatic way?
https://redd.it/1lzjire
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
NativePHP for Mobile v1.1 is released!
https://nativephp.com/blog/mobile-v1-1-is-here
https://redd.it/1lzmhk0
@r_php
https://nativephp.com/blog/mobile-v1-1-is-here
https://redd.it/1lzmhk0
@r_php
Nativephp
Build native applications, with the tools you already know.
AI's effect on developer-friendly frameworks like Livewire?
I've been tinkering with Copilot's Agent mode over the last month or so, and it got me thinking; a framework like Livewire that sacrifices some performance in an effort to provide significant improvements to the developer experience... is that gonna go by the wayside? It pains me to say because I really love Livewire, but as we write less and less of our own code by hand, it seems logical to assume there will be less and less importance placed on super convenient things like most of what Livewire offers.
Thoughts?
https://redd.it/1lzobw7
@r_php
I've been tinkering with Copilot's Agent mode over the last month or so, and it got me thinking; a framework like Livewire that sacrifices some performance in an effort to provide significant improvements to the developer experience... is that gonna go by the wayside? It pains me to say because I really love Livewire, but as we write less and less of our own code by hand, it seems logical to assume there will be less and less importance placed on super convenient things like most of what Livewire offers.
Thoughts?
https://redd.it/1lzobw7
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Built a tool for my YouTube audience to actually finish their projects, maybe it can be useful for you too
Hey all,
Gio here from the ProgramWithGio YouTube channel. I don't post much here on Reddit, but I wanted to share a project I released some time ago.
I create coding tutorials focused on PHP & Laravel, and want people to actually build portfolios, not just watch videos. After watching a tutorial, people often don't know what to work on next.
So I built CodeArch. It's basically a project management tool designed to give you a guided path for building projects, so you always know what to work on next. I also built it to scratch my own itch. If you're like me, you probably have a graveyard of unfinished side projects. You start with a great idea and tons of motivation, but then scope creep sets in, you get lost in what to do next, and that initial excitement kind of fades away. CodeArch attempts to solve this by breaking down projects into clear, actionable tasks with gamified elements so you feel a sense of reward and progress after completing each one.
For my YouTube audience, this reinforces the content I create. I'm curating projects and recording full walkthroughs, so you can follow along and actually complete what we start. But I'm also designing this to be useful beyond my YouTube community, I believe it could be useful for any developer to build projects step by step with clear direction. I'd love to see if that theory holds up and if it resonates with developers outside my audience.
I'm focusing on PHP & Laravel developers since that's my niche, but the tool can work for any stack. You can create project roadmaps yourself, and in the future I'm planning to let you share them with the community or enroll in highly-ranked community project paths. You can also use the built-in AI support to generate project breakdowns with a simple prompt and select a custom stack where you describe your tech stack in the prompt. You can watch a course on YouTube, Laracasts, CodeCourse, or Udemy and then feed some of the topics you learned into CodeArch to generate a project breakdown that you can follow.
Some features I want to add if I see there's enough interest include an AI assistant for individual tasks when you get stuck, exportable project and task context for tools like Cursor, ClaudeCode, ChatGPT, etc., daily/weekly coding challenges, and the ability to share your custom project breakdowns with other developers.
It's free. Down the road I might add a premium tier with extra AI credits and features, maybe even hands-on support from me, but monetizing isn't my priority right now. I genuinely want to see if this solves the "tutorial hell" problem for other developers.
Honestly, I built this to solve my own problem of helping my audience actually start & finish projects. If it's useful beyond my YouTube community, that's awesome. If not, at least my subscribers will benefit.
Check it out at codearch.app
You can also watch the announcement video if you prefer video format: https://www.youtube.com/watch?v=jGqE4HQFwHg
Thanks!
https://redd.it/1lzp35x
@r_php
Hey all,
Gio here from the ProgramWithGio YouTube channel. I don't post much here on Reddit, but I wanted to share a project I released some time ago.
I create coding tutorials focused on PHP & Laravel, and want people to actually build portfolios, not just watch videos. After watching a tutorial, people often don't know what to work on next.
So I built CodeArch. It's basically a project management tool designed to give you a guided path for building projects, so you always know what to work on next. I also built it to scratch my own itch. If you're like me, you probably have a graveyard of unfinished side projects. You start with a great idea and tons of motivation, but then scope creep sets in, you get lost in what to do next, and that initial excitement kind of fades away. CodeArch attempts to solve this by breaking down projects into clear, actionable tasks with gamified elements so you feel a sense of reward and progress after completing each one.
For my YouTube audience, this reinforces the content I create. I'm curating projects and recording full walkthroughs, so you can follow along and actually complete what we start. But I'm also designing this to be useful beyond my YouTube community, I believe it could be useful for any developer to build projects step by step with clear direction. I'd love to see if that theory holds up and if it resonates with developers outside my audience.
I'm focusing on PHP & Laravel developers since that's my niche, but the tool can work for any stack. You can create project roadmaps yourself, and in the future I'm planning to let you share them with the community or enroll in highly-ranked community project paths. You can also use the built-in AI support to generate project breakdowns with a simple prompt and select a custom stack where you describe your tech stack in the prompt. You can watch a course on YouTube, Laracasts, CodeCourse, or Udemy and then feed some of the topics you learned into CodeArch to generate a project breakdown that you can follow.
Some features I want to add if I see there's enough interest include an AI assistant for individual tasks when you get stuck, exportable project and task context for tools like Cursor, ClaudeCode, ChatGPT, etc., daily/weekly coding challenges, and the ability to share your custom project breakdowns with other developers.
It's free. Down the road I might add a premium tier with extra AI credits and features, maybe even hands-on support from me, but monetizing isn't my priority right now. I genuinely want to see if this solves the "tutorial hell" problem for other developers.
Honestly, I built this to solve my own problem of helping my audience actually start & finish projects. If it's useful beyond my YouTube community, that's awesome. If not, at least my subscribers will benefit.
Check it out at codearch.app
You can also watch the announcement video if you prefer video format: https://www.youtube.com/watch?v=jGqE4HQFwHg
Thanks!
https://redd.it/1lzp35x
@r_php
YouTube
Program With Gio
Hello & welcome to my channel!
I've been coding for over a decade & my very first website was built with HTML, CSS, & PHP all in a single index.php file (good old times). I decided to make my own channel and start producing content on things that I know…
I've been coding for over a decade & my very first website was built with HTML, CSS, & PHP all in a single index.php file (good old times). I decided to make my own channel and start producing content on things that I know…
Starter kits not asking which db to use
Just very curious about this since i just started using the new starter kits but why did they make it so that the cli doesn't ask you anymore which database you want to use? If it's just plain laravel-blade it does ask which db to use but starter kits don't why is that? I know you can migrate later if you want but just seemed a little weird to me.
https://redd.it/1lzq4px
@r_php
Just very curious about this since i just started using the new starter kits but why did they make it so that the cli doesn't ask you anymore which database you want to use? If it's just plain laravel-blade it does ask which db to use but starter kits don't why is that? I know you can migrate later if you want but just seemed a little weird to me.
https://redd.it/1lzq4px
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
NativePHP for Mobile v1.1 is released!
https://nativephp.com/blog/mobile-v1-1-is-here
https://redd.it/1lztgsk
@r_php
https://nativephp.com/blog/mobile-v1-1-is-here
https://redd.it/1lztgsk
@r_php
Nativephp
Build native applications, with the tools you already know.
AI my few thoughts
I know it’s r/PHP, but I work as PHP dev and I want to share some thoughts.
I was trying to use AI from the very beginning when first models were released in my daily work and adapt it to my needs.
Unfortunately it wasn’t easy before agents came out and I always ended up being frustrated.
Now when agents are available and I can create strict rule how agent should act and what should know about project, it’s really helpful tool.
I can write business requirements to agent and it does the job in 90%, the remaining 10% is my code review to make sure everything is as I’d do it.
It really speed up my work, such a great tool.
https://redd.it/1lzya2w
@r_php
I know it’s r/PHP, but I work as PHP dev and I want to share some thoughts.
I was trying to use AI from the very beginning when first models were released in my daily work and adapt it to my needs.
Unfortunately it wasn’t easy before agents came out and I always ended up being frustrated.
Now when agents are available and I can create strict rule how agent should act and what should know about project, it’s really helpful tool.
I can write business requirements to agent and it does the job in 90%, the remaining 10% is my code review to make sure everything is as I’d do it.
It really speed up my work, such a great tool.
https://redd.it/1lzya2w
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community