PHP library for handling large CSV files efficiently (stream-based + callable support)
Good day, everyone!
I’d like to share an open-source library I’ve been working on recently: csv-manager.
This library is designed to handle very large CSV files efficiently using a stream-based approach, so it doesn’t load the entire file into memory.
It also supports passing a callable function as a parameter, which allows you to apply your own logic while the file is being read — for example, transforming rows, filtering data, or running validations on the fly.
You can find basic usage examples in the README.
I’d really appreciate your opinions, feedback, or suggestions for improvement!
Repo: https://gitlab.com/jcadavalbueno/csv-manager
Thanks for reading, and have a great day!
https://redd.it/1ogf8pm
@r_php
Good day, everyone!
I’d like to share an open-source library I’ve been working on recently: csv-manager.
This library is designed to handle very large CSV files efficiently using a stream-based approach, so it doesn’t load the entire file into memory.
It also supports passing a callable function as a parameter, which allows you to apply your own logic while the file is being read — for example, transforming rows, filtering data, or running validations on the fly.
You can find basic usage examples in the README.
I’d really appreciate your opinions, feedback, or suggestions for improvement!
Repo: https://gitlab.com/jcadavalbueno/csv-manager
Thanks for reading, and have a great day!
https://redd.it/1ogf8pm
@r_php
GitLab
Jose antonio Cadaval Bueno / csv-manager · GitLab
Php-based library in charge of managing both the creation and reading of csv files.
What are you using for monitoring? Or searching for EU alternative of Nightwatch
Well, topic speaks for itself. I'm using (testing, actually) the Laravel Nightwatch and it's quite good with the free plan, but when the app grows, free plan won't be enough. So looking for EU-based alternatives of Laravel monitoring: exceptions, query stats, mail monitoring, etc.
Heard about "Oh Dear" (ohdear.app), but not sure if they provide the same level as Nightwatch.
Any ideas?
https://redd.it/1ogg7yb
@r_php
Well, topic speaks for itself. I'm using (testing, actually) the Laravel Nightwatch and it's quite good with the free plan, but when the app grows, free plan won't be enough. So looking for EU-based alternatives of Laravel monitoring: exceptions, query stats, mail monitoring, etc.
Heard about "Oh Dear" (ohdear.app), but not sure if they provide the same level as Nightwatch.
Any ideas?
https://redd.it/1ogg7yb
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
I made a screen recorder powered by Laravel, bit of fun!
https://x.com/ashleyhindle/status/1982395682066493825
https://redd.it/1oghikv
@r_php
https://x.com/ashleyhindle/status/1982395682066493825
https://redd.it/1oghikv
@r_php
X (formerly Twitter)
Ashley Hindle (@ashleyhindle) on X
This is crazy - I built a screen recorder in Laravel 🤯
There's so much more possibility here, so much more I want to be able to do. It's going to be so simple to record, edit, and manage an entire video course 🔥 Let's freakin' go!
There's so much more possibility here, so much more I want to be able to do. It's going to be so simple to record, edit, and manage an entire video course 🔥 Let's freakin' go!
A Week of Symfony #982 (October 20–26, 2025)
https://symfony.com/blog/a-week-of-symfony-982-october-20-26-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1oghnam
@r_php
https://symfony.com/blog/a-week-of-symfony-982-october-20-26-2025?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1oghnam
@r_php
Symfony
A Week of Symfony #982 (October 20–26, 2025) (Symfony Blog)
This week, the upcoming Symfony 7.4 version merged the last major new features that will be included in this release: deprecated the fluent PHP format for semantic configuration and deprecated config …
Security review request — Laravel app (MVC + API) with rich-text editor: how to test & harden against XSS and common Laravel attacks?
Hi eweryone! I just deployed a Laravel application that exposes both an MVC frontend and an API. The app includes a rich-text editor, and I want to perform a focused security review before going wider. ’m looking for advanced/practical advice: how to test for XSS (reflected, stored, DOM) and other Laravel-specific risks.
https://redd.it/1ogfd03
@r_php
Hi eweryone! I just deployed a Laravel application that exposes both an MVC frontend and an API. The app includes a rich-text editor, and I want to perform a focused security review before going wider. ’m looking for advanced/practical advice: how to test for XSS (reflected, stored, DOM) and other Laravel-specific risks.
https://redd.it/1ogfd03
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Concepts i should master before diving into frameworks
Hi,i'm someone with a goal to become a really good PHP developer. Im currently in the making some very basic beginner projects with pure PHP and haven't touched a framework yet like Laravel or Symphony.Can someone please give me some extra advice and a decent list of concepts i need to master before diving into frameworks.Its true that i may not need to get really deep into pure php to dive into frameworks because i have heard other people who succeeded becoming laravel devs without deep diving first into pure PHP,but i really want to become a great at it before touching frameworks. Any advice is greatly aprecciated along the way and i would love if someone could just list me some concepts i must master to make framework learning and then development a lot easier and also just help me as a developer,maybe some resources,anything welcomed and apreciated.
https://redd.it/1ogkcy1
@r_php
Hi,i'm someone with a goal to become a really good PHP developer. Im currently in the making some very basic beginner projects with pure PHP and haven't touched a framework yet like Laravel or Symphony.Can someone please give me some extra advice and a decent list of concepts i need to master before diving into frameworks.Its true that i may not need to get really deep into pure php to dive into frameworks because i have heard other people who succeeded becoming laravel devs without deep diving first into pure PHP,but i really want to become a great at it before touching frameworks. Any advice is greatly aprecciated along the way and i would love if someone could just list me some concepts i must master to make framework learning and then development a lot easier and also just help me as a developer,maybe some resources,anything welcomed and apreciated.
https://redd.it/1ogkcy1
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
What's the best way to implement a Tag entity?
Hey,
Let's say you're making an app with many Users who can all create Properties and Documents with any number of Tags each.
e.g. Property tags would include stuff like "south-facing". Documents might have "rental agreement". Some tags could exist on either like "renovation".
How would you set that up? I can't come up with an optimal solution :(
With a ManyToMany setup:
\- By having only one Tag entity you might see "south-facing" appear in the Document's auto-complete which makes no sense. But by having PropertyTag and DocumentTag you duplicate the "renovation" value.
\- If every user has its own tags, you'll end up with 100 versions of "renovation", "renovated", "RENOVATED", "recently renovated", "restored", "refurbished"... Even though one shared tag would serve them all just fine. So if 10 standard tags all have 100 variants thats 1000 entries instead of 10.
\- But if all users share one tag, they can't edit it and would have to remove "renovation" and add instead "renovated in 2025" on all their properties if they want to edit in that detail. Unless I make the edit action auto-handle foreign key re-assignment, which sounds messy.
With an array field setup, the duplicates are maxed and it's not performant in queries' filter/order operations.
--> How to implement tags without ending up with thousands of entries, many of which are duplicates?
I understand that SQL can handle the load just fine but I'd love a more elegant solution \^\^
https://redd.it/1oglnuh
@r_php
Hey,
Let's say you're making an app with many Users who can all create Properties and Documents with any number of Tags each.
e.g. Property tags would include stuff like "south-facing". Documents might have "rental agreement". Some tags could exist on either like "renovation".
How would you set that up? I can't come up with an optimal solution :(
With a ManyToMany setup:
\- By having only one Tag entity you might see "south-facing" appear in the Document's auto-complete which makes no sense. But by having PropertyTag and DocumentTag you duplicate the "renovation" value.
\- If every user has its own tags, you'll end up with 100 versions of "renovation", "renovated", "RENOVATED", "recently renovated", "restored", "refurbished"... Even though one shared tag would serve them all just fine. So if 10 standard tags all have 100 variants thats 1000 entries instead of 10.
\- But if all users share one tag, they can't edit it and would have to remove "renovation" and add instead "renovated in 2025" on all their properties if they want to edit in that detail. Unless I make the edit action auto-handle foreign key re-assignment, which sounds messy.
With an array field setup, the duplicates are maxed and it's not performant in queries' filter/order operations.
--> How to implement tags without ending up with thousands of entries, many of which are duplicates?
I understand that SQL can handle the load just fine but I'd love a more elegant solution \^\^
https://redd.it/1oglnuh
@r_php
Reddit
From the symfony community on Reddit
Explore this post and more from the symfony community
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/1ogps9n
@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/1ogps9n
@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.
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/1oh3yso
@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/1oh3yso
@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/1oh7pgr
@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/1oh7pgr
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
aide-ndjson utility package for PHP
https://github.com/bakame-php/aide-ndjson
https://redd.it/1oh7sn1
@r_php
https://github.com/bakame-php/aide-ndjson
https://redd.it/1oh7sn1
@r_php
GitHub
GitHub - bakame-php/aide-ndjson: a robust PHP utility for encoding, decoding, streaming and parsing NDJSON
a robust PHP utility for encoding, decoding, streaming and parsing NDJSON - bakame-php/aide-ndjson
Scramble 0.13.x – Laravel API documentation generator update: full type inference and closure routes support
https://scramble.dedoc.co/blog/scrambledrop-scramble-013x
https://redd.it/1oh85ac
@r_php
https://scramble.dedoc.co/blog/scrambledrop-scramble-013x
https://redd.it/1oh85ac
@r_php
scramble.dedoc.co
#scrambledrop: Scramble 0.13.x - Scramble
OpenAPI (Swagger) documentation generator for Laravel. Without manual PHPDoc annotations.
New in Symfony 7.4: Weighted Workflow Transitions
https://symfony.com/blog/new-in-symfony-7-4-weighted-workflow-transitions?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1oha8jn
@r_php
https://symfony.com/blog/new-in-symfony-7-4-weighted-workflow-transitions?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1oha8jn
@r_php
Symfony
New in Symfony 7.4: Weighted Workflow Transitions (Symfony Blog)
Symfony 7.4 introduces weighted workflow transitions, allowing places to track multiple instances and model processes that require quantities, like approvals or components.
CKEditor 5 WYSIWYG editor integration for Laravel Livewire
https://github.com/Mati365/ckeditor5-livewire
https://redd.it/1oha9fv
@r_php
https://github.com/Mati365/ckeditor5-livewire
https://redd.it/1oha9fv
@r_php
GitHub
GitHub - Mati365/ckeditor5-livewire: 📝 CKEditor 5 for Livewire - easy WYSIWYG editor for your Laravel apps! ⚡ Works great with…
📝 CKEditor 5 for Livewire - easy WYSIWYG editor for your Laravel apps! ⚡ Works great with Livewire components or regular Blade forms. 💡 Simple setup, supports custom builds, dynamic loading, and lo...
PHP discord server tag
https://discord.gg/Hv6ax6cmsE
This is a Discord server that provides PHP server tags.
I agonized over whether to share it on Reddit, worried it might look like promotion.
I ultimately decided to share it because it's a Discord server “dedicated solely to providing server tags, with absolutely no other activity possible.” There is no space to send messages whatsoever, and we have no plans to lift this restriction in the future.
I bought a booster because I wanted to add a PHP tag next to my nickname, but it felt wasteful to use it alone... so I'm sharing it.
https://redd.it/1ohdtl2
@r_php
https://discord.gg/Hv6ax6cmsE
This is a Discord server that provides PHP server tags.
I agonized over whether to share it on Reddit, worried it might look like promotion.
I ultimately decided to share it because it's a Discord server “dedicated solely to providing server tags, with absolutely no other activity possible.” There is no space to send messages whatsoever, and we have no plans to lift this restriction in the future.
I bought a booster because I wanted to add a PHP tag next to my nickname, but it felt wasteful to use it alone... so I'm sharing it.
https://redd.it/1ohdtl2
@r_php
Discord
Join the PHP Discord Server!
A server only for a PHP server tag and PHP-related emojis. No chat allowed. | 2 members
🗳️ [VOTING] PHP 8.5 Release Page Design Contest
https://github.com/php/web-php/issues/1563
https://redd.it/1ohgkp3
@r_php
https://github.com/php/web-php/issues/1563
https://redd.it/1ohgkp3
@r_php
GitHub
🗳️ [VOTING] PHP 8.5 Release Page Design Contest · Issue #1563 · php/web-php
A huge thank you to everyone who submitted their designs! Together with the jury we carefully reviewed all entries and selected a shortlist. Our main criteria were how well the task was understood,...
SymfonyCon Amsterdam 2025: Countdown Begins: Just 30 Days Until SymfonyCon Amsterdam!
https://symfony.com/blog/symfonycon-amsterdam-2025-countdown-begins-just-30-days-until-symfonycon-amsterdam?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1ohi4s5
@r_php
https://symfony.com/blog/symfonycon-amsterdam-2025-countdown-begins-just-30-days-until-symfonycon-amsterdam?utm_medium=feed&utm_source=Symfony%20Blog%20Feed
https://redd.it/1ohi4s5
@r_php
Symfony
SymfonyCon Amsterdam 2025: Countdown Begins: Just 30 Days Until SymfonyCon Amsterdam! (Symfony Blog)
The countdown is on! SymfonyCon Amsterdam 2025 is almost here. Check out the talks, workshops, and evening celebration and get ready to join the community in Amsterdam!