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
Built a manual article summary feature for my site — no APIs, no auto-generation

One feature I’ve really enjoyed building on my project (VibePostAI) is a manual article summary layer.

Instead of auto-generated summaries or API-driven outputs, each article gets a short, curated “summary card” written by hand. The goal isn’t speed — it’s clarity. The summary highlights what actually changed, why it matters, and what to notice, without rewriting or replacing the original article.

From a product perspective, this became less about AI and more about:
• Editorial judgment
• Information hierarchy
• Helping readers decide if they want to read further
• Making long or dense articles easier to scan

It’s intentionally simple: no automation, no background processing — just a small, focused layer that respects the original source while giving readers context.

This has been one of my favorite parts of the project so far because it forced me to think more like an editor and less like a feature factory.

https://redd.it/1pvtlgp
@r_php
Presto is a dependency manager for PHP written in Golang and drop-in-replacement for Composer

https://github.com/paramientos/presto

🚀 Blazing Fast 10x-20x faster than Composer

Parallel package downloads (8 concurrent workers)
Native binary (no PHP JIT overhead)
Smart caching system
Security First presto audit

\# Scan for vulnerabilities Built-in CVE database scanning

Real-time security alerts License compliance checking
Dependency Insights presto why package/name

\# Why is this installed?

presto why-not package/name 2.0

\# Why can't I install this?

Visual dependency trees

Conflict resolution explanations Better than Composer!

100% Compatible Drop-in replacement for Composer
Reads composer.json and composer.lock

Works with Packagist.org PSR-4/PSR-0 autoloading Composer noscripts support

https://redd.it/1pvz54q
@r_php
🔱 Seaman 1.1.4: Docker dev environments for Symfony

Hey r/symfony,

About a month ago I announced **Seaman 1.0.0** here. Honestly? It wasn't mature enough. But the feedback and ideas you shared were incredibly valuable.

**Seaman 1.1.4** is the result of that feedback — a more solid, polished, and better documented tool.

**What is Seaman?**

A CLI tool that generates Docker Compose configurations for Symfony projects automatically. `seaman init` → interactive wizard → working environment in ~60 seconds.

**Current features:**

- **17 bundled services** — PostgreSQL, MySQL, MariaDB, MongoDB, SQLite, Redis, Valkey, Memcached, RabbitMQ, Kafka, Elasticsearch, OpenSearch, Mailpit, Minio, Dozzle, Mercure, Soketi, Traefik

- **Simplified commands** — `seaman console`, `seaman composer`, `seaman db:shell`, `seaman db:dump`, `seaman db:restore`

- **Xdebug toggle** — Enable/disable without rebuilding containers

- **DevContainers** — VS Code integration out of the box

- **Plugin system** — Create your own services, commands or lifecycle hooks

- **Interactive service configuration** — `seaman configure <service>` with validation

- **Standard output** — Generates normal docker-compose.yml you can inspect or modify

- **Comprehensive documentation** — This was one of the main points to improve, now with detailed guides for installation, commands, services, plugins, and troubleshooting

**Platforms:** Linux (x86_64/arm64), macOS (Intel/Apple Silicon), Windows (WSL2)

**Repo:** https://github.com/diego-ninja/seaman

**Installation:**
```
curl -sS https://raw.githubusercontent.com/diego-ninja/seaman/main/installer | bash
```

Thanks to everyone who tried 1.0.0 and shared their thoughts. What else would make your workflow better?

All ideas, comments and contributions are welcome.

https://redd.it/1pw55aw
@r_php
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