PHP Reddit – Telegram
PHP Reddit
34 subscribers
286 photos
36 videos
24.7K links
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Download Telegram
Doctrine DB driver not found

Hi,

I am new to the framework.

I tried everything, for hours.

I have PHP 8.5 installed with the pdo_mysql extension installed and enabled. PHP-FPM running and configured with NGINX.

Running MariaDB 12.2.1.

Database configuration in .env with mysql:// and server version.

When I try to run database operations from bin/console it does actually partially populate the database but it gives an error as well: driver missing.

What should I do or install to make sure Doctrine can communicate with MariaDB without any issues?

https://redd.it/1pw94qa
@r_php
Any good ressources For OOP In Php

Hi guys, I want to ask about any good articles, courses, or videos to explain OOP. I want someone to guide me, not someone who just shows me code.

https://redd.it/1pwbq9z
@r_php
VibedebugBundle v0.2.0 is out 🎉

AI-powered debugging inside the **Symfony Web Profiler**: open an exception profile and immediately chat with an agent to understand the root cause and possible fixes.

What’s new

* 💬 New chat experience in the profiler
* 🧠 Conversations stay attached to the profile (come back later — it’s still there)
* 🧩 Improved prompts/context for exception debugging
* 📝 Cleaner, more readable output in the UI
* Compatible with the **first tagged release of Symfony AI** (`symfony/ai-*` `^0.1`)

[https://github.com/sonnymilton/vibedebug-bundle/releases/tag/0.2.0](https://github.com/sonnymilton/vibedebug-bundle/releases/tag/0.2.0)
Feedback welcome 🙏

https://redd.it/1pwwjgp
@r_php
AuditReader query API for AuditTrailBundle

I’ve been working on a audit trail bundle and recently added a read-only AuditReader API to query audit logs (entity history, filters, diffs, transactions).

I’d really appreciate any feedback on the API design, naming, or missing use cases.

You can view the benchmark performance

I’ll also be uploading the architecture design documentation soon.

https://redd.it/1pwybxa
@r_php
Made a small tool in PHP for handling texts in images better

A year ago i needed something to generate images with text in them, but i wanted it so my code is more clean and easier to understand than copy and destroy every time i wanted to put a simple text. More specifically, i wanted so i am able to read my own text.


Now i decided to make this open-source, and maybe someone finds a use of it. https://github.com/Wreeper/imageworkout/


I know it's not the best piece of code, but it did what i wanted and it continues to do what i wanted it to do.

https://redd.it/1pwyd3m
@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/1pxxt3j
@r_php
Last time you roasted my AI-helped CMS so hard I deleted it. Now back with a full micro-framework I built while knowing jack shit about PHP. v0.3.0 with CSRF, route groups, and more. Round 2 ,experts, do your worst.

Hey r/PHP,

Story time (again).

last weeks showoff I posted my homemade CMS. English isn’t my first language, so I used AI to clean up replies. Code was mostly AI-assisted because let's be real I know jack shit about PHP.

You guys didn't hold back:

“AI slop”
“Vibe-coded garbage”
“No tests, no structure”
Someone begged mods to ban “AI vibe-coding”
Flamed me for using AI to reply (just fixing my English, chill)
xkcd 927 (obviously

Felt like crashing an "experts only" party. Deleted the post. Logged off. Thought “damn, maybe they're right.”

Then I got pissed off.

Took your "feedback", used even more AI, and built Intent Framework v0.3.0 a zero-magic, explicit micro-framework running my next CMS.

What's in it (since "incomplete" was your favorite word last time):

Middleware + pipeline
Sessions + flash
Full auth (bcrypt, login, logout)
Events
File cache with Cache::remember()
Validator
Secure file-based API routes
Built-in CLI (php intent serve, make:handler, make:middleware, cache:clear)
CSRF protection middleware (new!)
Route groups with prefix + middleware (new!)
\~3,000 lines core
69 tests, 124 assertions (nice added because you whined)

Repo: https://github.com/aamirali51/Intent-Framework

Full docs: ARCHITECTURE.md (click before roasting)

Here's the punchline:

I still know jack shit about PHP. Still used AI for most of it. And it took less time than most of you spend on one Laravel controller.

Meanwhile, the same "experts" screaming "AI is cheating" quietly hit up ChatGPT when they're stuck at midnight. We all do it. Difference is: I'm upfront about it.

AI isn't "slop" it's a tool. And it let a non-expert ship something cleaner than a lot of "hand-written" stuff here.

So go ahead, elite squad. Roast me harder. Tell me real devs don't use tools. Tell me to learn PHP "properly" first. Drop the xkcd (it's tradition).

I'll be over here... knowing jack shit... and still shipping updates.

Round 2. Bring the heat. 🔥

(This post ain't getting deleted.)

https://redd.it/1pxyn56
@r_php
Hotreload De FrankenPHP

Hey team,

Kevin Dunglass released this "hot\
reload" feature this week and I'd like to know if anyone has tested it yet?

https://redd.it/1pxzwpg
@r_php
Recommend any newer PHP books?

I prefer books or ebooks over video tutorials. Recommend any? Thanks.

https://redd.it/1pybkv1
@r_php