MLB Stats API for Laravel
So, I found out the MLB Stats API is free to the public, so I built a wrapper for it for Laravel or PHP projects in general.
Check it out and let me know your thoughts!
https://github.com/zacksmash/mlb-stats
https://redd.it/1li45cs
@r_php
So, I found out the MLB Stats API is free to the public, so I built a wrapper for it for Laravel or PHP projects in general.
Check it out and let me know your thoughts!
https://github.com/zacksmash/mlb-stats
https://redd.it/1li45cs
@r_php
GitHub
GitHub - zacksmash/mlb-stats: MLB Stats API Wrapper for Laravel/PHP
MLB Stats API Wrapper for Laravel/PHP. Contribute to zacksmash/mlb-stats development by creating an account on GitHub.
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/1li6855
@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/1li6855
@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/1li91ha
@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/1li91ha
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
How to Overcome Security Anxiety
Hello everyone,
I'm 20 years old and I've been interested in WordPress development for about 5 years. I've also been learning Rust as a hobby. I've tried many things in the software field so far; I've started different projects, I've tried to learn new technologies. However, I've never been able to complete any project completely. The main reason for this is the security concerns I have.
For example, I want to develop a WordPress plugin or theme with PHP or I want to create an application in an MVC structure. But these thoughts keep coming to my mind: “What if my application gets hacked?”, “What if I did something wrong in terms of security and I have problems because of that?”, “What if I get a penalty because of that?”
These thoughts keep going round and round in my mind, and they create a lot of anxiety. This anxiety seriously affects my motivation to produce software and my commitment to the projects. Therefore, I cannot develop my projects with peace of mind and I leave most of them unfinished.
What would you suggest me to do about this? I would be very grateful if you could share your advice and guidance.
https://redd.it/1licurn
@r_php
Hello everyone,
I'm 20 years old and I've been interested in WordPress development for about 5 years. I've also been learning Rust as a hobby. I've tried many things in the software field so far; I've started different projects, I've tried to learn new technologies. However, I've never been able to complete any project completely. The main reason for this is the security concerns I have.
For example, I want to develop a WordPress plugin or theme with PHP or I want to create an application in an MVC structure. But these thoughts keep coming to my mind: “What if my application gets hacked?”, “What if I did something wrong in terms of security and I have problems because of that?”, “What if I get a penalty because of that?”
These thoughts keep going round and round in my mind, and they create a lot of anxiety. This anxiety seriously affects my motivation to produce software and my commitment to the projects. Therefore, I cannot develop my projects with peace of mind and I leave most of them unfinished.
What would you suggest me to do about this? I would be very grateful if you could share your advice and guidance.
https://redd.it/1licurn
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Feeling stuck as a full-stack web developer, what should I do now..
Hi everyone,
I’m a 2024 CS grad and currently working as Jr. WordPress Full-Stack Engineer at a service based firm, having 1.5 years of experience. My current role includes creating new themes and plugins, managing internal sites and integrating new functionalities into them.
While my current organization is a great place to work certified, still I face lack of support and guidance from my manager on critical situations. I talked to them on this but it never helps.
My manager starts to shout at me whenever any issue occurs without bothering to know the root cause of the issue.
Due to this I started fearing my manager for asking any kind of guidance on how we can handle the critical situation efficiently or any other work related issues. He is neither friendly nor supportive.
Now I just want to leave this firm due to the toxicity and want to switch my role to work as a React developer. But due to my current role i.e., Jr. WordPress Engineer I'm not able to get shortlisted in any kind of React dev positions.
Now I’m anxious, stuck, and worried, what should I do now to change my role and my current firm. I have worked in WordPress Theme & Plugin development, PHP, React.js, Next.js, Firebase, MySQL, Git, Github, TailwindCSS and Material UI.
I'm able to integrate any kind of functionalities into the web application while managing the best practices, coding standards and best security practices (OWASP Top 10) and others.
I'm also having experience in improving the Core Web Vitals i.e., FCP, LCP, CLS, and reducing TBT.
I am open for SDE positions and can even switch technologies in very short span of time.
Please help me any advice and suggestions would be helpful for me.
https://redd.it/1lidaun
@r_php
Hi everyone,
I’m a 2024 CS grad and currently working as Jr. WordPress Full-Stack Engineer at a service based firm, having 1.5 years of experience. My current role includes creating new themes and plugins, managing internal sites and integrating new functionalities into them.
While my current organization is a great place to work certified, still I face lack of support and guidance from my manager on critical situations. I talked to them on this but it never helps.
My manager starts to shout at me whenever any issue occurs without bothering to know the root cause of the issue.
Due to this I started fearing my manager for asking any kind of guidance on how we can handle the critical situation efficiently or any other work related issues. He is neither friendly nor supportive.
Now I just want to leave this firm due to the toxicity and want to switch my role to work as a React developer. But due to my current role i.e., Jr. WordPress Engineer I'm not able to get shortlisted in any kind of React dev positions.
Now I’m anxious, stuck, and worried, what should I do now to change my role and my current firm. I have worked in WordPress Theme & Plugin development, PHP, React.js, Next.js, Firebase, MySQL, Git, Github, TailwindCSS and Material UI.
I'm able to integrate any kind of functionalities into the web application while managing the best practices, coding standards and best security practices (OWASP Top 10) and others.
I'm also having experience in improving the Core Web Vitals i.e., FCP, LCP, CLS, and reducing TBT.
I am open for SDE positions and can even switch technologies in very short span of time.
Please help me any advice and suggestions would be helpful for me.
https://redd.it/1lidaun
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
My app got DDoSed while I was on a holiday, here are my tips that help you prevent this!
https://youtu.be/XU_GrX6Ahro
https://redd.it/1ligw8f
@r_php
https://youtu.be/XU_GrX6Ahro
https://redd.it/1ligw8f
@r_php
YouTube
DDoSed while on a holiday - Learn to configure CloudFlare correctly (and don't repeat my mistake 😬)
Recently my multi-tenant food ordering app got hit with a massive DDoS attack in which one of our merchants was specifically targeted. And even though we had Cloudflare protection in place, some of that traffic still made it through to our origin server and…
Discover Junie for PhpStorm: A Game-Changing AI Coding Agent for PHP Development
https://blog.jetbrains.com/phpstorm/2025/06/discover-junie-for-phpstorm/
https://redd.it/1lieru3
@r_php
https://blog.jetbrains.com/phpstorm/2025/06/discover-junie-for-phpstorm/
https://redd.it/1lieru3
@r_php
What's the learning curve for Sylius
I've been developing with Magento 2 for over 4 yrs, now I'm looking to add a new framework under my belt ideally for free lance work.
I'm curious to know what the learning curve would be? I would assume it wouldn't take long to pick it up, but I'm guessing symfony structure is different from Magento
https://redd.it/1liq9r4
@r_php
I've been developing with Magento 2 for over 4 yrs, now I'm looking to add a new framework under my belt ideally for free lance work.
I'm curious to know what the learning curve would be? I would assume it wouldn't take long to pick it up, but I'm guessing symfony structure is different from Magento
https://redd.it/1liq9r4
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Rant Laravel dev environments
This has been said before, so feel free to ignore this rant.
- But coming from Homestead (that has been dropped − despite covering a very valid use case of full isolation via VM)
- to be directed via the official doc to Sail, to discover than Sail is an unpolished product − no HTTPS (required for notifications), no multithreading
- to end with Herd, to find out Herd has no Linux version
is disappointing, and I feel like I lost some time. Do you use better Laravel Docker images from trustable unofficial sources ? All I can see in Docker official registry is bitnami/laravel, didnt try it yet.
Looks like I go to https://github.com/svpernova09/homestead
https://redd.it/1liqq5x
@r_php
This has been said before, so feel free to ignore this rant.
- But coming from Homestead (that has been dropped − despite covering a very valid use case of full isolation via VM)
- to be directed via the official doc to Sail, to discover than Sail is an unpolished product − no HTTPS (required for notifications), no multithreading
- to end with Herd, to find out Herd has no Linux version
is disappointing, and I feel like I lost some time. Do you use better Laravel Docker images from trustable unofficial sources ? All I can see in Docker official registry is bitnami/laravel, didnt try it yet.
Looks like I go to https://github.com/svpernova09/homestead
https://redd.it/1liqq5x
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
New in PHP Intl 8.5: IntlListFormatter – display arrays as locale-aware lists
https://ungureanu.blog/2025/06/24/new-in-php-intl-8-5-intllistformatter-display-arrays-as-locale-aware-lists/
https://redd.it/1lity76
@r_php
https://ungureanu.blog/2025/06/24/new-in-php-intl-8-5-intllistformatter-display-arrays-as-locale-aware-lists/
https://redd.it/1lity76
@r_php
Bogdan Ungureanu
New in PHP Intl 8.5: IntlListFormatter – display arrays as locale-aware lists
PHP Intl now contains a new class that allows us to display arrays as locale-aware string lists – IntlListFormatter. The purpose of it is relatively simple since it’s just a wrapper for…
Laravel PayPal Payment Gateway Integration
https://youtu.be/jjp5etEGTyM?si=ZXpgE9T9LS-caL67
https://redd.it/1lj11wl
@r_php
https://youtu.be/jjp5etEGTyM?si=ZXpgE9T9LS-caL67
https://redd.it/1lj11wl
@r_php
YouTube
Laravel PayPal Payment Gateway Integration 💳
Learn how to integrate PayPal in Laravel effortlessly! 💡
This step-by-step tutorial shows you how to set up a secure and smooth PayPal payment gateway using Laravel.
🛠️ What You’ll Learn:
✅ PayPal API setup
✅ Server-side integration
✅ Success & cancel handling…
This step-by-step tutorial shows you how to set up a secure and smooth PayPal payment gateway using Laravel.
🛠️ What You’ll Learn:
✅ PayPal API setup
✅ Server-side integration
✅ Success & cancel handling…
Laravel 12 Documentation over Laravel Passort is referencing Passport 13
Laravel 12 Documentation about passport (https://laravel.com/docs/12.x/passport) is referencing passport 13.
Is it an idea to mention the version of the package at the top of the documentation page? Or link to a passport documentation page instead of trying to fit everything on the laravel 12 documentation.
https://redd.it/1lj4x5o
@r_php
Laravel 12 Documentation about passport (https://laravel.com/docs/12.x/passport) is referencing passport 13.
Is it an idea to mention the version of the package at the top of the documentation page? Or link to a passport documentation page instead of trying to fit everything on the laravel 12 documentation.
https://redd.it/1lj4x5o
@r_php
Laravel
Laravel Passport - 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.
Swagger UI - single page with all routes and different security
Hi everyone. I'm trying to setup swagger (NelmioApiDocBundle). I need a single page (like /api/doc) with every endpoints. I have 2 types of API endpoints: private and public, so private must be protected with api Key (AuthLogin and AuthPassword).
The problem is that I don't know how to correctly separate zones and specify that apiKey must be used for a private zone. And moreover all zones need to be displayed on a single page.
P.S. I don't really want to specify every endpoint in "paths". So I need a killer feature to solve this. And last but not least I need to do it in nelmio_api_doc.yaml (without code) :( Please help me
https://redd.it/1lj63e8
@r_php
Hi everyone. I'm trying to setup swagger (NelmioApiDocBundle). I need a single page (like /api/doc) with every endpoints. I have 2 types of API endpoints: private and public, so private must be protected with api Key (AuthLogin and AuthPassword).
The problem is that I don't know how to correctly separate zones and specify that apiKey must be used for a private zone. And moreover all zones need to be displayed on a single page.
P.S. I don't really want to specify every endpoint in "paths". So I need a killer feature to solve this. And last but not least I need to do it in nelmio_api_doc.yaml (without code) :( Please help me
https://redd.it/1lj63e8
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
Free hosting for Laravel and Postgres
Hi, so Im new to this kind of task because I mostly focused on my programming skills. Is this task under DevOps?
Anyway, I am looking for your recommendations in free hosting for my Laravel Apps and Database for my portfolio and showcase my stuff. Right now my frontend is Livewire3 which I might tackle React or Vue later on but wanted to focus on PHP/Laravel at the moment to avoid getting overwhelmed.
I could ask AI for this but I need to hear from your personal experiences and expertise. Again, right now Im looking for free ones, not the trial.
Thank you so much
https://redd.it/1lj5zwm
@r_php
Hi, so Im new to this kind of task because I mostly focused on my programming skills. Is this task under DevOps?
Anyway, I am looking for your recommendations in free hosting for my Laravel Apps and Database for my portfolio and showcase my stuff. Right now my frontend is Livewire3 which I might tackle React or Vue later on but wanted to focus on PHP/Laravel at the moment to avoid getting overwhelmed.
I could ask AI for this but I need to hear from your personal experiences and expertise. Again, right now Im looking for free ones, not the trial.
Thank you so much
https://redd.it/1lj5zwm
@r_php
Reddit
Free hosting for Laravel and Postgres : r/PHP
185K subscribers in the PHP community. Share and discover the latest news about the PHP ecosystem and its community.
Please respect r/php's rules.
Please respect r/php's rules.
Does everyone do their dev work like this?
I'm relatively new to professional programming (currently working with Laravel), and I feel like I rarely write code that works on the first try. For example, I’ll implement an update method in a controller and make a bunch of silly mistakes typos, validating unrelated fields, or calling a model method on a collection without realizing it. It’s only when I start testing that I notice all these issues, and then I end up debugging every little thing just to get it working the way it's intended to.
it's like when there's so much context to keep in mind my brain will go autopilot and I won't even try to think it through because I know I will miss something up anyway
https://redd.it/1lj8njx
@r_php
I'm relatively new to professional programming (currently working with Laravel), and I feel like I rarely write code that works on the first try. For example, I’ll implement an update method in a controller and make a bunch of silly mistakes typos, validating unrelated fields, or calling a model method on a collection without realizing it. It’s only when I start testing that I notice all these issues, and then I end up debugging every little thing just to get it working the way it's intended to.
it's like when there's so much context to keep in mind my brain will go autopilot and I won't even try to think it through because I know I will miss something up anyway
https://redd.it/1lj8njx
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Laravel Nova market size
I work at an agency and we use Nova internally, but I have no visibility into the broader market. Thinking about building some premium plugins but want to gauge if it's worth the time investment.
Anyone have insights on:
- How big is the Nova user base actually?
- Are people still actively buying Nova plugins?
- Is the ecosystem growing or shrinking?
I've tried researching this myself but there's surprisingly little public data on Nova adoption/market size. Would love to hear from other devs who've built plugins or agencies using it.
Thanks!
https://redd.it/1ljke29
@r_php
I work at an agency and we use Nova internally, but I have no visibility into the broader market. Thinking about building some premium plugins but want to gauge if it's worth the time investment.
Anyone have insights on:
- How big is the Nova user base actually?
- Are people still actively buying Nova plugins?
- Is the ecosystem growing or shrinking?
I've tried researching this myself but there's surprisingly little public data on Nova adoption/market size. Would love to hear from other devs who've built plugins or agencies using it.
Thanks!
https://redd.it/1ljke29
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
What’s your production host, and why?
We use render.com and in all honesty, it’s fine. However migrating to it from heroku was a true hellscape.
I can’t think of anything render does that’s particularly annoying and the things that do annoy me, I know render has the featureset to make less annoying (like env variables across the main web service and all the workers, for example).
I’d love to know what everyone else is using and why they use it.
https://redd.it/1ljmjl7
@r_php
We use render.com and in all honesty, it’s fine. However migrating to it from heroku was a true hellscape.
I can’t think of anything render does that’s particularly annoying and the things that do annoy me, I know render has the featureset to make less annoying (like env variables across the main web service and all the workers, for example).
I’d love to know what everyone else is using and why they use it.
https://redd.it/1ljmjl7
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Laravel Nightwatch feature request
Please please please build in the ability to
Ignore "queued jobs" and "job attempts"
Maybe i'm dumb but i can't see why I want to track these
Sample queries
seeing 10% of my queries would be MORE THAN enough to get a picture of whats going on in my app.
i couldn't justify paying the money until this functionality is added. But i do want to use it, it's really cool apart from the above points.
For me and my app which is a pretty busy thing... counting every job, attempted job and every query makes it untenable financially.
https://redd.it/1ljrj9q
@r_php
Please please please build in the ability to
Ignore "queued jobs" and "job attempts"
Maybe i'm dumb but i can't see why I want to track these
Sample queries
seeing 10% of my queries would be MORE THAN enough to get a picture of whats going on in my app.
i couldn't justify paying the money until this functionality is added. But i do want to use it, it's really cool apart from the above points.
For me and my app which is a pretty busy thing... counting every job, attempted job and every query makes it untenable financially.
https://redd.it/1ljrj9q
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community