NewRelic vs Nightwatch
Hello guys,
is anyone out there using New Relic for log ingestion, APM, infrastructure monitoring (nginx, database, frontend js errors) and alerts and thinks New Relic is overkill and considers switching to Nightwatch?
Feel free to share any experience with New Relic and Laravel ecosystem :)
Thanks!
https://redd.it/1lg06yt
@r_php
Hello guys,
is anyone out there using New Relic for log ingestion, APM, infrastructure monitoring (nginx, database, frontend js errors) and alerts and thinks New Relic is overkill and considers switching to Nightwatch?
Feel free to share any experience with New Relic and Laravel ecosystem :)
Thanks!
https://redd.it/1lg06yt
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Introducing Toolkits: Composable AI Agent Capabilities In PHP
https://inspector.dev/introducing-toolkits-composable-ai-agent-capabilities-in-php/
https://redd.it/1lg3zdn
@r_php
https://inspector.dev/introducing-toolkits-composable-ai-agent-capabilities-in-php/
https://redd.it/1lg3zdn
@r_php
Inspector
Introducing Toolkits: Composable AI Agent Capabilities In PHP
Neuron PHP toolkits bundle AI agent capabilities into reusable components, enabling PHP developers to add tool sets with single-line code.
Introducing Toolkits: Composable AI Agent Capabilities In PHP
https://inspector.dev/introducing-toolkits-composable-ai-agent-capabilities-in-php/
https://redd.it/1lg3yab
@r_php
https://inspector.dev/introducing-toolkits-composable-ai-agent-capabilities-in-php/
https://redd.it/1lg3yab
@r_php
Inspector
Introducing Toolkits: Composable AI Agent Capabilities In PHP
Neuron PHP toolkits bundle AI agent capabilities into reusable components, enabling PHP developers to add tool sets with single-line code.
Is Flux too slow or am I missing something?
Hi everyone I am a huge Livewire fan and I liked Flux so much however its incredibly slow. When I use normal Alpine dropdown page speed 80ms when I add flux dropdown page speed with sample data it increases page speed to 1.7 seconds. I checked this using Laravel debugbar and when I use simple alpine dropdown page render 7 views and when I use flux dropdown it render 230 views. What is going on?
https://redd.it/1lg6ljv
@r_php
Hi everyone I am a huge Livewire fan and I liked Flux so much however its incredibly slow. When I use normal Alpine dropdown page speed 80ms when I add flux dropdown page speed with sample data it increases page speed to 1.7 seconds. I checked this using Laravel debugbar and when I use simple alpine dropdown page render 7 views and when I use flux dropdown it render 230 views. What is going on?
https://redd.it/1lg6ljv
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
BosonPHP - a fast, modern and high-quality replacement for Electron (or rather NativePHP)
Reddit isn't usually used for lengthy denoscriptions, so I'll keep this brief =)
BosonPHP is a comprehensive toolkit and runtime for creating desktop applications using PHP (what a surprise), HTML, CSS, and JavaScript.
Key advantages over NativePHP:
Requires only PHP; no Node.js or additional dependencies
Lightweight runtime (\~30 MB vs \~1300 MB for NativePHP)
Compiles to a single binary (\~10 MB) that requires no installation (NativePHP creates installers that unpack all source files)
No unnecessary HTTP servers — the process itself is the application (NativePHP spawns multiple Node.js and PHP processes)
Significantly faster than web applications: \~1.5–3 ms for Symfony in debug (sic!) mode (NativePHP measured \~160 ms on Laravel production builds during my testing)
Builds production-ready applications in seconds (NativePHP takes minutes and may crash due to memory overflow)
Use any framework: Laravel, Symfony... Or build your own using Swoole, ReactPHP or Amphp (NativePHP offers no such choice)
True native PHP with direct OS API access, including machine code execution (assembler injections like C/C++)
NativePHP is "native" in name only (this limitation inspired BosonPHP's creation)
Current limitations:
Version 0.14 (not stable) vs NativePHP's stable 1.x releases
Website design needs polish (NativePHP's site is excellent)
NativePHP has much more API for interaction with the OS (notifications, tray, etc.). In the case of BosonPHP, there is not so much of it yet.
Currently supports macOS, Linux, and Windows only (NativePHP also supports Android and iOS)
Compiler lacks features: no icon specification, app denoscription, version embedding, or app signing capabilities (for OS-dependent store publications)
Memory management: keeps PHP app in memory vs NativePHP's process-per-action approach (can cause issues with frameworks like Laravel that leak and fragment memory even with Octane)
No funding and a higher bus factor
That seems to be all!
GitHub: https://github.com/boson-php/boson
Documentation: https://bosonphp.com
P.S. When comparing, I might not be accurate regarding NativePHP, because I checked it only on Windows (and briefly Linux). However, the authors of NativePHP are on Reddit, so this post may be updated if they point out any mistakes.
https://redd.it/1lgtyp3
@r_php
Reddit isn't usually used for lengthy denoscriptions, so I'll keep this brief =)
BosonPHP is a comprehensive toolkit and runtime for creating desktop applications using PHP (what a surprise), HTML, CSS, and JavaScript.
Key advantages over NativePHP:
Requires only PHP; no Node.js or additional dependencies
Lightweight runtime (\~30 MB vs \~1300 MB for NativePHP)
Compiles to a single binary (\~10 MB) that requires no installation (NativePHP creates installers that unpack all source files)
No unnecessary HTTP servers — the process itself is the application (NativePHP spawns multiple Node.js and PHP processes)
Significantly faster than web applications: \~1.5–3 ms for Symfony in debug (sic!) mode (NativePHP measured \~160 ms on Laravel production builds during my testing)
Builds production-ready applications in seconds (NativePHP takes minutes and may crash due to memory overflow)
Use any framework: Laravel, Symfony... Or build your own using Swoole, ReactPHP or Amphp (NativePHP offers no such choice)
True native PHP with direct OS API access, including machine code execution (assembler injections like C/C++)
NativePHP is "native" in name only (this limitation inspired BosonPHP's creation)
Current limitations:
Version 0.14 (not stable) vs NativePHP's stable 1.x releases
Website design needs polish (NativePHP's site is excellent)
NativePHP has much more API for interaction with the OS (notifications, tray, etc.). In the case of BosonPHP, there is not so much of it yet.
Currently supports macOS, Linux, and Windows only (NativePHP also supports Android and iOS)
Compiler lacks features: no icon specification, app denoscription, version embedding, or app signing capabilities (for OS-dependent store publications)
Memory management: keeps PHP app in memory vs NativePHP's process-per-action approach (can cause issues with frameworks like Laravel that leak and fragment memory even with Octane)
No funding and a higher bus factor
That seems to be all!
GitHub: https://github.com/boson-php/boson
Documentation: https://bosonphp.com
P.S. When comparing, I might not be accurate regarding NativePHP, because I checked it only on Windows (and briefly Linux). However, the authors of NativePHP are on Reddit, so this post may be updated if they point out any mistakes.
https://redd.it/1lgtyp3
@r_php
BOSON Help
Machine Code Executor | BOSON
Is there a pdf of PHP & MySQL by Jon Duckett that i can buy ?
Hello devs, can anyone please help me find a pdf that i can buy at least coz this book only available outside my country and the shipping is ridiculously high.
Thanks guys 🙏
https://redd.it/1lgw59y
@r_php
Hello devs, can anyone please help me find a pdf that i can buy at least coz this book only available outside my country and the shipping is ridiculously high.
Thanks guys 🙏
https://redd.it/1lgw59y
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Neuron AI is a LangChain and LangGraph like implement for PHP.
https://docs.neuron-ai.dev/
Neuron AI is a LangChain and LangGraph like implement for PHP.
It covers all features and well architectured implementation. It covers all features like AI Agent , Chat memory, AI Providers, Agentic AI, RAG etc
I was reading the documentation of Neuron AI from morning. Really well documented - I should say
It's documented such that it's good for very beginners with proper reasons.
I am happy to see this in PHP...
https://redd.it/1lgynr5
@r_php
https://docs.neuron-ai.dev/
Neuron AI is a LangChain and LangGraph like implement for PHP.
It covers all features and well architectured implementation. It covers all features like AI Agent , Chat memory, AI Providers, Agentic AI, RAG etc
I was reading the documentation of Neuron AI from morning. Really well documented - I should say
It's documented such that it's good for very beginners with proper reasons.
I am happy to see this in PHP...
https://redd.it/1lgynr5
@r_php
docs.neuron-ai.dev
Introduction | Neuron
Learn what Neuron is and what you can do with it.
Top php authentication system in 2025?
What’s recommended for best php authentication systems these days? (Free is nice.)
https://redd.it/1lh1gm9
@r_php
What’s recommended for best php authentication systems these days? (Free is nice.)
https://redd.it/1lh1gm9
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
What should I catch up with in Laravel ecosystem (been out of the game for more than a year)
I have worked with PHP for 8+ years now and 5+ years have been with Laravel. I took a break for more than a year and now I am ready to get back to work. A lot can change in a year and I would love to know what are the things I should look into especially in Laravel ecosystem. Would few weeks be enough for this?
https://redd.it/1lh1mu0
@r_php
I have worked with PHP for 8+ years now and 5+ years have been with Laravel. I took a break for more than a year and now I am ready to get back to work. A lot can change in a year and I would love to know what are the things I should look into especially in Laravel ecosystem. Would few weeks be enough for this?
https://redd.it/1lh1mu0
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
How to make WordPress fun/tolerable in 2025?
If I were to build out a site where I'm in control of the hosting, and can build it on 8.2 or 8.3, what are some things I should do to make it enjoyable? What features in the language/ecosystem do you find really improve the experience? Especially things like data migrations and static analysis. Building out dtos and type hinting, psalm/phpstan @template generics, etc. What discoveries have you found really improve the dx?
https://redd.it/1lh1ud8
@r_php
If I were to build out a site where I'm in control of the hosting, and can build it on 8.2 or 8.3, what are some things I should do to make it enjoyable? What features in the language/ecosystem do you find really improve the experience? Especially things like data migrations and static analysis. Building out dtos and type hinting, psalm/phpstan @template generics, etc. What discoveries have you found really improve the dx?
https://redd.it/1lh1ud8
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Operating without foreign key constraints
This week I've seen Chris Fidao talked about the fact that we should get rid of foreign key constraints: https://x.com/fideloper/status/1935327770919252016
PlanetScale also recommends to get rid of them. Apparently, at scale, it becomes a problem.
Just to clarify: we are not talking about removing foreign keys. Only foreign key constraints.
When foreign key constraints are not there, you, the developer, have to make sure that related rows are deleted. There are many strategies to do this.
Have you tried to get rid of the constraints? How did it go? What strategy have you used to enforce data integrity in your app then?
Thanks for helping me understand if I should go through that route.
https://redd.it/1lhai9a
@r_php
This week I've seen Chris Fidao talked about the fact that we should get rid of foreign key constraints: https://x.com/fideloper/status/1935327770919252016
PlanetScale also recommends to get rid of them. Apparently, at scale, it becomes a problem.
Just to clarify: we are not talking about removing foreign keys. Only foreign key constraints.
When foreign key constraints are not there, you, the developer, have to make sure that related rows are deleted. There are many strategies to do this.
Have you tried to get rid of the constraints? How did it go? What strategy have you used to enforce data integrity in your app then?
Thanks for helping me understand if I should go through that route.
https://redd.it/1lhai9a
@r_php
Are PSRs still relevant today?
Are developers still using PSRs? Are PSRs still being updated or is it dying out?
I noticed for a "standards" org, they don't even follow their own coding styles. Some files have the PHP tag on its own line and others share it with declare strict types.
Then there are inconsistencies in how PHPDocs are written/organized, even some PHP code as well.
https://redd.it/1lhacr0
@r_php
Are developers still using PSRs? Are PSRs still being updated or is it dying out?
I noticed for a "standards" org, they don't even follow their own coding styles. Some files have the PHP tag on its own line and others share it with declare strict types.
Then there are inconsistencies in how PHPDocs are written/organized, even some PHP code as well.
https://redd.it/1lhacr0
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
A Week of Symfony #964 (June 16–22, 2025)
https://symfony.com/blog/a-week-of-symfony-964-june-16-22-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1lhjhhp
@r_php
https://symfony.com/blog/a-week-of-symfony-964-june-16-22-2025?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1lhjhhp
@r_php
Symfony
A Week of Symfony #964 (June 16–22, 2025) (Symfony Blog)
This week, development activity was intense, with many bug fixes in the maintained branches, numerous deprecation removals in the 8.0 branch, and new features added to the 7.4 branch, including tighte…
🚀PHP Package Stream JSON progressively — like React Suspense, but for your API
Tired of APIs that make your users wait until everything is ready? I’ve just released a tiny package that streams JSON progressively — sending the base structure instantly, then filling in slower data as it's ready.
👉 Inspired by Dan Abramov’s Progressive JSON video
👉 Perfect with React/Vue Suspense, dashboards, mixed-speed APIs
Instead of: { "user": "...", "posts": "...", "stats": "..." } // Waits for slowest piece
You get:
{ "user": "$user", "posts": "$posts", "stats": "$stats" }
// Then: streamed chunks like / $user / { id: 1, name: "John" }
✅ Laravel-ready →
✅ Works with simple JS client
✅ Supports nested keys (
✅ Streams breadth-first (structure first, content later)
GitHub: https://github.com/egyjs/progressive-json-php
Keen to hear your thoughts — especially on other use cases inside Laravel apps. 🍸
https://redd.it/1lhjdip
@r_php
Tired of APIs that make your users wait until everything is ready? I’ve just released a tiny package that streams JSON progressively — sending the base structure instantly, then filling in slower data as it's ready.
👉 Inspired by Dan Abramov’s Progressive JSON video
👉 Perfect with React/Vue Suspense, dashboards, mixed-speed APIs
Instead of: { "user": "...", "posts": "...", "stats": "..." } // Waits for slowest piece
You get:
{ "user": "$user", "posts": "$posts", "stats": "$stats" }
// Then: streamed chunks like / $user / { id: 1, name: "John" }
✅ Laravel-ready →
response()->stream()✅ Works with simple JS client
✅ Supports nested keys (
stats.views, user.profile)✅ Streams breadth-first (structure first, content later)
GitHub: https://github.com/egyjs/progressive-json-php
Keen to hear your thoughts — especially on other use cases inside Laravel apps. 🍸
https://redd.it/1lhjdip
@r_php
YouTube
Progressive JSON
Can you stream JSON progressively? What happens if you do?
This video is complementary to my Overreacted post on the same topic.
This video is complementary to my Overreacted post on the same topic.
What is your favorite obscure PHP function or feature?
https://www.youtube.com/watch?v=S1ZdLAhFvjQ
https://redd.it/1lhnx40
@r_php
https://www.youtube.com/watch?v=S1ZdLAhFvjQ
https://redd.it/1lhnx40
@r_php
YouTube
What is your favorite obscure PHP function?
At PHPVerse, we asked people to share their favorite obscure PHP function or feature.
* https://laravel-news.com/celebrate-30-years-of-php-at-phpverse
* https://www.youtube.com/watch?v=3b0ty1iZ8QM
Chapters:
00:03 T_PAAMAYIM_NEKUDOTAYIM
00:22 Variable Variables…
* https://laravel-news.com/celebrate-30-years-of-php-at-phpverse
* https://www.youtube.com/watch?v=3b0ty1iZ8QM
Chapters:
00:03 T_PAAMAYIM_NEKUDOTAYIM
00:22 Variable Variables…
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/1lhssan
@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/1lhssan
@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.