Using MCP to steal insights from YouTube videos
https://youtu.be/LoAEi5Hz--o
https://redd.it/1o84kld
@r_php
https://youtu.be/LoAEi5Hz--o
https://redd.it/1o84kld
@r_php
YouTube
Using MCP to steal insights from YouTube videos
How I'm using Laravel & the Laravel MCP package with Claude to more efficiently borrow insights from YouTube videos.
Handy links:
- Laravel MCP package: https://laravel.com/docs/12.x/mcp
Handy links:
- Laravel MCP package: https://laravel.com/docs/12.x/mcp
Automated Code/Vulnerability Testing Platforms
I'm looking for an automated code/vulnerability scanning tool (whether that's Laravel-specific (preferred) or a more general platform). Any recommendations?
I started and built a SaaS application a couple years ago. It's grown faster than I anticipated. We house a good amount of sensitive information, so I want to make sure I'm plugging any obvious holes/vulnerabilities that we may be missing from user/development error.
I've done a basic Google search, but I'm not finding anything that seems to be Laravel-specific.
https://redd.it/1o89jq7
@r_php
I'm looking for an automated code/vulnerability scanning tool (whether that's Laravel-specific (preferred) or a more general platform). Any recommendations?
I started and built a SaaS application a couple years ago. It's grown faster than I anticipated. We house a good amount of sensitive information, so I want to make sure I'm plugging any obvious holes/vulnerabilities that we may be missing from user/development error.
I've done a basic Google search, but I'm not finding anything that seems to be Laravel-specific.
https://redd.it/1o89jq7
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Why I chose Phoenix LiveView over Rails, Laravel, and Next.js
https://news.ycombinator.com/item?id=45605291
https://redd.it/1o8drqh
@r_php
https://news.ycombinator.com/item?id=45605291
https://redd.it/1o8drqh
@r_php
Reddit
From the PHP community on Reddit: Why I chose Phoenix LiveView over Rails, Laravel, and Next.js
Posted by arx-go - 0 votes and 7 comments
Fully functional shadcn application starter for Laravel 12
Hey guys,
Because of r/Laravel's karma requirement, i could not post, so i hope its okay i post it here.
I spent the last days making an complete starter template for Laravel using shadcn and Inertia.js. The other starters i found that use shadcn are either outdated or dont cover the whole authentication flow.
Anyways, i hope you enjoy my small template, and feel free to contribute!
https://github.com/Kleppinger/laravel-shadcn-starter
https://redd.it/1o8hu72
@r_php
Hey guys,
Because of r/Laravel's karma requirement, i could not post, so i hope its okay i post it here.
I spent the last days making an complete starter template for Laravel using shadcn and Inertia.js. The other starters i found that use shadcn are either outdated or dont cover the whole authentication flow.
Anyways, i hope you enjoy my small template, and feel free to contribute!
https://github.com/Kleppinger/laravel-shadcn-starter
https://redd.it/1o8hu72
@r_php
GitHub
GitHub - Kleppinger/laravel-shadcn-starter: An Laravel 12 template that uses Inertia.js with shadcn
An Laravel 12 template that uses Inertia.js with shadcn - Kleppinger/laravel-shadcn-starter
Doppar: The PHP Framework Where Performance Meets Aristocratic Syntax
https://medium.com/@mahedi.se.dev/doppar-the-php-framework-where-performance-meets-aristocratic-syntax-ff66d658c6b8
https://redd.it/1o8u6jd
@r_php
https://medium.com/@mahedi.se.dev/doppar-the-php-framework-where-performance-meets-aristocratic-syntax-ff66d658c6b8
https://redd.it/1o8u6jd
@r_php
Medium
Doppar: The PHP Framework Where Performance Meets Aristocratic Syntax
The PHP landscape is vibrant and ever-evolving, but every so often, a project emerges that challenges the status quo, promising a true leap…
Just Realized Coolify (That Awesome Self-Hosted Deployment Tool) Is Built on Laravel
i've been messing around with coolify for a bit now on some of my deployments – it's this open-source heroku/netlify alternative that's super handy for self-hosting apps, dbs, and all that without the cloud lock-in. been loving how easy it makes things, but till date i straight up didn't realize it was built with php and esp laravel under the hood. like, how did i miss that?
anyway, wanted to share this lil discovery here cuz i figure some of you might wanna check it out or have thoughts on it. now that i know, i'm planning to dive deeper into their codebase – see how they handled stuff like the ui, api layers, or whatever deployment magic they're pulling off. hoping to pick up a thing or two on laravel best practices, scaling decisions, or just solid php patterns they might be following.
what do you all think? anyone else using coolify in prod? any red flags or cool hacks you've spotted if you've peeked at the source? would love to hear your takes while i geek out on this.
check it out here:
github: [https://github.com/coollabsio/coolify](https://github.com/coollabsio/coolify)
website: https://coolify.io/
https://redd.it/1o8uyxk
@r_php
i've been messing around with coolify for a bit now on some of my deployments – it's this open-source heroku/netlify alternative that's super handy for self-hosting apps, dbs, and all that without the cloud lock-in. been loving how easy it makes things, but till date i straight up didn't realize it was built with php and esp laravel under the hood. like, how did i miss that?
anyway, wanted to share this lil discovery here cuz i figure some of you might wanna check it out or have thoughts on it. now that i know, i'm planning to dive deeper into their codebase – see how they handled stuff like the ui, api layers, or whatever deployment magic they're pulling off. hoping to pick up a thing or two on laravel best practices, scaling decisions, or just solid php patterns they might be following.
what do you all think? anyone else using coolify in prod? any red flags or cool hacks you've spotted if you've peeked at the source? would love to hear your takes while i geek out on this.
check it out here:
github: [https://github.com/coollabsio/coolify](https://github.com/coollabsio/coolify)
website: https://coolify.io/
https://redd.it/1o8uyxk
@r_php
GitHub
GitHub - coollabsio/coolify: An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy…
An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+ one-click services on your o...
How often do you jump to another tool (IDE, CI, repo) just to fix one bug?
I was tracking my workflow the other day and realized a single bug fix can involve jumping between four or five different tools: the browser, my IDE, the terminal, GitHub, and sometimes Jira. The context switching is a real focus killer.
We've been trying to solve a piece of this by linking runtime errors from the browser directly to a fix in the IDE but we're looking for ideas on how to make this more helpful by understanding the developer mindset a little better.
How many different applications do you typically have to open to resolve one bug?
https://redd.it/1o8val5
@r_php
I was tracking my workflow the other day and realized a single bug fix can involve jumping between four or five different tools: the browser, my IDE, the terminal, GitHub, and sometimes Jira. The context switching is a real focus killer.
We've been trying to solve a piece of this by linking runtime errors from the browser directly to a fix in the IDE but we're looking for ideas on how to make this more helpful by understanding the developer mindset a little better.
How many different applications do you typically have to open to resolve one bug?
https://redd.it/1o8val5
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
SymfonyCon Amsterdam 2025: From Runtime to Resilience: Scaling PHP
https://symfony.com/blog/symfonycon-amsterdam-2025-from-runtime-to-resilience-scaling-php?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1o8w5hw
@r_php
https://symfony.com/blog/symfonycon-amsterdam-2025-from-runtime-to-resilience-scaling-php?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1o8w5hw
@r_php
Symfony
SymfonyCon Amsterdam 2025: From Runtime to Resilience: Scaling PHP (Symfony Blog)
🚀 Scale PHP with confidence. Learn runtime tuning, performance metrics, and scalable architecture for resilient PHP apps.
New in Symfony 7.4: Deprecated XML Configuration
https://symfony.com/blog/new-in-symfony-7-4-deprecated-xml-configuration?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1o90gtx
@r_php
https://symfony.com/blog/new-in-symfony-7-4-deprecated-xml-configuration?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1o90gtx
@r_php
Symfony
New in Symfony 7.4: Deprecated XML Configuration (Symfony Blog)
Symfony 7.4 deprecates XML as a configuration format to simplify the configuration of Symfony applications.
Is everyone happy with the new Forge UI ?
The new Forge UI looks clean but everything has become extra clicks. They completely rearranged things which now requires multiple clicks. I really wish the PMs at least get some feedback from actual customers before building a new cool shiny UI.
Some examples of UX becoming much worse:
\- Oh you were able to click on a site URL before ? Now you have this weird "Visit Site" button all the way to the right of the screen
\- No more toggle for "Horizon". Instead you have to enter a deamon manually for "php artisan horizon" and ensure that you set the right forge directory manually.
\- The default server dashboard doesnt do anythying. The previous UI would actually let me get to do things immediately.
\- Want to add an SSL certificate ? Now you have to do it on an annoying popup where you have to first select the cert source and THEN it takes you to another page to enter the certifcate. Before it was all on one page. Now it takes more clicks.
\- When you do a new SSL certificate, the menu doesnt show "Activate" option right away. I think it may be an inertiaJS bug and I have to refresh the page to even see that menu option.
Am I the only one or are there others who feel the same ?
https://redd.it/1o91ln7
@r_php
The new Forge UI looks clean but everything has become extra clicks. They completely rearranged things which now requires multiple clicks. I really wish the PMs at least get some feedback from actual customers before building a new cool shiny UI.
Some examples of UX becoming much worse:
\- Oh you were able to click on a site URL before ? Now you have this weird "Visit Site" button all the way to the right of the screen
\- No more toggle for "Horizon". Instead you have to enter a deamon manually for "php artisan horizon" and ensure that you set the right forge directory manually.
\- The default server dashboard doesnt do anythying. The previous UI would actually let me get to do things immediately.
\- Want to add an SSL certificate ? Now you have to do it on an annoying popup where you have to first select the cert source and THEN it takes you to another page to enter the certifcate. Before it was all on one page. Now it takes more clicks.
\- When you do a new SSL certificate, the menu doesnt show "Activate" option right away. I think it may be an inertiaJS bug and I have to refresh the page to even see that menu option.
Am I the only one or are there others who feel the same ?
https://redd.it/1o91ln7
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Fixing CSRF Token Mismatch Between Subdomains in Laravel (Without Sanctum)
https://oguzhankrcb.medium.com/fixing-csrf-token-mismatch-between-subdomains-in-laravel-without-sanctum-c081463ea25b
https://redd.it/1o9add4
@r_php
https://oguzhankrcb.medium.com/fixing-csrf-token-mismatch-between-subdomains-in-laravel-without-sanctum-c081463ea25b
https://redd.it/1o9add4
@r_php
Medium
Fixing CSRF Token Mismatch Between Subdomains in Laravel (Without Sanctum)
A real-world debugging story about session isolation and CSRF failures across subdomains in Laravel.
Is Laravel still a viable option for building Fullstack PHP Systems?
In the last couple of months everything seems to be geared towards paid subnoscriptions and using their own VPSs and recommended paid servcies such as WorkOS. The new Laravel Forge was a flop, we lost so much time and we still have so many unresolved issues. Support is robotic to say the least.
Symfony was never this way.
I'd like to hear all sides, the good, the bad and the ugly.
Disclaimer: I am a paying customer of Laravel products but serioulsy considering moving away - It feels like when NextJS went with Vercel (same when NuxtJS did) to be honest. I.e. a downfall.
https://redd.it/1o9uz7a
@r_php
In the last couple of months everything seems to be geared towards paid subnoscriptions and using their own VPSs and recommended paid servcies such as WorkOS. The new Laravel Forge was a flop, we lost so much time and we still have so many unresolved issues. Support is robotic to say the least.
Symfony was never this way.
I'd like to hear all sides, the good, the bad and the ugly.
Disclaimer: I am a paying customer of Laravel products but serioulsy considering moving away - It feels like when NextJS went with Vercel (same when NuxtJS did) to be honest. I.e. a downfall.
https://redd.it/1o9uz7a
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Generating documentation for a PHP library (API reference + articles)
I want to generate documentation for my library (which I've recently updated). Is there anything better than phpDocumentor for this? I haven't touched PHP in a decade, so I'm not up to date with the current tooling.
I want simple things:
Parsing PHP 7.0−8.4. Having documentation for all major versions of the library would be nice.
Switching between library versions. A dropdown or something.
Support for PHPStan syntax. This thing comes up first when googling for PHPDoc syntax, so I assume it's the standard now.
Extra non-API-reference articles next to API ref. Introductory articles, something beginner-friendly, which is too long for ReadMe.
Combining docs of multiple packages. If there're any addons to the main package, it'd be convenient to have everything in one place.
Pure static website with pure HTML. So that it can be put on GitHub Pages and be googlable and all.
Search would be nice. Without any backend, naturally.
Sensible syntax for templates and styles. If something needs adjusting, it shouldn't be too painful.
Links to sources of the library, links to official PHP documentation when built-in classes and functions are mentioned etc.
Bonus points for default templates looking nice, having dark theme, doing fast reloads with JS, all that fancy stuff.
Does a thing like this exist? What are the best options for generating documentation for PHP stuff in general? What are you using and why?
https://redd.it/1o9xbjp
@r_php
I want to generate documentation for my library (which I've recently updated). Is there anything better than phpDocumentor for this? I haven't touched PHP in a decade, so I'm not up to date with the current tooling.
I want simple things:
Parsing PHP 7.0−8.4. Having documentation for all major versions of the library would be nice.
Switching between library versions. A dropdown or something.
Support for PHPStan syntax. This thing comes up first when googling for PHPDoc syntax, so I assume it's the standard now.
Extra non-API-reference articles next to API ref. Introductory articles, something beginner-friendly, which is too long for ReadMe.
Combining docs of multiple packages. If there're any addons to the main package, it'd be convenient to have everything in one place.
Pure static website with pure HTML. So that it can be put on GitHub Pages and be googlable and all.
Search would be nice. Without any backend, naturally.
Sensible syntax for templates and styles. If something needs adjusting, it shouldn't be too painful.
Links to sources of the library, links to official PHP documentation when built-in classes and functions are mentioned etc.
Bonus points for default templates looking nice, having dark theme, doing fast reloads with JS, all that fancy stuff.
Does a thing like this exist? What are the best options for generating documentation for PHP stuff in general? What are you using and why?
https://redd.it/1o9xbjp
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Modern non-blocking driver for Nats
NATS is a modern, distributed, and reliable messaging platform. It supports pub-sub with at-most-once delivery guarantees, request-reply messaging, as well as persistent streams and durable queues powered by JetStream with at-least-once guarantees.
Our non-blocking driver implements all major capabilities of the platform:
pub/sub
request/reply
jetstream
key-value store
object store
And also includes recent updates:
Atomic counters based on CRDTs
Batch publishing
Message scheduling
We are also working on support for NATS Micro: using NATS as a transport layer for communication between microservices.
For more features, refer to the library's documentation. Feedback is welcome.
https://github.com/thesis-php/nats
https://redd.it/1oa0n6v
@r_php
NATS is a modern, distributed, and reliable messaging platform. It supports pub-sub with at-most-once delivery guarantees, request-reply messaging, as well as persistent streams and durable queues powered by JetStream with at-least-once guarantees.
Our non-blocking driver implements all major capabilities of the platform:
pub/sub
request/reply
jetstream
key-value store
object store
And also includes recent updates:
Atomic counters based on CRDTs
Batch publishing
Message scheduling
We are also working on support for NATS Micro: using NATS as a transport layer for communication between microservices.
For more features, refer to the library's documentation. Feedback is welcome.
https://github.com/thesis-php/nats
https://redd.it/1oa0n6v
@r_php
GitHub
GitHub - thesis-php/nats: Non-blocking (fiber based) client for Nats.
Non-blocking (fiber based) client for Nats. Contribute to thesis-php/nats development by creating an account on GitHub.
🏗️✨ Forerunner: Define LLM JSON Schemas Using Laravel's Migration Syntax
Hey r/laravel! I've been working with AI a lot over the past year, dipping in between various Laravel packages. One thing I was constantly using was structured outputs, and I never found a way I liked to write them.
Writing them in plain JSON is horrible IMO, and although there are some great packages that offer nice abstractions, I still didn't fully enjoy using them or like the syntax. I wanted to create something familiar and easy to implement, understand, and maintain.
I had some local classes I'd been copying and pasting into various projects and thought I'd package it up. Essentially, you define a structured output using a Laravel migration-style syntax. You can either use the facade or create a struct class.
What It Looks Like
Forerunner lets you define JSON schemas using familiar migration syntax:
https://preview.redd.it/0jw5ju4e1xvf1.png?width=3680&format=png&auto=webp&s=b6d72577a8d7c95ff17f0d715bd825d296f3a09a
https://preview.redd.it/7c5o4v4e1xvf1.png?width=3680&format=png&auto=webp&s=c439890ac16d0b35c91b37d48c8312bea93aab3f
https://preview.redd.it/4chuku4e1xvf1.png?width=3680&format=png&auto=webp&s=d69f87f0ec29de1d2881775495ee36fce80cebd6
# Key Features
Migration-like API: If you know Laravel migrations, you already know Forerunner
Helper methods:
Artisan command: `php artisan make:struct UserProfile` generates structure classes
Nested objects & arrays: Define complex schemas with nested builders
Strict mode: One-liner for OpenAI's structured output requirements
Type-safe: Full IDE autocomplete support
# What's Next
The next feature I'm planning is validation - so you can validate an LLM response against an existing schema.
This is still in pre-release (0.x), so I don't expect it to be 100% perfect. If you're interested, give it a try!
GitHub: https://github.com/Blaspsoft/forerunner
Would love to hear your thoughts and feedback!
https://redd.it/1oa3rv4
@r_php
Hey r/laravel! I've been working with AI a lot over the past year, dipping in between various Laravel packages. One thing I was constantly using was structured outputs, and I never found a way I liked to write them.
Writing them in plain JSON is horrible IMO, and although there are some great packages that offer nice abstractions, I still didn't fully enjoy using them or like the syntax. I wanted to create something familiar and easy to implement, understand, and maintain.
I had some local classes I'd been copying and pasting into various projects and thought I'd package it up. Essentially, you define a structured output using a Laravel migration-style syntax. You can either use the facade or create a struct class.
What It Looks Like
Forerunner lets you define JSON schemas using familiar migration syntax:
https://preview.redd.it/0jw5ju4e1xvf1.png?width=3680&format=png&auto=webp&s=b6d72577a8d7c95ff17f0d715bd825d296f3a09a
https://preview.redd.it/7c5o4v4e1xvf1.png?width=3680&format=png&auto=webp&s=c439890ac16d0b35c91b37d48c8312bea93aab3f
https://preview.redd.it/4chuku4e1xvf1.png?width=3680&format=png&auto=webp&s=d69f87f0ec29de1d2881775495ee36fce80cebd6
# Key Features
Migration-like API: If you know Laravel migrations, you already know Forerunner
Helper methods:
email(), url(), uuid(), datetime(), etc.Artisan command: `php artisan make:struct UserProfile` generates structure classes
Nested objects & arrays: Define complex schemas with nested builders
Strict mode: One-liner for OpenAI's structured output requirements
Type-safe: Full IDE autocomplete support
# What's Next
The next feature I'm planning is validation - so you can validate an LLM response against an existing schema.
This is still in pre-release (0.x), so I don't expect it to be 100% perfect. If you're interested, give it a try!
GitHub: https://github.com/Blaspsoft/forerunner
Would love to hear your thoughts and feedback!
https://redd.it/1oa3rv4
@r_php
Industry: a package for integrating factories with AI for text generation
https://redd.it/1oaco3y
@r_php
https://redd.it/1oaco3y
@r_php
Pitch Your Project 🐘
In this monthly thread you can share whatever code or projects you're working on, ask for reviews, get people's input and general thoughts, … anything goes as long as it's PHP related.
Let's make this a place where people are encouraged to share their work, and where we can learn from each other 😁
Link to the previous edition: /u/brendt_gd should provide a link
https://redd.it/1oajz8b
@r_php
In this monthly thread you can share whatever code or projects you're working on, ask for reviews, get people's input and general thoughts, … anything goes as long as it's PHP related.
Let's make this a place where people are encouraged to share their work, and where we can learn from each other 😁
Link to the previous edition: /u/brendt_gd should provide a link
https://redd.it/1oajz8b
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
A Week of Symfony #981 (October 13–19, 2025)
https://symfony.com/blog/a-week-of-symfony-981-october-13-19-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1oalp1s
@r_php
https://symfony.com/blog/a-week-of-symfony-981-october-13-19-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1oalp1s
@r_php
Symfony
A Week of Symfony #981 (October 13–19, 2025) (Symfony Blog)
This week, Symfony kept fixing bugs and refining the new features for the upcoming Symfony 7.4 and 8.0 releases. Meanwhile, we unveiled a special site to celebrate Symfony's 20th anniversary, and we p…