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
Big news! Larasense is now open source!
Larasense brings together the latest Laravel articles, YouTube videos, and podcasts from credible sources we all know and love. No distractions. Just Laravel.
Whether you're a beginner or seasoned developer, Larasense helps you stay up-to-date without hopping between platforms.
Would love your feedback and contributions.
Let’s build this together the Laravel way. ❤️
Distraction-free. Just Laravel. Community-powered.
🌐 larasense.com
🔗 github.com/nabilhassen/larasense
https://redd.it/1m0aew9
@r_php
Larasense brings together the latest Laravel articles, YouTube videos, and podcasts from credible sources we all know and love. No distractions. Just Laravel.
Whether you're a beginner or seasoned developer, Larasense helps you stay up-to-date without hopping between platforms.
Would love your feedback and contributions.
Let’s build this together the Laravel way. ❤️
Distraction-free. Just Laravel. Community-powered.
🌐 larasense.com
🔗 github.com/nabilhassen/larasense
https://redd.it/1m0aew9
@r_php
Larasense
Larasense - Your Hub for Laravel News, Trends & Updates
Stay updated on Laravel news, trends, and updates with curated content from top blogs, YouTube, and podcasts—all in a sleek, user-friendly design.
Introducing spatie/ping and spatie/simple-tcp-client | freek.dev
https://freek.dev/2885-introducing-spatieping-and-spatiesimple-tcp-client
https://redd.it/1m0c1am
@r_php
https://freek.dev/2885-introducing-spatieping-and-spatiesimple-tcp-client
https://redd.it/1m0c1am
@r_php
freek.dev
Introducing spatie/ping and spatie/simple-tcp-client | freek.dev
We just tagged stable release for two new spatie packages: spatie/ping and spatie/simple-tcp-client. In this blogpost, I'd like to share why these were developed and how you can use them.
PHP - Still a Powerhouse for Web Dev in 2025
I really don’t like hearing “is PHP still alive”, I really don’t. I think we should move to just saying that it is. Paweł Cierzniakowski's recent article is a good example of that. Covering topics like:
Modern Features: PHP 8.X brings stuff like union types, enums, and property hooks, making code safer and cleaner.
Frameworks: Laravel and Symfony are rock-solid for building APIs, queues, or real-time apps.
Real-World Use: Big players like Slack and Tumblr lean on PHP for high-traffic systems. (In the fallout of the article I’ve been hearing that Slack is not using the PHP as of today, but i have found their article [on using Hack with the PHP as of 2023](https://slack.engineering/hakana-taking-hack-seriously/), so let me know if you have some fresher information)
Community: The PHP Foundation, backed by JetBrains and Laravel, keeps the language secure and future-proof.
When I was chatting with Roman Pronskiy we both agreed that it’s time for the community to move away from trying to justify the existence of PHP, and start giving it credit where it’s due. I think that will be beneficial for the whole community. If you want to check the full article you can do it here: https://accesto.com/blog/evaluating-modern-php/
https://redd.it/1m0co77
@r_php
I really don’t like hearing “is PHP still alive”, I really don’t. I think we should move to just saying that it is. Paweł Cierzniakowski's recent article is a good example of that. Covering topics like:
Modern Features: PHP 8.X brings stuff like union types, enums, and property hooks, making code safer and cleaner.
Frameworks: Laravel and Symfony are rock-solid for building APIs, queues, or real-time apps.
Real-World Use: Big players like Slack and Tumblr lean on PHP for high-traffic systems. (In the fallout of the article I’ve been hearing that Slack is not using the PHP as of today, but i have found their article [on using Hack with the PHP as of 2023](https://slack.engineering/hakana-taking-hack-seriously/), so let me know if you have some fresher information)
Community: The PHP Foundation, backed by JetBrains and Laravel, keeps the language secure and future-proof.
When I was chatting with Roman Pronskiy we both agreed that it’s time for the community to move away from trying to justify the existence of PHP, and start giving it credit where it’s due. I think that will be beneficial for the whole community. If you want to check the full article you can do it here: https://accesto.com/blog/evaluating-modern-php/
https://redd.it/1m0co77
@r_php
Engineering at Slack
Hakana: Taking Hack Seriously - Engineering at Slack
TL; DR: We’re announcing a new open source type checker for Hack, called Hakana. Slack launched in 2014, built with a lot of love and also a lot of PHP code. We started migrating to a different language called Hack in 2016. Hack was created by Facebook after…
Everything that is coming in PHP 8.5
https://amitmerchant.com/everything-that-is-coming-in-php-85/
https://redd.it/1m0eq8d
@r_php
https://amitmerchant.com/everything-that-is-coming-in-php-85/
https://redd.it/1m0eq8d
@r_php
Amit Merchant
Everything that is coming in PHP 8.5
As every year, we will have the new version of PHP this year too, which is PHP 8.5. It’s the minor version in the PHP 8 line, and the version will be released later this year. Let’s discuss everything that has been added in PHP 8.5 so far.
DHH on PHP: It changed my life
https://www.youtube.com/watch?v=lAXvkYu2qGs
https://redd.it/1m0eycg
@r_php
https://www.youtube.com/watch?v=lAXvkYu2qGs
https://redd.it/1m0eycg
@r_php
YouTube
DHH on PHP: It changed my life | Lex Fridman Podcast Clips
Lex Fridman Podcast full episode: https://www.youtube.com/watch?v=vagyIcmIGOQ
Thank you for listening ❤ Check out our sponsors: https://lexfridman.com/sponsors/cv8998-sb
See below for guest bio, links, and to give feedback, submit questions, contact Lex,…
Thank you for listening ❤ Check out our sponsors: https://lexfridman.com/sponsors/cv8998-sb
See below for guest bio, links, and to give feedback, submit questions, contact Lex,…
Symfony CLI - Error remove log inside .symfony5\log
Hi !
I'm developping on Symfony for a while and since i'm on Symfony CLI 5.12.0, I can't run the local dev webserver because of this error :
Can someone help me ? I tried to delete the file but it is recreated each time i run the
https://redd.it/1m0h7vz
@r_php
Hi !
I'm developping on Symfony for a while and since i'm on Symfony CLI 5.12.0, I can't run the local dev webserver because of this error :
PS E:\\<some folder> symfony serve -d
remove C:\\Users\\<user>\\.symfony5\\log\\5af26511ec3b976af1990d6abf208be50b786ab8.log: The process cannot access the file because it is being used by another process.
Can someone help me ? I tried to delete the file but it is recreated each time i run the
symfony serve -d commandhttps://redd.it/1m0h7vz
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Request-Interop Now Open For Public Review
https://pmjones.io/post/2025/07/15/request-interop-now-open-for-public-review/
https://redd.it/1m0ho28
@r_php
https://pmjones.io/post/2025/07/15/request-interop-now-open-for-public-review/
https://redd.it/1m0ho28
@r_php
Big news! Larasense is now open source!
Larasense brings together the latest Laravel articles, YouTube videos, and podcasts from credible sources we all know and love. No distractions. Just Laravel.
Whether you're a beginner or seasoned developer, Larasense helps you stay up-to-date without hopping between platforms.
Would love your feedback and contributions.
Let’s build this together the Laravel way. ❤️
Distraction-free. Just Laravel. Community-powered.
🌐 larasense.com
🔗 github.com/nabilhassen/larasense
https://redd.it/1m0jcf7
@r_php
Larasense brings together the latest Laravel articles, YouTube videos, and podcasts from credible sources we all know and love. No distractions. Just Laravel.
Whether you're a beginner or seasoned developer, Larasense helps you stay up-to-date without hopping between platforms.
Would love your feedback and contributions.
Let’s build this together the Laravel way. ❤️
Distraction-free. Just Laravel. Community-powered.
🌐 larasense.com
🔗 github.com/nabilhassen/larasense
https://redd.it/1m0jcf7
@r_php
Larasense
Larasense - Your Hub for Laravel News, Trends & Updates
Stay updated on Laravel news, trends, and updates with curated content from top blogs, YouTube, and podcasts—all in a sleek, user-friendly design.
Seeming lack of major apps built on Laravel, vs RoR and Django?
I'm curious why this might be.
I've been a huge fan of Laravel since discovering it within the last 2 years. If at all possible I nudge my clients towards using it rather than NextJS.
I've recently been on a project with a couple of other devs, and it was a vibe coded NextJS app that got handed to us, just a complete mess. We all fantasized about burning it all down and rewriting it, and the topic of different frameworks came up.
I've played around very briefly with RoR and Django in the past, but never made a serious project with them.
If I look at the various "builtwith" directories, I see quite a few mega projects on those frameworks, famously Github and Shopify were built on RoR. It looks like Instagram, Spotify, Disqus, Dropbox... were built on Django.
When I look for similar examples built on Laravel, they're notably absent. The best I seem to find is that companies like Pfizer and BBC use them internally as parts of their stacks.
What do you all think the reason for this is?
I know that RoR was the OG, and got really popular during the right time in the tech boom, so that's well enough explained, but the fact that by now Laravel doesn't have a notable example of an app in the same tier as the rest mentioned is kind of interesting.
https://redd.it/1m0lgq0
@r_php
I'm curious why this might be.
I've been a huge fan of Laravel since discovering it within the last 2 years. If at all possible I nudge my clients towards using it rather than NextJS.
I've recently been on a project with a couple of other devs, and it was a vibe coded NextJS app that got handed to us, just a complete mess. We all fantasized about burning it all down and rewriting it, and the topic of different frameworks came up.
I've played around very briefly with RoR and Django in the past, but never made a serious project with them.
If I look at the various "builtwith" directories, I see quite a few mega projects on those frameworks, famously Github and Shopify were built on RoR. It looks like Instagram, Spotify, Disqus, Dropbox... were built on Django.
When I look for similar examples built on Laravel, they're notably absent. The best I seem to find is that companies like Pfizer and BBC use them internally as parts of their stacks.
What do you all think the reason for this is?
I know that RoR was the OG, and got really popular during the right time in the tech boom, so that's well enough explained, but the fact that by now Laravel doesn't have a notable example of an app in the same tier as the rest mentioned is kind of interesting.
https://redd.it/1m0lgq0
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Symfony CLI server:start not working anymore - "File not Found"
I have this weird issue that suddenly, symfony cli does not seem to serve public/index.php anymore (Windows, using Ubuntu WLS). I don't remember to have changed anything. I tried removing the .symfony5 folder and reinstalling the binary; I tried using symfony-cli supplied via debian package.
* Standard symfony webpack installation (it does not work in a freshly created folder, either)
* php-fpm (8.4.10) is installed
* Passthru seems to be recognized - there is no error message in contrast to a random folder with no public/index.php
* index.html is served as expected if present
* Accessing any other file (including public/index.php) ends with "File not found"
* Serving the website via php-cli works fine
* Explicitly giving project configuration (`symfony server:start --passthru index.php --document-root public --dir .`) also does not help
I'm a bit at loss on what else to try.
# symfony server:start
Following Web Server log file (/root/.symfony5/log/600d76d15db491de553c950de70d7cd3bac76916.log)
Following PHP-FPM log file (/root/.symfony5/log/600d76d15db491de553c950de70d7cd3bac76916/53fb8ec204547646acb3461995e4da5a54cc7575.log)
[WARNING] The local web server is optimized for local development and MUST never be used in a production setup.
[WARNING] Please note that the Symfony CLI only listens on 127.0.0.1 by default since version 5.10.3.
You can use the --allow-all-ip or --listen-ip flags to change this behavior.
[OK] Web server listening
The Web server is using PHP FPM 8.4.10
https://127.0.0.1:8000
[Web Server ] Jul 15 19:11:56 |DEBUG | PHP Reloading PHP versions
[Web Server ] Jul 15 19:11:56 |DEBUG | PHP Using PHP version 8.4.10 (from default version in $PATH)
[...] logs from former run omitted
[Web Server ] Jul 15 19:11:56 |INFO | PHP listening path="/usr/sbin/php-fpm8.4" php="8.4.10" port=44915
[Web Server ] Jul 15 19:11:56 |DEBUG | PHP Using PHP version 8.4.10 (from default version in $PATH)
[PHP-FPM ] Jul 15 19:11:56 |DEBUG | RUNNER Waiting for channels (first boot) cmd="PHP-FPM"
[PHP-FPM ] Jul 15 19:11:56 |WARNING| FPM JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0
[PHP-FPM ] Jul 15 19:11:56 |NOTICE | FPM fpm is running, pid 124910
[PHP-FPM ] Jul 15 19:11:56 |NOTICE | FPM ready to handle connections
[PHP-FPM ] Jul 15 19:11:56 |NOTICE | FPM systemd monitor interval set to 10000ms
[PHP-FPM ] Jul 15 19:11:58 |DEBUG | RUNNER Received timer message (first boot) cmd="PHP-FPM"
2025/07/15 19:12:09 http: TLS handshake error from 127.0.0.1:45400: remote error: tls: unknown certificate authority
2025/07/15 19:12:09 http: TLS handshake error from 127.0.0.1:45402: remote error: tls: unknown certificate authority
[Web Server ] Jul 15 19:12:15 |INFO | SERVER GET (200) /index.php ip="127.0.0.1"
[Web Server ] Jul 15 19:12:15 |INFO | SERVER GET (200) /favicon.ico
[Web Server ] Jul 15 19:12:18 |INFO | SERVER GET (200) /index.php
What am I missing?
https://redd.it/1m0nwst
@r_php
I have this weird issue that suddenly, symfony cli does not seem to serve public/index.php anymore (Windows, using Ubuntu WLS). I don't remember to have changed anything. I tried removing the .symfony5 folder and reinstalling the binary; I tried using symfony-cli supplied via debian package.
* Standard symfony webpack installation (it does not work in a freshly created folder, either)
* php-fpm (8.4.10) is installed
* Passthru seems to be recognized - there is no error message in contrast to a random folder with no public/index.php
* index.html is served as expected if present
* Accessing any other file (including public/index.php) ends with "File not found"
* Serving the website via php-cli works fine
* Explicitly giving project configuration (`symfony server:start --passthru index.php --document-root public --dir .`) also does not help
I'm a bit at loss on what else to try.
# symfony server:start
Following Web Server log file (/root/.symfony5/log/600d76d15db491de553c950de70d7cd3bac76916.log)
Following PHP-FPM log file (/root/.symfony5/log/600d76d15db491de553c950de70d7cd3bac76916/53fb8ec204547646acb3461995e4da5a54cc7575.log)
[WARNING] The local web server is optimized for local development and MUST never be used in a production setup.
[WARNING] Please note that the Symfony CLI only listens on 127.0.0.1 by default since version 5.10.3.
You can use the --allow-all-ip or --listen-ip flags to change this behavior.
[OK] Web server listening
The Web server is using PHP FPM 8.4.10
https://127.0.0.1:8000
[Web Server ] Jul 15 19:11:56 |DEBUG | PHP Reloading PHP versions
[Web Server ] Jul 15 19:11:56 |DEBUG | PHP Using PHP version 8.4.10 (from default version in $PATH)
[...] logs from former run omitted
[Web Server ] Jul 15 19:11:56 |INFO | PHP listening path="/usr/sbin/php-fpm8.4" php="8.4.10" port=44915
[Web Server ] Jul 15 19:11:56 |DEBUG | PHP Using PHP version 8.4.10 (from default version in $PATH)
[PHP-FPM ] Jul 15 19:11:56 |DEBUG | RUNNER Waiting for channels (first boot) cmd="PHP-FPM"
[PHP-FPM ] Jul 15 19:11:56 |WARNING| FPM JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0
[PHP-FPM ] Jul 15 19:11:56 |NOTICE | FPM fpm is running, pid 124910
[PHP-FPM ] Jul 15 19:11:56 |NOTICE | FPM ready to handle connections
[PHP-FPM ] Jul 15 19:11:56 |NOTICE | FPM systemd monitor interval set to 10000ms
[PHP-FPM ] Jul 15 19:11:58 |DEBUG | RUNNER Received timer message (first boot) cmd="PHP-FPM"
2025/07/15 19:12:09 http: TLS handshake error from 127.0.0.1:45400: remote error: tls: unknown certificate authority
2025/07/15 19:12:09 http: TLS handshake error from 127.0.0.1:45402: remote error: tls: unknown certificate authority
[Web Server ] Jul 15 19:12:15 |INFO | SERVER GET (200) /index.php ip="127.0.0.1"
[Web Server ] Jul 15 19:12:15 |INFO | SERVER GET (200) /favicon.ico
[Web Server ] Jul 15 19:12:18 |INFO | SERVER GET (200) /index.php
What am I missing?
https://redd.it/1m0nwst
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Some PHPStorm discount coupons. 20% Off
1. SDFUY-7AWUL-ED5GF-V387A-8G8LV
2. FWR2Z-AE85B-H8DQN-G343W-R4D6T
https://redd.it/1m0ovau
@r_php
1. SDFUY-7AWUL-ED5GF-V387A-8G8LV
2. FWR2Z-AE85B-H8DQN-G343W-R4D6T
https://redd.it/1m0ovau
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Filter Eloquent models via URL query strings
Hi r/laravel 👋
I've built a package to filter Eloquent models using URL query strings. The package is goodcat/laravel-querystring. I was inspired by Laravel's Local Scope. I'm using the attribute
// http://example.com/users?email=john@doe.com
class User extends Authenticatable
{
use UseQueryString;
#QueryString('email')
public function filterByEmail(Builder $query, string $search): void
{
$query->where('email', $search);
}
}
I’m adding the
class UserController extends Controller
{
public function index(Request $request): View
{
$users = User::query()->queryString($request)->get();
return view('user.index', 'users' => $users);
}
}
Inside the query, I'm using the
There are other functionalities like caching, custom filter objects, multiple
https://redd.it/1m0two7
@r_php
Hi r/laravel 👋
I've built a package to filter Eloquent models using URL query strings. The package is goodcat/laravel-querystring. I was inspired by Laravel's Local Scope. I'm using the attribute
#[QueryString] to tag a method as a "filter" and the Reflection API to map the query string name to the filter. Here's an example:// http://example.com/users?email=john@doe.com
class User extends Authenticatable
{
use UseQueryString;
#QueryString('email')
public function filterByEmail(Builder $query, string $search): void
{
$query->where('email', $search);
}
}
I’m adding the
UseQueryString trait to the User model and marking a method with the QueryString attribute.class UserController extends Controller
{
public function index(Request $request): View
{
$users = User::query()->queryString($request)->get();
return view('user.index', 'users' => $users);
}
}
Inside the query, I'm using the
queryString($request) scope, passing it the request. The query string is automatically mapped to the method, and the filter we wrote earlier is applied. I'm really curious to know what you think!There are other functionalities like caching, custom filter objects, multiple
QueryString attributes, etc.https://redd.it/1m0two7
@r_php
GitHub
GitHub - goodcat-dev/laravel-querystring: A Laravel package to filter Eloquent models using query string parameters.
A Laravel package to filter Eloquent models using query string parameters. - goodcat-dev/laravel-querystring
PHP Async lib without extensions and concurrent libs
https://github.com/terremoth/php-async
https://redd.it/1m0vg6k
@r_php
https://github.com/terremoth/php-async
https://redd.it/1m0vg6k
@r_php
GitHub
GitHub - terremoth/php-async: Async and Parallel Processing with PHP with no threads or reactive libs
Async and Parallel Processing with PHP with no threads or reactive libs - terremoth/php-async