PHP Reddit – Telegram
PHP Reddit
34 subscribers
289 photos
37 videos
24.8K links
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Download Telegram
Looking for TWIG PHP developer

I'm looking for TWIG PHP developer to help fix existing website issues between frontend and and admin backend if anyone could or take the gig

https://redd.it/1nkh6yv
@r_php
dumpall: A Simple CLI to Aggregate Laravel Files for Reviews & AI Workflows 🐱💻

Hey r/laravel! 👋 As a Laravel dev, I've wasted hours manually grabbing files from modules or migrations for reviews or AI prompts—tabs everywhere, context lost! 😩 So, I built **dumpall**, a lightweight CLI that dumps your Laravel project files into clean Markdown (fenced blocks with paths). It's Unix-simple, like cat for directories, and great for Artisan-heavy setups.

**5 Laravel use cases that save my sanity:**

* 🛠️ **Module Sharing**: Dump a full module (e.g., Modules/User/) for team/AI reviews—no folder-hopping.
* 🤖 **Feature Planning**: Aggregate Models & routes, paste to AI for new endpoints like past ones.
* 🐛 **Migration Debug**: database/migrations/ in one go—spot schema issues fast.
* 📦 **Config Archiving**: Combine config/ & Artisan files for audits/handovers.
* 🔍 **Model Refactoring**: Pull Models/ + Traits/ for AI-optimized suggestions.

Try it in your Laravel project:

npx dumpall . -e vendor -e node_modules --clip

It's open-source: 🌐 [dumpall.pages.dev](https://dumpall.pages.dev/) | 📦 [github.com/ThisIsntMyId/dumpall](https://github.com/ThisIsntMyId/dumpall). Feedback welcome—what Laravel workflow would you use this for? Let's iterate! 🚀

https://redd.it/1nkufx6
@r_php
Who's hiring/looking

This is a bi-monthly thread aimed to connect PHP companies and developers who are hiring or looking for a job.

Rules

No recruiters
Don't share any personal info like email addresses or phone numbers in this thread. Contact each other via DM to get in touch
If you're hiring: don't just link to an external website, take the time to describe what you're looking for in the thread.
If you're looking: feel free to share your portfolio, GitHub, … as well. Keep into account the personal information rule, so don't just share your CV and be done with it.

https://redd.it/1nkxkon
@r_php
Hi

I posted here before about my problem as an intery level and I depend a lot on ai to code:) also I guess I lack the basics so, help me by giving me like a good roadmap/course/book that helped you through the php/laravel stack…
So that I stop vibe coding cause I really hate that and I am really trying

https://redd.it/1nky2xo
@r_php
Introducing StreamPulse: Reliable Event Streaming for Laravel Applications

Hey Laravel community! I'm excited to share **StreamPulse**, a package I've been working on to solve distributed event streaming in the Laravel ecosystem.

# What is StreamPulse?

StreamPulse provides a clean, Laravel-native way to publish and consume events between distributed applications. Built on Redis Streams, it handles all the complexity of reliable messaging while giving you a simple API that feels right at home in Laravel.

# Key Features

* **Laravel-native experience** with an API that feels familiar
* **Transaction-aware publishing** \- events tied to your database transactions
* **Resilient processing** with automatic retries and dead letter queues
* **Monitoring dashboard** to visualize and manage your streams
* **Redis Streams integration** with plans for additional drivers

# Why I Built This

Working with distributed systems in Laravel, I found myself repeatedly implementing custom solutions for reliable cross-application messaging. StreamPulse abstracts all that complexity away, letting you focus on your business logic.

# Beta Release - Feedback Welcome!

This is a beta release, and I'd love your feedback! Try it out, open issues, suggest features, or contribute code.

 **Check it out:** [**github.com/saravanasai/stream-pulse**](vscode-file://vscode-app/c:/Users/sarav/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/workbench/workbench.html)

If you find this useful, please consider giving it a star!

https://redd.it/1nlbmj2
@r_php
A bundle to handle images

Hello,

I'm looking for a bundle to handle images upload and preview in the form. Actually i do things manually but i want a package that will reduce my work. Any idea please ? I'm on Symfony 7.3 actually.

https://redd.it/1nlh7ks
@r_php
This sub should have a rule not to promote Laravel packages.

Almost every day, I see developers here promoting their Laravel packages. They forget that this is a framework-specific extension.

This sub is for questions, news and comments on general PHP subjects. Framework-agnostic packages are also welcome to be promoted here. But damn, not everyone uses Laravel. There's also Symfony and about 7128 other frameworks. Use the appropriate sub for that. Thanks.

https://redd.it/1nli767
@r_php
Unknown column type "array" requested with VichUploaderBundle

I just installed https://github.com/dustin10/VichUploaderBundle in my app. I have a Product entity that will have many images, so i created a ProductImage entity for an image.

...
#[ORM\Entity]
#[Vich\Uploadable]
class ProductImage implements TimestampableInterface
{
use TimestampableTrait;

#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;

#[Vich\UploadableField(mapping: 'product_images', fileNameProperty: 'imageName', size: 'imageSize')]
private ?File $imageFile = null;

#[ORM\Column(nullable: true)]
private ?string $imageName = null;

#[ORM\Column(nullable: true)]
private ?int $imageSize = null;

#[ORM\Column]
private bool $isMain = false;

#[ORM\ManyToOne(inversedBy: 'images')]
#[ORM\JoinColumn(nullable: false)]
private ?Product $product = null;
...


But when i run symfony console make:migration i have an error:
In UnknownColumnType.php line 15:

Unknown column type "array" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType(). You c
an get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database introspection then
you might have forgotten to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have yo
ur custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some m
apping information.


Any idea about it please ?

https://redd.it/1nlmqx0
@r_php
How do you feel about PHP in phones?

Just to be clear, I know many of you will know who I am and what I'm representing here. So I'm not going to link to or name anything specifically; I'm here with a genuine question because I want to understand this community's sentiment towards this general topic, not a specific implementation.

I don't want this to be about the name of a package or the fact that it only supports this framework or that framework. Please try to extrapolate from where we are right now and think forwards.

Is running PHP in more places good or bad? Why?

What pitfalls do you think most PHP developers will fall into as they try to apply their skills to platforms other than the web?

Here's my take to get things going:

I've been a PHP developer for 25 years. I love using PHP. I think the language and tooling around it is fantastic, and in recent years has evolved and matured immensely and continues to do so.

I've invested a lot of my career into PHP and I want to see it continue. I also want to be able to expand the things I can do with these skills. I love building for the web, but it is not the only place where I work & play, nor my clients, nor their customers.

I'm a pragmatic software engineer at heart; I want to create meaningful solutions to interesting problems. PHP allows me to do that rapidly, safely, and with little fanfare, so I can move on to solving the next set of problems (probably ones I've created).

So having PHP work anywhere feels like a massive win to me and I welcome its continued expansion, and I will personally continue to push for it to happen.

If we can embrace this opportunity and help fellow PHP devs to level up to working rapidly and safely on these new platforms, the future of PHP could be even brighter.

Thanks in advance for a thoughtful and considered discussion 🙏🏼

https://redd.it/1nlxq2v
@r_php
Mcp servers using Laravel

I am so excited about this new package. Laravel has always been at the forefront of adoption to new technology

Now build ai tools using this matured framework. What else do you want?

It opens up so many opportunity for all the existing laravel apps

Creatig MCP server with Laravel in less than 20 mins
https://youtu.be/vKaNfJ_J8bg

Tell me what’s your idea of implanting mcp server and bring the power of ai into your app

https://redd.it/1nlzg0q
@r_php
Running locally

Since I am old school and relearning everything. I have started a project for practicing.

I've got a question to start with.


Running Windows 11 on xampp:

I want to run the app through the browser to list my directories for Movies, Music, Gallery.

Instead of bouncing all over in window explorer i would have a central place for all my entertainment.

Does php have the function of listing directories on my machine and then spit those results out in a webpage. Locally.


thanks.


ps. Perhaps even sorting those listings in a useful fashion. :)

https://redd.it/1nmnhyq
@r_php
I have built a free visual database design tool

Hello everyone,
Many of you here work on  Database design, so I thought I’d share a tool I’ve built.

I’d been planning for a long time to create a database design tool that truly fits my workflow. And finally, I’ve released my NoSQL (Indexed DB) Powered SQL Database Design Tool (yes, this sounds a bit funny  IMO).

It’s free and open source — anyone can use it. You’re also welcome to give feedback or contribute.
You can create unlimited diagrams with no restrictions. It’s a privacy-focused app — your data stays with you.

After designing a database, you can export directly to Laravel, TypeORM, or Django migration files.
It also comes with zones (with lock/unlock functions), notes with copy and paste capabilities, keyboard shortcuts, and many other features to boost productivity. It’s built to handle large diagrams and is highly scalable.

I hope you’ll like it! Everyone’s invited to try it out:
GitHub: https://github.com/AHS12/thoth-blueprint
App: https://thoth-blueprint.vercel.app/

https://redd.it/1nmosxo
@r_php
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/1nmxawm
@r_php
I’m building Xray a free, open-source debugger, and I want you to join me on the journey
https://redd.it/1nn36n7
@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/1nnboj2
@r_php
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/1nnemcl
@r_php