Spiral text utility
Not sure if this is appropriate but I came up with a little utility for printing text elements that spiral out from a central point
https://github.com/mrmcflute/spiralString
It's really just an idea and thought that maybe it might be useful to someone.
https://redd.it/1pg2i0q
@r_php
Not sure if this is appropriate but I came up with a little utility for printing text elements that spiral out from a central point
https://github.com/mrmcflute/spiralString
It's really just an idea and thought that maybe it might be useful to someone.
https://redd.it/1pg2i0q
@r_php
GitHub
GitHub - mrmcflute/spiralString: Spiral Text Printing
Spiral Text Printing. Contribute to mrmcflute/spiralString development by creating an account on GitHub.
Is it worth using functional programming in PHP?
Sorry if the question seems lazy, and strongly opinion based, but thats what I want to know from more experienced developers.
I'm a junior dev trying to improve as a developer and trying to apply new things in my job that consists of maintaining good old legacy procedural php in an small company.
Php seems to be implementing plenty of functional programming quality of life features lately, and maybe this could be a good oportunity to try to learn and experience functional programming.
I feel like learning it could help making the code more testable and it would be easier to implement FP than OOP in this codebase.
What do you guys think?
https://redd.it/1pg27d3
@r_php
Sorry if the question seems lazy, and strongly opinion based, but thats what I want to know from more experienced developers.
I'm a junior dev trying to improve as a developer and trying to apply new things in my job that consists of maintaining good old legacy procedural php in an small company.
Php seems to be implementing plenty of functional programming quality of life features lately, and maybe this could be a good oportunity to try to learn and experience functional programming.
I feel like learning it could help making the code more testable and it would be easier to implement FP than OOP in this codebase.
What do you guys think?
https://redd.it/1pg27d3
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
how does a function get undefined?
there is a weird thing going on? if i do
https://redd.it/1pgdeta
@r_php
there is a weird thing going on? if i do
if(!in_array($_SERVER["SCRIPT_FILENAME"],get_included_files())){/*your methods*/} in my head the methods within the very same noscript should already be defined. but they aren't, any reason why this is happening? https://redd.it/1pgdeta
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Why there isn't a Discord?
Hi everyone, I know it's a silly question, but I'd like to ask why there isn't a Symfony Discord server.
I mean, I know Slack exists, but I think it's easier for any user to connect with the Symfony community through a Discord server. Does anyone know why there isn't an official server? I'd be very tempted to create one, obviously not to manage it entirely myself, but simply to provide an opportunity for users who perhaps don't know what Slack is or how to use it, to connect with the Symfony community and ask for support and more quickly and easily, especially since everyone knows Discord. What do you think?
https://redd.it/1pgeo94
@r_php
Hi everyone, I know it's a silly question, but I'd like to ask why there isn't a Symfony Discord server.
I mean, I know Slack exists, but I think it's easier for any user to connect with the Symfony community through a Discord server. Does anyone know why there isn't an official server? I'd be very tempted to create one, obviously not to manage it entirely myself, but simply to provide an opportunity for users who perhaps don't know what Slack is or how to use it, to connect with the Symfony community and ask for support and more quickly and easily, especially since everyone knows Discord. What do you think?
https://redd.it/1pgeo94
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
A Week of Symfony #988 (December 1–7, 2025)
https://symfony.com/blog/a-week-of-symfony-988-december-1-7-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1pgfml4
@r_php
https://symfony.com/blog/a-week-of-symfony-988-december-1-7-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1pgfml4
@r_php
Symfony
A Week of Symfony #988 (December 1–7, 2025) (Symfony Blog)
This week, development activity focused on fixing the reported bugs from the first stable releases of Symfony 7.4 and 8.0. We also published a recap of the recent SymfonyCon Amsterdam conference and s…
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/1pgoukp
@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/1pgoukp
@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.
Yii Database abstraction 2.0
The second major version of Yii Database abstraction was released. The package is framework agnostic and thus can be used with any framework or without one. Supported databases are MSSQL, MySQL, MariaDB, Oracle, PostgreSQL, and SQLite. As usual with Yii3 packages, all the code is totally covered in types and the unit tests and has a high mutation testing score.
New Features
\- Implement
\-
\-
\-
\- New conditions:
\- PHP backed enums support
\- User-defined type casting
\-
Enhancements
\- Optimized SQL generation and query building
\- Improved type safety with psalm annotations
\- Method chaining for column classes
\- Better exception messages
\- Refactored core components for better maintainability
\- PHP 8.5 support
https://github.com/yiisoft/db
https://redd.it/1pgsl08
@r_php
The second major version of Yii Database abstraction was released. The package is framework agnostic and thus can be used with any framework or without one. Supported databases are MSSQL, MySQL, MariaDB, Oracle, PostgreSQL, and SQLite. As usual with Yii3 packages, all the code is totally covered in types and the unit tests and has a high mutation testing score.
New Features
\- Implement
ColumnInterface classes according to the data type of database table columns for type casting performance.\-
ConnectionProvider for connection management\-
ColumnBuilder for column creation\-
CaseX expression for CASE\-WHEN\-THEN\-ELSE statements\- New conditions:
All, None, ArrayOverlaps, JsonOverlaps\- PHP backed enums support
\- User-defined type casting
\-
ServerInfoInterface and its implementationEnhancements
\- Optimized SQL generation and query building
\- Improved type safety with psalm annotations
\- Method chaining for column classes
\- Better exception messages
\- Refactored core components for better maintainability
\- PHP 8.5 support
https://github.com/yiisoft/db
https://redd.it/1pgsl08
@r_php
Yii Framework
Yii Database 2.0 + Drivers
How are you managing Stripe subnoscriptions & plans inside Laravel?
I’m working on a new Laravel app and once again running into my usual pain point: managing Stripe subnoscription plans from inside my own admin panel instead of relying only on env files + the Stripe dashboard.
I’m curious how others are handling this in real projects:
Do you create/manage products and prices directly from your Laravel admin?
Are you storing plans in the database and syncing to Stripe?
How do you handle discounts, promos, and free trials in a clean way?
Any patterns that didn’t work well for you?
Not looking for a full tutorial—just want to see real-world approaches and tradeoffs. Screenshots, code snippets, or repo links are welcome if you’re willing to share.
https://redd.it/1ph1jgi
@r_php
I’m working on a new Laravel app and once again running into my usual pain point: managing Stripe subnoscription plans from inside my own admin panel instead of relying only on env files + the Stripe dashboard.
I’m curious how others are handling this in real projects:
Do you create/manage products and prices directly from your Laravel admin?
Are you storing plans in the database and syncing to Stripe?
How do you handle discounts, promos, and free trials in a clean way?
Any patterns that didn’t work well for you?
Not looking for a full tutorial—just want to see real-world approaches and tradeoffs. Screenshots, code snippets, or repo links are welcome if you’re willing to share.
https://redd.it/1ph1jgi
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
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/1ph2xsd
@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/1ph2xsd
@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/1ph5x52
@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/1ph5x52
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
soo the thing i anticipate the most has been asleep for 3 months. is it finished and just waiting for juicy release date? what do you think?
https://redd.it/1ph76g5
@r_php
https://redd.it/1ph76g5
@r_php
[Research] Tool to Trace Model and Event Usage in Laravel Projects
I'm working on a tool that shows how models get used in a Laravel project, but in a way normal users can understand. Kind of like PhpStorm’s "find usages", but shown in a simple dashboard for managers or anyone who isn't deep into the code
The idea is that you click a model or a method and see the path of what touches it: `action → controller → route`. I want to do the same for listeners, jobs, events, and anything else that runs when something happens in the app
Basically I want to answer things like:
* what happens when a user gets created
* which listeners run when a user is updated
* which jobs fire when a post is created
I'm trying to figure out if this would be useful for others as an open-source tool. You would import your Laravel project into it and get all these insights about what cals what and what runs when things happen
https://redd.it/1phe7ua
@r_php
I'm working on a tool that shows how models get used in a Laravel project, but in a way normal users can understand. Kind of like PhpStorm’s "find usages", but shown in a simple dashboard for managers or anyone who isn't deep into the code
The idea is that you click a model or a method and see the path of what touches it: `action → controller → route`. I want to do the same for listeners, jobs, events, and anything else that runs when something happens in the app
Basically I want to answer things like:
* what happens when a user gets created
* which listeners run when a user is updated
* which jobs fire when a post is created
I'm trying to figure out if this would be useful for others as an open-source tool. You would import your Laravel project into it and get all these insights about what cals what and what runs when things happen
https://redd.it/1phe7ua
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Migrating our multi-tenant Laravel app to AWS ECS with minimal impact
https://youtu.be/SxXW4H1y4xY
https://redd.it/1phdtel
@r_php
https://youtu.be/SxXW4H1y4xY
https://redd.it/1phdtel
@r_php
YouTube
Rebuilding our infrastructure from scratch and migrating live (AWS ECS migration)
#laravel #cloudflare #aws #infrastructure #terraform
It’s been a busy few months in which I was finally able to migrate our entire application to AWS from our current cloud provider. We were able to do this migration without any major disruptions for our…
It’s been a busy few months in which I was finally able to migrate our entire application to AWS from our current cloud provider. We were able to do this migration without any major disruptions for our…