A small php library to generate dynamic email marketing countdowns.
https://github.com/ivanpreziosi/phpEmailTimer
https://redd.it/1p8ygqf
@r_php
https://github.com/ivanpreziosi/phpEmailTimer
https://redd.it/1p8ygqf
@r_php
GitHub
GitHub - ivanpreziosi/phpEmailTimer: A small php library for generating dynamic email marketing countdowns. Forked and updated…
A small php library for generating dynamic email marketing countdowns. Forked and updated from https://github.com/goors/php-gif-countdown - ivanpreziosi/phpEmailTimer
Small Tool for create php openSwoole /apache / NginX Rest Api
This lightweight tool designed for create Microservice Rest-Api on OpenSwoole, NginX and Apache. **gemvc** . it is MIT-license and open-source.
easy install:
composer require gemvc/library
then :
php vendor/bin/gemvc init
finally choose your server and configuration easily and finish by
docker compose up -d --build
it is AI-Ready , cursor and copilot detect it right after installation , but it is better to copy README.md to chat right after init process and prompt: read and learn it compleetly.
github : github.com/gemvc/gemvc
i wish this post be useful for your next project
https://redd.it/1p97odc
@r_php
This lightweight tool designed for create Microservice Rest-Api on OpenSwoole, NginX and Apache. **gemvc** . it is MIT-license and open-source.
easy install:
composer require gemvc/library
then :
php vendor/bin/gemvc init
finally choose your server and configuration easily and finish by
docker compose up -d --build
it is AI-Ready , cursor and copilot detect it right after installation , but it is better to copy README.md to chat right after init process and prompt: read and learn it compleetly.
github : github.com/gemvc/gemvc
i wish this post be useful for your next project
https://redd.it/1p97odc
@r_php
GitHub
GitHub - gemvc/gemvc: A lightweight, server-agnostic PHP framework (Swoole/Nginx/Apache) designed for building high-performance…
A lightweight, server-agnostic PHP framework (Swoole/Nginx/Apache) designed for building high-performance Microservices & REST APIs - gemvc/gemvc
SymfonyCon talks, slides and code exemples are on GitHub
https://github.com/SymfonyCon/2025-talks
https://redd.it/1p9pfl7
@r_php
https://github.com/SymfonyCon/2025-talks
https://redd.it/1p9pfl7
@r_php
GitHub
GitHub - SymfonyCon/2025-talks
Contribute to SymfonyCon/2025-talks development by creating an account on GitHub.
SymfonyCon talks, slides and code examples are on GitHub
https://github.com/SymfonyCon/2025-talks
https://redd.it/1p9ph62
@r_php
https://github.com/SymfonyCon/2025-talks
https://redd.it/1p9ph62
@r_php
GitHub
GitHub - SymfonyCon/2025-talks
Contribute to SymfonyCon/2025-talks development by creating an account on GitHub.
A Week of Symfony #987 (November 24–30, 2025)
https://symfony.com/blog/a-week-of-symfony-987-november-24-30-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1paejtq
@r_php
https://symfony.com/blog/a-week-of-symfony-987-november-24-30-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1paejtq
@r_php
Symfony
A Week of Symfony #987 (November 24–30, 2025) (Symfony Blog)
This week, the stable versions of Symfony 7.4.0 and Symfony 8.0.0 were released, including tens of impressive new features. In addition, the Symfony community gathered for the SymfonyCon Amsterdam 202…
Guidance on how to refactor a legacy (>10 years old) application?
I'm a junior dev with only basic knowledge of modern PHP (since all main webdev related languages tend to work the same after all) and I can understand what a modern app works (even if I still have to grasp what some PSR are about).
That said, my first ever "real job", after a short internship as a NET6 dev, will be to help and refactor an old application made in PHP5 and with hundreds of files mixing rendering, queries and buisness logic.
The app is very delicate and manages millions of dollars in transactions daily so it's really important that nothing breaks.
Conceptually I know how one should approach the refactoring: modularize the pages in an MVC like architecture and use the legacy php files as controllers, add testing (and perhaps introduce Twig instead of relying on string manipulation or even a framework like Symphony to avoid reinventing the wheel on routing/controllers and security?) but as you may imagine, for a jr like me it feels also really overwhelming, do you have any book/course you think may help me approach this challenge?
I'm still thinking about grabbing a course on Udemy to learn modern PHP development first thing first lol but refactoring feels really intimidating, like "correcting" another developer with much more experience than you
https://redd.it/1pahjaa
@r_php
I'm a junior dev with only basic knowledge of modern PHP (since all main webdev related languages tend to work the same after all) and I can understand what a modern app works (even if I still have to grasp what some PSR are about).
That said, my first ever "real job", after a short internship as a NET6 dev, will be to help and refactor an old application made in PHP5 and with hundreds of files mixing rendering, queries and buisness logic.
The app is very delicate and manages millions of dollars in transactions daily so it's really important that nothing breaks.
Conceptually I know how one should approach the refactoring: modularize the pages in an MVC like architecture and use the legacy php files as controllers, add testing (and perhaps introduce Twig instead of relying on string manipulation or even a framework like Symphony to avoid reinventing the wheel on routing/controllers and security?) but as you may imagine, for a jr like me it feels also really overwhelming, do you have any book/course you think may help me approach this challenge?
I'm still thinking about grabbing a course on Udemy to learn modern PHP development first thing first lol but refactoring feels really intimidating, like "correcting" another developer with much more experience than you
https://redd.it/1pahjaa
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
php-collective/framework-comparison: Compare some metrics of popular PHP frameworks
https://github.com/php-collective/framework-comparison
https://redd.it/1paj3sz
@r_php
https://github.com/php-collective/framework-comparison
https://redd.it/1paj3sz
@r_php
GitHub
GitHub - php-collective/framework-comparison: Compare some metrics of popular PHP frameworks
Compare some metrics of popular PHP frameworks. Contribute to php-collective/framework-comparison development by creating an account on GitHub.
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/1paotb4
@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/1paotb4
@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.
AI Vibe Software Development Coding Repair
https://ottstreamingvideo.net/ai-vibe-coding-repair
https://redd.it/1pauafg
@r_php
https://ottstreamingvideo.net/ai-vibe-coding-repair
https://redd.it/1pauafg
@r_php
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/1pb3332
@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/1pb3332
@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/1pb640g
@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/1pb640g
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Why setting your PHP memory limit to 60GB won't help
https://devcenter.upsun.com/posts/why-setting-your-php-memory-limit-to-60gb-wont-help/
https://redd.it/1pba1oz
@r_php
https://devcenter.upsun.com/posts/why-setting-your-php-memory-limit-to-60gb-wont-help/
https://redd.it/1pba1oz
@r_php
Upsun
Why setting your PHP memory limit to 60GB won't help
When you see a PHP memory limit error, your instinct shouldn't be to just increase the limit. Learn what PHP memory_limit actually does and why blindly increasing it can hurt your site's uptime.
Laravel Christmas themed advent calendar - quiz app
https://youtu.be/ymXqrRRrnqM
https://redd.it/1pbcyq7
@r_php
https://youtu.be/ymXqrRRrnqM
https://redd.it/1pbcyq7
@r_php
YouTube
Laravel Advent Calendar 2025 - Quiz App | Day 1
Advent Calendar 2025 | Quiz App | Laravel | Day 1
In this video I'll be setting up the project.
Welcome to the Laravel Advent Calendar 2025 series, where we in Livewire will be building a quiz app.
Discord: https://discord.gg/79SrV4v
Get early access…
In this video I'll be setting up the project.
Welcome to the Laravel Advent Calendar 2025 series, where we in Livewire will be building a quiz app.
Discord: https://discord.gg/79SrV4v
Get early access…
We built an AI powered PHP framework
Hey everyone
We’ve been working on a new PHP framework and wanted to share it here ! The idea was to combine the best of both worlds : Laravel and Symfony, to create something that feels like us.
One of the things we are really excited about is that we integrated a bridge between Symfony AI and our framework, so you can use AI directly inside the framework. Our goal is to make it easier to use AI in real projects without a lot of work.
We’d love to hear your thoughts, feedback or suggestions for improvements. We still working on it and it is challenging !
Thanks in advance !
https://github.com/doppar/doppar
https://redd.it/1pbgtkq
@r_php
Hey everyone
We’ve been working on a new PHP framework and wanted to share it here ! The idea was to combine the best of both worlds : Laravel and Symfony, to create something that feels like us.
One of the things we are really excited about is that we integrated a bridge between Symfony AI and our framework, so you can use AI directly inside the framework. Our goal is to make it easier to use AI in real projects without a lot of work.
We’d love to hear your thoughts, feedback or suggestions for improvements. We still working on it and it is challenging !
Thanks in advance !
https://github.com/doppar/doppar
https://redd.it/1pbgtkq
@r_php
GitHub
GitHub - doppar/doppar: Doppar Framework Skeleton
Doppar Framework Skeleton. Contribute to doppar/doppar development by creating an account on GitHub.
Laravel Octane + Multi-tenancy + Yajra Datatables: Second tenant can't load data (state leaking issue)
Hey everyone, I'm stuck with a tricky state leaking problem and hoping someone has dealt with this scenario before.
**My Stack:**
* Laravel with Swoole via Octane
* Multi-tenancy using `stancl/tenancy` (archtechx/tenancy)
* Redis for cache with tenant-specific prefixes
* Yajra Datatables for server-side processing
**The Problem:**
When the **first tenant** logs in after `octane:reload`, everything works perfectly - all datatables load data correctly. However, when a **second tenant** logs in (using the same worker/PID), some datatables simply don't return data even though the records exist in their database. It's not all datatables - some work fine, but specific ones consistently fail for the second tenant.
**What I've Tried:**
* Enabled `RedisTenancyBootstrapper` and `CacheTenancyBootstrapper` in tenancy config
* Set `persistent => false` in Redis connection config
* Added `Redis::purge()` in `TenancyBootstrapping` event
* Used `app()->forgetInstance()` for redis, cache, and [cache.store](http://cache.store)
* Added Yajra classes to Octane's `flush` array
* Created middleware to reset datatables instances per request
* Verified Redis keys have correct tenant prefixes (they do!)
**Debug Info:**
* Logs confirm the tenant boots correctly with the right prefix
* Same worker PID serves both tenants (expected with Octane)
* Redis disconnect/purge logs appear correctly
* The issue is NOT with all datatables, only specific ones
**My Theory:**
Since Redis isolation seems correct (keys have proper prefixes), I suspect the Yajra Datatables service is holding onto the `Request` object or query state from the first tenant, even after attempting to flush it. But I can't pinpoint exactly what's being cached in memory.
Has anyone successfully run this exact combo (Octane + stancl/tenancy + Yajra Datatables)? Is there a known incompatibility or specific service that needs manual cleanup between tenant switches?
https://redd.it/1pbn84f
@r_php
Hey everyone, I'm stuck with a tricky state leaking problem and hoping someone has dealt with this scenario before.
**My Stack:**
* Laravel with Swoole via Octane
* Multi-tenancy using `stancl/tenancy` (archtechx/tenancy)
* Redis for cache with tenant-specific prefixes
* Yajra Datatables for server-side processing
**The Problem:**
When the **first tenant** logs in after `octane:reload`, everything works perfectly - all datatables load data correctly. However, when a **second tenant** logs in (using the same worker/PID), some datatables simply don't return data even though the records exist in their database. It's not all datatables - some work fine, but specific ones consistently fail for the second tenant.
**What I've Tried:**
* Enabled `RedisTenancyBootstrapper` and `CacheTenancyBootstrapper` in tenancy config
* Set `persistent => false` in Redis connection config
* Added `Redis::purge()` in `TenancyBootstrapping` event
* Used `app()->forgetInstance()` for redis, cache, and [cache.store](http://cache.store)
* Added Yajra classes to Octane's `flush` array
* Created middleware to reset datatables instances per request
* Verified Redis keys have correct tenant prefixes (they do!)
**Debug Info:**
* Logs confirm the tenant boots correctly with the right prefix
* Same worker PID serves both tenants (expected with Octane)
* Redis disconnect/purge logs appear correctly
* The issue is NOT with all datatables, only specific ones
**My Theory:**
Since Redis isolation seems correct (keys have proper prefixes), I suspect the Yajra Datatables service is holding onto the `Request` object or query state from the first tenant, even after attempting to flush it. But I can't pinpoint exactly what's being cached in memory.
Has anyone successfully run this exact combo (Octane + stancl/tenancy + Yajra Datatables)? Is there a known incompatibility or specific service that needs manual cleanup between tenant switches?
https://redd.it/1pbn84f
@r_php
Laravel is hiring a Community Manager!
Hey all! Admin approved message here. :)
Laravel is hiring a Community Manager to engage with the community on X, Discord, and here on Reddit of course.
Link to job → https://apply.workable.com/laravel/j/D34D04F351/
You'd work closely with Marketing, Dev Rel, and our Product teams. It's great for someone who has a background in Laravel but doesn't want to spend their whole day in the code mines anymore.
We also have a few other roles open if that one doesn't strike your fancy. Feel free to DM me me if you have questions or just comment here.
https://redd.it/1pbrjfu
@r_php
Hey all! Admin approved message here. :)
Laravel is hiring a Community Manager to engage with the community on X, Discord, and here on Reddit of course.
Link to job → https://apply.workable.com/laravel/j/D34D04F351/
You'd work closely with Marketing, Dev Rel, and our Product teams. It's great for someone who has a background in Laravel but doesn't want to spend their whole day in the code mines anymore.
We also have a few other roles open if that one doesn't strike your fancy. Feel free to DM me me if you have questions or just comment here.
https://redd.it/1pbrjfu
@r_php
Workable
Developer Relations Community Manager - Laravel
At Laravel, we are committed to creating tools that empower developers to build exceptional web applications while nurturing a supportive and inclusive global community. By joining our team, you’ll play a pivotal role in helping developers succeed and ...
Literature
It’s been a while since I’ve looked at any Laravel books. What are the current books out there for building modern applications using best practices?
https://redd.it/1pc4lul
@r_php
It’s been a while since I’ve looked at any Laravel books. What are the current books out there for building modern applications using best practices?
https://redd.it/1pc4lul
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community