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
CodefyPHP 3 Release – performance tweaks, new features, and improvements for rapid development

[CodefyPHP v3](https://codefyphp.com/docs/blog/2025/10/15/codefyphp-3-is-here/), the PHP web framework for complex applications has been released and includes some solid improvements, new features, and bug fixes.

**Highlights:**

* HTTP and content caching options
* New PSR-14 implementation
* Localization improvements
* Supports multiple database drivers (using PDO) - fixed
* Asset management
* Rate Limiting and referrer spam protection
* Minifier middlewares
* Encrypt environment variables; decrypt during runtine
* and much more

Repo: [https://github.com/codefyphp/codefy](https://github.com/codefyphp/codefy)
Docs: [https://codefyphp.com/docs/](https://codefyphp.com/docs/)

I’d love feedback from anyone working with DDD, CQRS, or event-sourced applications — especially around your real-world use cases and what should be improved and/or added in CodefyPHP.

https://redd.it/1o7qcdw
@r_php
🎉 I just published my first Laravel package!

# Laravel User Auditable

A Laravel package that provides user auditing capabilities for your database tables and Eloquent models. Easily track which users create, update, and delete records in your application.

Features:

# Features

(https://github.com/3rn3st0/laravel-user-auditable#features)

🕵️ User Auditing: Automatically track `created_by`, `updated_by`, and `deleted_by`
🔧 Flexible Macros: Schema macros for easy migration creation
🎯 Multiple Key Types: Support for ID, UUID, and ULID
🏷️ Relationships: Built-in relationships to user models
📊 Query Scopes: Easy filtering by user actions
Zero Configuration: Works out of the box

🔗 https://packagist.org/packages/ernestoch/laravel-user-auditable

\#laravel #php #package #opensource

https://redd.it/1o7wj69
@r_php
Automated Code/Vulnerability Testing Platforms

I'm looking for an automated code/vulnerability scanning tool (whether that's Laravel-specific (preferred) or a more general platform). Any recommendations?

I started and built a SaaS application a couple years ago. It's grown faster than I anticipated. We house a good amount of sensitive information, so I want to make sure I'm plugging any obvious holes/vulnerabilities that we may be missing from user/development error.

I've done a basic Google search, but I'm not finding anything that seems to be Laravel-specific.

https://redd.it/1o89jq7
@r_php
Fully functional shadcn application starter for Laravel 12

Hey guys,

Because of r/Laravel's karma requirement, i could not post, so i hope its okay i post it here.
I spent the last days making an complete starter template for Laravel using shadcn and Inertia.js. The other starters i found that use shadcn are either outdated or dont cover the whole authentication flow.

Anyways, i hope you enjoy my small template, and feel free to contribute!
https://github.com/Kleppinger/laravel-shadcn-starter

https://redd.it/1o8hu72
@r_php
Porting shadcn/ui to symfony with ux twig components
https://redd.it/1o8iw7a
@r_php
Just Realized Coolify (That Awesome Self-Hosted Deployment Tool) Is Built on Laravel

i've been messing around with coolify for a bit now on some of my deployments – it's this open-source heroku/netlify alternative that's super handy for self-hosting apps, dbs, and all that without the cloud lock-in. been loving how easy it makes things, but till date i straight up didn't realize it was built with php and esp laravel under the hood. like, how did i miss that?

anyway, wanted to share this lil discovery here cuz i figure some of you might wanna check it out or have thoughts on it. now that i know, i'm planning to dive deeper into their codebase – see how they handled stuff like the ui, api layers, or whatever deployment magic they're pulling off. hoping to pick up a thing or two on laravel best practices, scaling decisions, or just solid php patterns they might be following.

what do you all think? anyone else using coolify in prod? any red flags or cool hacks you've spotted if you've peeked at the source? would love to hear your takes while i geek out on this.

check it out here:

github: [https://github.com/coollabsio/coolify](https://github.com/coollabsio/coolify)
website: https://coolify.io/

https://redd.it/1o8uyxk
@r_php
How often do you jump to another tool (IDE, CI, repo) just to fix one bug?

I was tracking my workflow the other day and realized a single bug fix can involve jumping between four or five different tools: the browser, my IDE, the terminal, GitHub, and sometimes Jira. The context switching is a real focus killer.

We've been trying to solve a piece of this by linking runtime errors from the browser directly to a fix in the IDE but we're looking for ideas on how to make this more helpful by understanding the developer mindset a little better.

How many different applications do you typically have to open to resolve one bug?

https://redd.it/1o8val5
@r_php
Is everyone happy with the new Forge UI ?

The new Forge UI looks clean but everything has become extra clicks. They completely rearranged things which now requires multiple clicks. I really wish the PMs at least get some feedback from actual customers before building a new cool shiny UI.

Some examples of UX becoming much worse:

\- Oh you were able to click on a site URL before ? Now you have this weird "Visit Site" button all the way to the right of the screen

\- No more toggle for "Horizon". Instead you have to enter a deamon manually for "php artisan horizon" and ensure that you set the right forge directory manually.

\- The default server dashboard doesnt do anythying. The previous UI would actually let me get to do things immediately.

\- Want to add an SSL certificate ? Now you have to do it on an annoying popup where you have to first select the cert source and THEN it takes you to another page to enter the certifcate. Before it was all on one page. Now it takes more clicks.

\- When you do a new SSL certificate, the menu doesnt show "Activate" option right away. I think it may be an inertiaJS bug and I have to refresh the page to even see that menu option.

Am I the only one or are there others who feel the same ?




https://redd.it/1o91ln7
@r_php
Is Laravel still a viable option for building Fullstack PHP Systems?

In the last couple of months everything seems to be geared towards paid subnoscriptions and using their own VPSs and recommended paid servcies such as WorkOS. The new Laravel Forge was a flop, we lost so much time and we still have so many unresolved issues. Support is robotic to say the least.

Symfony was never this way.

I'd like to hear all sides, the good, the bad and the ugly.

Disclaimer: I am a paying customer of Laravel products but serioulsy considering moving away - It feels like when NextJS went with Vercel (same when NuxtJS did) to be honest. I.e. a downfall.

https://redd.it/1o9uz7a
@r_php
Generating documentation for a PHP library (API reference + articles)

I want to generate documentation for my library (which I've recently updated). Is there anything better than phpDocumentor for this? I haven't touched PHP in a decade, so I'm not up to date with the current tooling.

I want simple things:

Parsing PHP 7.0−8.4. Having documentation for all major versions of the library would be nice.
Switching between library versions. A dropdown or something.
Support for PHPStan syntax. This thing comes up first when googling for PHPDoc syntax, so I assume it's the standard now.
Extra non-API-reference articles next to API ref. Introductory articles, something beginner-friendly, which is too long for ReadMe.
Combining docs of multiple packages. If there're any addons to the main package, it'd be convenient to have everything in one place.
Pure static website with pure HTML. So that it can be put on GitHub Pages and be googlable and all.
Search would be nice. Without any backend, naturally.
Sensible syntax for templates and styles. If something needs adjusting, it shouldn't be too painful.
Links to sources of the library, links to official PHP documentation when built-in classes and functions are mentioned etc.
Bonus points for default templates looking nice, having dark theme, doing fast reloads with JS, all that fancy stuff.

Does a thing like this exist? What are the best options for generating documentation for PHP stuff in general? What are you using and why?

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