PHP Reddit
31 subscribers
305 photos
40 videos
25.3K links
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Download Telegram
PagibleAI 0.10: Laravel CMS for developers AND editors
https://redd.it/1sn4d1i
@r_php
I built a VS Code extension to make Laravel projects easier for AI tools to understand

I was working on some older Laravel projects recently and noticed something frustrating when using AI tools like Codex or Claude.

They struggle to understand the actual database schema of the app.

Even though all the information is technically there (models, migrations, relationships), the AI has to parse everything manually, which:

wastes tokens
misses relationships sometimes
makes responses inconsistent

So I built a small VS Code extension to solve this.

It scans:

app/Models
database/migrations

And generates a clean Markdown file with:

table structure
columns
foreign keys
Eloquent relationships

The idea is simple:

Instead of making AI read your entire codebase, you give it a structured summary of your schema.

This makes it easier to:

explain your project to AI
debug faster
onboard into older Laravel codebases

I’m still experimenting with it, so I’d love feedback:

Would this actually fit into your workflow?
Anything you’d want it to include?

GitHub:
https://github.com/u-did-it/laravel-model-markdown-generator

https://redd.it/1snvodb
@r_php
Limitless bit different post to all the strictly technical ones- have you had side projects in php that made income? Tell us!

Yeah, so this sub is all about the technical stuff. Obv! But a mag cannot live on tech alone, so I thought for a little change up maybe we could talk or discuss or share a little business related stuff?

Have you created a php site or php related product or service that makes money? Please share if you can and feel comfortable. I would greatly appreciate it and I’m sure there is interest here.:)

Thanks.

https://redd.it/1so53lq
@r_php
Symfony Kit For Developers

Hi people! updating you guys I am moving forward with this project, new features comming soon:

VSCode Marketplace: Symfonykd

>Symfonykd brings Symfony project exploration, framework intelligence, and command workflows directly into VS Code. This extension is designed to bring common Symfony workflows closer to the editor so developers can inspect project data, navigate faster, and run framework tasks without leaving VS Code.

# Next Release Features (19/04/26)

# Sidebar and workspace indicator

https://preview.redd.it/2e22v82natvg1.png?width=434&format=png&auto=webp&s=19aac7ba89f5c76eb9980fe1e348d98378216330

Sidebar and workspace indicator

https://preview.redd.it/5kshhgqnatvg1.png?width=1457&format=png&auto=webp&s=89309bd5565c853bc3fb725f9a77f2e1f69e0265

# Workspace view

Click in workspace indicator and the workspace view will show with basic information

Workspace view

# Sidebar features

# Configuration

https://preview.redd.it/4xm72ikoatvg1.png?width=1869&format=png&auto=webp&s=80ef51e1c59e74082e83b47cbb3fd256dc8c438f

Actions
Refresh
Search in sidebar tree
Envs Diff
Quick picks driven setup to compare two environments
Full Configuration explorer
Just a expanded view of the sidebar tree - same features: serach, compare, navigation to services alias definitions
Sidebar tree
Copy keys and values
Navigation to services

# Console commands

https://preview.redd.it/v2ewdn0qatvg1.png?width=1869&format=png&auto=webp&s=b78744377ae522ddfaeb07d2d31b3f4001ea006f

History support
Quick commands on editor view
Actions
Execute command (ctrl+shift+p \->Symfonykd: Execute Console Command ): Quick pick driven command setup and dedicated output channel to stout/sterr
Compare commands output
Clear history
Favorites commands -> go to recent command and click in the start
Recent commands -> on lick re-run
Running tasks -> on lick open output log
Recent outputs -> on lick open output log

# Dependency Injection

https://preview.redd.it/0gfj317ratvg1.png?width=383&format=png&auto=webp&s=caa1d4f9287f78fbfe6ec123b2d444a88df52edc

App environments variables values tree
App parameters tree list
Configurations Files tree list
Binded Arguments list -> on click navigate to definition
Services: Full list of services -> on click navigate to definition

# Routes

https://preview.redd.it/65llwgrratvg1.png?width=382&format=png&auto=webp&s=76f6e4c2dec28f01a21e9da9954a4b368350cc5a

List of available routes with the related information, navigation on lick in controller references

# Profiler

https://preview.redd.it/jea3liesatvg1.png?width=376&format=png&auto=webp&s=e7bf76206a04ce97b426a92a25a560ad042e375d

Actions
Clear history
help -> setup project to use profiler module and avoid cors issues
reload
Start -> can be automatically managed when using vscode debugger enabling symfonykd.profiler.autoStartWithDebugger setting
Tree list of profiler entries captures
On click open profiler webpage in vscode

# Forms

https://preview.redd.it/8p0wscctatvg1.png?width=378&format=png&auto=webp&s=30774827292ab8c58f45f4c237e2bbb70e7161a9

Builtin form types -> full list of available types installed from external libraries
Services Form types -> Form types defined as services (normally the app form types)
Support on click navigation
Type Extensions
Support on click navigation
Type Guessers
Support on click navigation

# Twig

https://preview.redd.it/q8l95qztatvg1.png?width=388&format=png&auto=webp&s=001400f7f609bdc2a178e113a860b47361c7144e

Components list
Navigation for app classes
Templates
Templates list by bundles

# Doctrine

https://preview.redd.it/ah0n2tkuatvg1.png?width=389&format=png&auto=webp&s=a768de4db9fe8e85f69f756c9932ec4aa53f679f

Actions
Show diagram
Entities tree view
metadata
Symfony Kit For Developers

Hi people! updating you guys I am moving forward with this project, new features comming soon:

[VSCode Marketplace: Symfonykd](https://marketplace.visualstudio.com/items?itemName=AndresCevallos.vscode-symfonykd-devkit)

>Symfonykd brings Symfony project exploration, framework intelligence, and command workflows directly into VS Code. This extension is designed to bring common Symfony workflows closer to the editor so developers can inspect project data, navigate faster, and run framework tasks without leaving VS Code.

# Next Release Features (19/04/26)

# Sidebar and workspace indicator

https://preview.redd.it/2e22v82natvg1.png?width=434&format=png&auto=webp&s=19aac7ba89f5c76eb9980fe1e348d98378216330

Sidebar and workspace indicator

https://preview.redd.it/5kshhgqnatvg1.png?width=1457&format=png&auto=webp&s=89309bd5565c853bc3fb725f9a77f2e1f69e0265

# Workspace view

Click in workspace indicator and the workspace view will show with basic information

Workspace view

# Sidebar features

# Configuration

https://preview.redd.it/4xm72ikoatvg1.png?width=1869&format=png&auto=webp&s=80ef51e1c59e74082e83b47cbb3fd256dc8c438f

* **Actions**
* Refresh
* Search in sidebar tree
* Envs Diff
* Quick picks driven setup to compare two environments
* Full Configuration explorer
* Just a expanded view of the sidebar tree - same features: serach, compare, navigation to services alias definitions
* **Sidebar tree**
* Copy keys and values
* Navigation to services

# Console commands

https://preview.redd.it/v2ewdn0qatvg1.png?width=1869&format=png&auto=webp&s=b78744377ae522ddfaeb07d2d31b3f4001ea006f

* History support
* Quick commands on editor view
* **Actions**
* Execute command (`ctrl+shift+p` \->`Symfonykd: Execute Console Command` ): Quick pick driven command setup and dedicated output channel to stout/sterr
* Compare commands output
* Clear history
* Favorites commands -> go to recent command and click in the start
* Recent commands -> on lick re-run
* Running tasks -> on lick open output log
* Recent outputs -> on lick open output log

# Dependency Injection

https://preview.redd.it/0gfj317ratvg1.png?width=383&format=png&auto=webp&s=caa1d4f9287f78fbfe6ec123b2d444a88df52edc

* App environments variables values tree
* App parameters tree list
* Configurations Files tree list
* Binded Arguments list -> on click navigate to definition
* Services: Full list of services -> on click navigate to definition

# Routes

https://preview.redd.it/65llwgrratvg1.png?width=382&format=png&auto=webp&s=76f6e4c2dec28f01a21e9da9954a4b368350cc5a

List of available routes with the related information, navigation on lick in controller references

# Profiler

https://preview.redd.it/jea3liesatvg1.png?width=376&format=png&auto=webp&s=e7bf76206a04ce97b426a92a25a560ad042e375d

* **Actions**
* Clear history
* help -> setup project to use profiler module and avoid cors issues
* reload
* Start -> can be automatically managed when using vscode debugger enabling `symfonykd.profiler.autoStartWithDebugger` setting
* **Tree list of profiler entries captures**
* On click open profiler webpage in vscode

# Forms

https://preview.redd.it/8p0wscctatvg1.png?width=378&format=png&auto=webp&s=30774827292ab8c58f45f4c237e2bbb70e7161a9

* Builtin form types -> full list of available types installed from external libraries
* Services Form types -> Form types defined as services (normally the app form types)
* Support on click navigation
* Type Extensions
* Support on click navigation
* Type Guessers
* Support on click navigation

# Twig

https://preview.redd.it/q8l95qztatvg1.png?width=388&format=png&auto=webp&s=001400f7f609bdc2a178e113a860b47361c7144e

* **Components list**
* Navigation for app classes
* **Templates**
* Templates list by bundles

# Doctrine

https://preview.redd.it/ah0n2tkuatvg1.png?width=389&format=png&auto=webp&s=a768de4db9fe8e85f69f756c9932ec4aa53f679f

* **Actions**
* Show diagram
* **Entities tree view**
* metadata
*
fields

https://preview.redd.it/0nttl4gvatvg1.png?width=1148&format=png&auto=webp&s=ad6007d4878672ae2994599873826042e4d69585

# Language server

# Symfony features

# Codelens

* (PHP) (extended) nelmio alias
* (YAML) (vanilla) params envs
* (YAML) (vanilla) Bundle configuration full view

# Completions

* (PHP) (extended) doctrine orm mapping convention
* (PHP) (extended) doctrine orm query completion
* (PHP) (extended) Form options and constrains

# Definition navigation

* (YAML) (vanilla) services navigation -> fqn, `@` alias and services ids
* (PHP) (extended) Doctrine mapping columns references navigation
* (PHP) (extended) Openapi navigation from `#/components/...` to named entity (alias) defintion
* (YAML) (extended) Openapi navigation from alias class to class file

# Diagnosis

* (PHP) (extended) Doctrine diagnostics for QueryBuilder/DQL semantics and migration drift checks.
* (PHP) (extended) Apidoc consistency with routes definition in controllers
* (PHP) (extended) Diagnostics for form field and entity/DTO property mismatches.

# Implementations

* (PHP) (extended) Support for navigation from form types -> `getBlockPrefix` to twig block defined

# Refactor

* (PHP) (extended) Doctrine entity fields across usages in code and references
* (PHP) (extended) Rename php class
* (PHP) (extended) Rename services ids
* (YAML) (extended) Rename nelmio named entities aliases

# References

* (PHP) (extended) Handle for Nelmio API Doc alias references

# Twig Features

# Codelens

* Block inherance
* Controllers references -> show controllers where the template is used

# Completions

* controllers
* filters
* functions
* global variables
* route names
* template paths
* twig components
* for-loop

# Definitions

* assets
* components
* controller
* env-variables
* form blocks
* form theme
* parameters
* routes
* services
* template-paths

# Gutters

* block inherance -> navigation hover
* controller

# Hovers

* filters
* for-loop
* functions
* global-variables
* local-variables
* (extended+) twig-components

# Chat Participant

This extension enables `@symfony` chat participant that have access to tools and project context and custom prompting to specialize and focus agent as PHP/Symfony expert.

User must set provider and model to use in settings -> available in workspace status full view.

`@symfony` have the following commands

* `/status` Show routes in the current Symfony project
* `/parameters` Show parameters in the current Symfony project
* `/bundles` Show bundles in the current Symfony project
* `/controllers` Show controllers in the current Symfony project
* `/templates` Show templates in the current Symfony project
* `/variables` Show chat prompt variables
* `/make` Create a Symfony component such as a controller, entity, or form.

`@symfony` have the following tools - managed automatically by the chat participant

* `symfony_command_info`
* `symfony_list_commands`
* `symfony_execute`

Commands security policy is managed via settings. Chat participant implements a commands policy layer that is gonna ask the user before execute commands.

>

**I am looking for a closed group of users to help me to debug, this will be formalized later as "insider user" program.**

https://redd.it/1socnzl
@r_php
I built HorizonHub: monitor multiple Laravel Horizon services in one place

Hey everyone,

I wanted to share something I built for myself called **HorizonHub**.

I work with several Laravel services using Horizon in production environment, and I kept feeling the same pain: checking queues/jobs/workers across services was messy and annoying.
For me it's important that these jobs workflows are correctly scheduled and executed, because failed jobs or even when workers become offline could have a real, negative impact (revenue, support load, data consistency, SLAs, on-call, etc.).
So I started building a small tool to make my own life easier.

Right now, HorizonHub lets me:

* Monitor jobs from multiple Laravel services in one place
* Restart jobs in batch
* Receive alerts

[All jobs can be viewed at a glance](https://preview.redd.it/qcazg2amwsvg1.png?width=2994&format=png&auto=webp&s=c2b2c562dc2f2686134171cc057d0a456adc6cd9)

https://preview.redd.it/vautl6a0xsvg1.png?width=2994&format=png&auto=webp&s=cec635dcebaa3e6e947555d03667ae37bc876213

It’s still early and very much a real "*built-from-need*" project.

If you run several Laravel apps with Horizon and are tired of switching between dashboards, this might be useful.

If anyone wants to try it, checkout the Github repository: [https://github.com/enegalan/horizonhub](https://github.com/enegalan/horizonhub).
Any feedback (good or bad) helps me improve it 🙏

https://redd.it/1soau8j
@r_php
AuditTrailBundle v3: Improvements

There’s a much bigger list of improvements in v3 release, but I wanted to share one feature I’m especially happy with: when reverting an audit log, the UI now previews exactly what will be restored, including many-to-many relationships like tags and categories.

That makes revert workflows feel a lot safer and much less like a blind rollback.

If this looks useful for your Symfony/Doctrine projects, give it a try and let me know what you think. Feedback would really help shape the next improvements.

symfony audit bundle



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