The Case Sensitivity Bug That Broke My Laravel Inertia Tests: A Cross-Platform Development Tale
https://oguzhankrcb.medium.com/the-case-sensitivity-bug-that-broke-my-laravel-inertia-tests-a-cross-platform-development-tale-2dc67b4c0c5d
https://redd.it/1l0wlb0
@r_php
https://oguzhankrcb.medium.com/the-case-sensitivity-bug-that-broke-my-laravel-inertia-tests-a-cross-platform-development-tale-2dc67b4c0c5d
https://redd.it/1l0wlb0
@r_php
Medium
The Case Sensitivity Bug That Broke My Laravel Inertia Tests: A Cross-Platform Development Tale
Preliminary Information
The Case Sensitivity Bug That Broke My Laravel Inertia Tests: A Cross-Platform Development Tale
https://oguzhankrcb.medium.com/the-case-sensitivity-bug-that-broke-my-laravel-inertia-tests-a-cross-platform-development-tale-2dc67b4c0c5d
https://redd.it/1l0wk5j
@r_php
https://oguzhankrcb.medium.com/the-case-sensitivity-bug-that-broke-my-laravel-inertia-tests-a-cross-platform-development-tale-2dc67b4c0c5d
https://redd.it/1l0wk5j
@r_php
Medium
The Case Sensitivity Bug That Broke My Laravel Inertia Tests: A Cross-Platform Development Tale
Preliminary Information
Laravel Forge MCP server
So, I did a thing tonight to try and learn about MCP servers. I built a MCP server for Laravel forge.
Would this be helpful to anyone else?
https://github.com/bretterer/forge-mcp-server
https://redd.it/1l17a86
@r_php
So, I did a thing tonight to try and learn about MCP servers. I built a MCP server for Laravel forge.
Would this be helpful to anyone else?
https://github.com/bretterer/forge-mcp-server
https://redd.it/1l17a86
@r_php
GitHub
GitHub - bretterer/forge-mcp-server: Laravel Forge MCP server for managing servers, sites, and deployments
Laravel Forge MCP server for managing servers, sites, and deployments - bretterer/forge-mcp-server
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/1l17oki
@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/1l17oki
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
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/1l1aiad
@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/1l1aiad
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
appendHTML with the new Dom library
If you are working with the new
https://redd.it/1l1hd81
@r_php
If you are working with the new
Dom\HTMLDocument in PHP 8.4 and want to append a HTML snippet to the document by creating Dom\DocumentFragment, shouldn't there be a appendHTML similar to the appendXML?https://redd.it/1l1hd81
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
How is login using Sanctum and API tokens safe?
I can see that the docs suggest we create a new endpoint that takes login details + a device name, and returns a token with successful auth.
What I don't understand is, how is this endpoint secured? In session based auth, we are protected by a domain-level cookie, but here, there doesn't seem to be any protection mechanism. What prevents any malicious actor from creating a phishing site, using the real API endpoint to test credentials, and then extracting said credentials for malicious use?
https://redd.it/1l1iynz
@r_php
I can see that the docs suggest we create a new endpoint that takes login details + a device name, and returns a token with successful auth.
What I don't understand is, how is this endpoint secured? In session based auth, we are protected by a domain-level cookie, but here, there doesn't seem to be any protection mechanism. What prevents any malicious actor from creating a phishing site, using the real API endpoint to test credentials, and then extracting said credentials for malicious use?
https://redd.it/1l1iynz
@r_php
Laravel
Laravel Sanctum - 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.
This media is not supported in your browser
VIEW IN TELEGRAM
I'm thinking about building a noscript like this. Are there any existing similar ones?
https://redd.it/1l1mnb2
@r_php
https://redd.it/1l1mnb2
@r_php
My First WordPress Website — Would Love Your Feedback!
Hi everyone! I just built my very first website on WordPress: https://depositforhousebuy.com/ I’m eager to hear your honest thoughts on the design and user experience. Any suggestions or tips are highly appreciated. Thanks in advance!
https://redd.it/1l1mwe9
@r_php
Hi everyone! I just built my very first website on WordPress: https://depositforhousebuy.com/ I’m eager to hear your honest thoughts on the design and user experience. Any suggestions or tips are highly appreciated. Thanks in advance!
https://redd.it/1l1mwe9
@r_php
depositforhousebuy.com
Home - depositforhousebuy.com
Home - Best Personal Loan with low interest rate for bad credit in USA. Online Personal loan information providers with low interest rates for local people.
Debugging tools for PHP?
Hi all, if you're working on JS, we got the benefit of browser tools that allow you to test code in real-time, pause them, track variables, show errors, etc. Are there tools that do something like that for PHP?
If there are no such tools, are there other tools or methods that you recommend besides looking through error logs?
FYI I ask this as a guy who's developing Wordpress themes. I thought I can ask here as it's very reliant on PHP.
EDIT: Just noticed the rule indicating that this subreddit isn't for help posts. So this'll be the last time I'll post something like this here. Thanks for those who posted their feedback.
https://redd.it/1l1u3ln
@r_php
Hi all, if you're working on JS, we got the benefit of browser tools that allow you to test code in real-time, pause them, track variables, show errors, etc. Are there tools that do something like that for PHP?
If there are no such tools, are there other tools or methods that you recommend besides looking through error logs?
FYI I ask this as a guy who's developing Wordpress themes. I thought I can ask here as it's very reliant on PHP.
EDIT: Just noticed the rule indicating that this subreddit isn't for help posts. So this'll be the last time I'll post something like this here. Thanks for those who posted their feedback.
https://redd.it/1l1u3ln
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
AI and IoT with Laravel - Is it really a real opportunity or just a hype.
Has anyone here integrated AI APIs or IoT devices with Laravel in real-world projects?
I’m curious about the practical challenges and benefits, like using Laravel to process real-time IoT data, automate tasks, or add AI-driven features such as chatbots or analytics.
What use cases have you found most effective, and what hurdles did you face during implementation?
https://redd.it/1l2722t
@r_php
Has anyone here integrated AI APIs or IoT devices with Laravel in real-world projects?
I’m curious about the practical challenges and benefits, like using Laravel to process real-time IoT data, automate tasks, or add AI-driven features such as chatbots or analytics.
What use cases have you found most effective, and what hurdles did you face during implementation?
https://redd.it/1l2722t
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Vector Store & AI Agents - Beyond The Traditional Data Storage
https://inspector.dev/vector-store-ai-agents-beyond-the-traditional-data-storage/
https://redd.it/1l26y3q
@r_php
https://inspector.dev/vector-store-ai-agents-beyond-the-traditional-data-storage/
https://redd.it/1l26y3q
@r_php
Inspector
Vector Store & AI Agents - Beyond The Traditional Data Storage
Discover why vector store aren't just 'AI databases' – learn the crucial paradigm shift from SQL thinking to semantic search.
Is it Good idea to switch to PHP in 2025?
Hey guys, I am a backend Dev with major experience in Golang. I got a job offer where major work would be around PHP (70%) and Go(30%)
The works is around building Wordpress hosting platform not Wordpress websites.
I have never worked on PHP and I am worried if switch to job where major work is PHP might not be good idea considering future opportunities.
How is the scope of PHP in future with respect to Job opportunities?
Edit: Just to clarify the work is around, orchestration and configuration of Wordpress site in docker container. Not building Wordpress website. It’s a WordPress hosting platform as a service.
https://redd.it/1l29fa8
@r_php
Hey guys, I am a backend Dev with major experience in Golang. I got a job offer where major work would be around PHP (70%) and Go(30%)
The works is around building Wordpress hosting platform not Wordpress websites.
I have never worked on PHP and I am worried if switch to job where major work is PHP might not be good idea considering future opportunities.
How is the scope of PHP in future with respect to Job opportunities?
Edit: Just to clarify the work is around, orchestration and configuration of Wordpress site in docker container. Not building Wordpress website. It’s a WordPress hosting platform as a service.
https://redd.it/1l29fa8
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
First release of the Searchcraft API PHP client is now available
# Greetings developers!
We are excited to announce the first release of our PHP API client!
If you are unfamiliar with Searchcraft we have been building our core API since 2021 but we just went into beta back in February of 2025. We are working on building a information discovery platform that is easier for devs to use than what is currently out there with faster performance. Our focus is on enabling developers to integrate search quickly and easily into their apps without having to be experts in the search niche.
Integrating Searchcraft endpoints into your PHP application has just gotten a whole lot easier. To install it, just use Composer.
composer require searchcraft/searchcraft-php
You will also need to install a PSR-18 compatible HTTP client, we recommend Guzzle if you don't already have one in mind
composer require guzzlehttp/guzzle http-interop/http-factory-guzzle:^1.0
This brings the full breath of the Searchcraft API directly into your application without need to manually construct your REST calls and worry about duplication of request configuration. Why build your own API wrapper when you can ship faster with our dedicated client?
The client is fully PSR standards compliant with type-safe operations over the API endpoints. There is rock-solid exception handling and you are not having to write a bunch of cURL boilerplate.
The package is Apache 2 licensed and the source is available at https://github.com/searchcraft-inc/searchcraft-client-php
If you have q's I'm happy to answer them here or in our community Discord.
https://redd.it/1l2wutx
@r_php
# Greetings developers!
We are excited to announce the first release of our PHP API client!
If you are unfamiliar with Searchcraft we have been building our core API since 2021 but we just went into beta back in February of 2025. We are working on building a information discovery platform that is easier for devs to use than what is currently out there with faster performance. Our focus is on enabling developers to integrate search quickly and easily into their apps without having to be experts in the search niche.
Integrating Searchcraft endpoints into your PHP application has just gotten a whole lot easier. To install it, just use Composer.
composer require searchcraft/searchcraft-php
You will also need to install a PSR-18 compatible HTTP client, we recommend Guzzle if you don't already have one in mind
composer require guzzlehttp/guzzle http-interop/http-factory-guzzle:^1.0
This brings the full breath of the Searchcraft API directly into your application without need to manually construct your REST calls and worry about duplication of request configuration. Why build your own API wrapper when you can ship faster with our dedicated client?
The client is fully PSR standards compliant with type-safe operations over the API endpoints. There is rock-solid exception handling and you are not having to write a bunch of cURL boilerplate.
The package is Apache 2 licensed and the source is available at https://github.com/searchcraft-inc/searchcraft-client-php
If you have q's I'm happy to answer them here or in our community Discord.
https://redd.it/1l2wutx
@r_php
GitHub
GitHub - searchcraft-inc/searchcraft-client-php: Official PSR-compatible PHP client for the Searchcraft API
Official PSR-compatible PHP client for the Searchcraft API - searchcraft-inc/searchcraft-client-php
Ad-hoc queries in DQL (doctrine query language)
I use DQL in code, but I noticed that for anything slightly complex, e.g. with joins I'm much more familiar with SQL than I am with DQL. Sometimes I have to run the function to convert the DQL to SQL and dump to check the query generated is what I want.
I realised one reason I'm more familiar with SQL is that I'm doing ad-hoc queries all the time to look at data in our staging and production database using SQL. So I thought it might be very handy to have a way to do those ad-hoc queries with DQL instead.
Does anyone know if there's a tool that supports ad-hoc querying with DQL? Or if it might make sense to add support to that as a feature in phpMyAdmin or anything similar. Maybe also in PHPStorm but that seems a lot harder since it isn't written in PHP.
https://redd.it/1l33llw
@r_php
I use DQL in code, but I noticed that for anything slightly complex, e.g. with joins I'm much more familiar with SQL than I am with DQL. Sometimes I have to run the function to convert the DQL to SQL and dump to check the query generated is what I want.
I realised one reason I'm more familiar with SQL is that I'm doing ad-hoc queries all the time to look at data in our staging and production database using SQL. So I thought it might be very handy to have a way to do those ad-hoc queries with DQL instead.
Does anyone know if there's a tool that supports ad-hoc querying with DQL? Or if it might make sense to add support to that as a feature in phpMyAdmin or anything similar. Maybe also in PHPStorm but that seems a lot harder since it isn't written in PHP.
https://redd.it/1l33llw
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
PatchPub - Patch any PHP Composer dependency anyway you need
I've build a composer-patches alternative, with with I can change any file in any dependency used by Composer, and manage patches for multiple projects, all in one place.
URL: [https://patchpub.com](https://patchpub.com)
**My biggest pain points** with the existing composer-patches packages are:
* They work only after a dependency is downloaded/extracted. So no way to change composer.json, for example to adapt the supported PHP version, or another package version, because it's fixed.
* They only support diff patches. I have to update patches anytime the diff doesn't work anymore. Sometimes I just need a simple search&replace, or replace a whole file.
* Sometimes a patch error gets lost in the whole stream of composer messages, when running "composer update". So I don't realize until later that a patch didn't apply.
* Managing same/similar patches across multiple projects and php versions and package versions is a big pain...
* I don't like to fork GitHub Repositories and patch there, and wait until the package core maintainer finally merges my PR (or not), and maintain my fork the whole time (or longer).
So I build my own solution, PatchPub, and already integrated it in production projects.
**With PatchPub you can:**
* Patch any file, anyway to you want (search&replace of strings, or using regex; replace file content; apply patch, import GitHub Pull Request)
* Manage patches and projects all in one place, which is really helpful with many projects.
* Get error notifications if a patch cannot be applied anymore, right after a new version of a package is released.
* Many more...
**Feedback welcome on:**
* Are there other game changer features you need to switch from other composer-patches plugins?
* Would you test or use PatchPub at all?
Thx in advance for any feedback... Please visit [patchpub.com](https://patchpub.com) and give it a try.
https://redd.it/1l33bn1
@r_php
I've build a composer-patches alternative, with with I can change any file in any dependency used by Composer, and manage patches for multiple projects, all in one place.
URL: [https://patchpub.com](https://patchpub.com)
**My biggest pain points** with the existing composer-patches packages are:
* They work only after a dependency is downloaded/extracted. So no way to change composer.json, for example to adapt the supported PHP version, or another package version, because it's fixed.
* They only support diff patches. I have to update patches anytime the diff doesn't work anymore. Sometimes I just need a simple search&replace, or replace a whole file.
* Sometimes a patch error gets lost in the whole stream of composer messages, when running "composer update". So I don't realize until later that a patch didn't apply.
* Managing same/similar patches across multiple projects and php versions and package versions is a big pain...
* I don't like to fork GitHub Repositories and patch there, and wait until the package core maintainer finally merges my PR (or not), and maintain my fork the whole time (or longer).
So I build my own solution, PatchPub, and already integrated it in production projects.
**With PatchPub you can:**
* Patch any file, anyway to you want (search&replace of strings, or using regex; replace file content; apply patch, import GitHub Pull Request)
* Manage patches and projects all in one place, which is really helpful with many projects.
* Get error notifications if a patch cannot be applied anymore, right after a new version of a package is released.
* Many more...
**Feedback welcome on:**
* Are there other game changer features you need to switch from other composer-patches plugins?
* Would you test or use PatchPub at all?
Thx in advance for any feedback... Please visit [patchpub.com](https://patchpub.com) and give it a try.
https://redd.it/1l33bn1
@r_php
Patchpub
Patch any PHP Composer dependency anyway you need
Deploy journey
Hi everyone! Few months ago I asked developers about their deploy. https://www.reddit.com/r/PHP/s/fNdl3OXpSA
It was very interesting discussion)
And I decided write article about my deploy journey
https://medium.com/@brdnlsrg/my-journey-with-php-deployment-from-ftp-to-automated-workflows-36ece9f2b5a5
https://redd.it/1l37l5y
@r_php
Hi everyone! Few months ago I asked developers about their deploy. https://www.reddit.com/r/PHP/s/fNdl3OXpSA
It was very interesting discussion)
And I decided write article about my deploy journey
https://medium.com/@brdnlsrg/my-journey-with-php-deployment-from-ftp-to-automated-workflows-36ece9f2b5a5
https://redd.it/1l37l5y
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
should i focus procedural php or continue learning until i finishes all the oop concepts?
I've been learning php through to programming with gio, i am on the namespace section and i am kinda struggling to understand the concept, but i do manage to understand it using copilot to explain the code functionality. i ask in discord about nullsafe in oop and someone said that i should directly build in order to learn and not to watch tutorials because you are not learning base on what he says. oop is large, should i focus learning all the concepts and follow what gio is coding in the video or should i abandon the tutorial and start building after learning the basics of php? right now, i still don't know about sql and building simple login website using php but i have sufficient knowledge about html and css. i am kinda lost. any advice is appreciated, thank you.
https://redd.it/1l3asc5
@r_php
I've been learning php through to programming with gio, i am on the namespace section and i am kinda struggling to understand the concept, but i do manage to understand it using copilot to explain the code functionality. i ask in discord about nullsafe in oop and someone said that i should directly build in order to learn and not to watch tutorials because you are not learning base on what he says. oop is large, should i focus learning all the concepts and follow what gio is coding in the video or should i abandon the tutorial and start building after learning the basics of php? right now, i still don't know about sql and building simple login website using php but i have sufficient knowledge about html and css. i am kinda lost. any advice is appreciated, thank you.
https://redd.it/1l3asc5
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Laravel AI Translator - JSON Support Update
https://github.com/kargnas/laravel-ai-translator
https://redd.it/1l3a6xm
@r_php
https://github.com/kargnas/laravel-ai-translator
https://redd.it/1l3a6xm
@r_php
GitHub
GitHub - kargnas/laravel-ai-translator: High quality automatic translate your language files into many languages using AI like…
High quality automatic translate your language files into many languages using AI like Claude, GPT and etc. - kargnas/laravel-ai-translator