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
Consolidating hosting

Hey all, I was wondering if this makes sense or if someone knows a better option. But currently I’ve got shared hosting, email and domains on hostmonster, bluehost, and ionos (I know it’s insane but it was all bought a long time ago when I first got into php and then I started getting into .net so at the time it had to be windows but now it doesn’t really make sense because it’s all Linux now anyways. Also I’m kinda into Laravel right now so I’ll be dropping all my .net stuff and just going with Laravel (php). I’ve also got some domains on namecheap.

Anyways I want to consolidate. I don’t really have a need for something that takes lots of traffic and space for everything just a server that can run Laravel and send out email. All small projects. I was thinking of moving all my hosting to the smallest droplet on DigitalOcean because that’s what most Laravel users suggest. For my domains I was thinking of moving them all to porkbun because I see a lot of love for them and also a lot of people are turning away from namecheap. But I don’t really know what to do with my email, either somehow setup self hosted email on Digital Ocean or pay porkbun $2 for each email. Paying per email was kind of a shock to me because I’m use to getting unlimited emails included in the shared hosting and $2 seems like a lot for just 1 email account, I use several.

https://redd.it/1o5spn3
@r_php
Php and Replit

Want to start learning Php. How to get started w writing code in Replit?

https://redd.it/1o6umg6
@r_php
Is security more important that features?

We all know that handling security is a feature in itself. It's almost understandable when developers cut corners to ship a product faster.

What do you think is the most common cause of software security vulnerabilities today? Is it poor coding, configuration mistakes, or the human element? Is there or will there ever be 'the perfectly secure, unbreakable platform'?


The Dotkernel Headless Platform is doing its part to mitigate basic security concerns that are mentioned in this article. We believe it's a solid start that is a must for any project. Of course, there are many more things not included here, like deployment, server-related tasks, network and infrastructure. Those are topics for a future discussion, as the focus here was on the main codebase.

https://www.dotkernel.com/best-practice/basic-security-in-dotkernel-headless-platform/

https://redd.it/1o77rc3
@r_php
I created Symfony Franken Starter Kit, an open source starter to get started quickly, clean and modern.

🎯 Each Symfony project often starts with the same hassle: config, boilerplate, waste of time…

I created Symfony Franken Starter Kit, an open source starter to get started quickly, clean and modern.

💡 What it brings: • Symfony 7.3 + FrankenPHP, modern PHP server in Go • PostgreSQL 16 + Docker Compose ready to use • Doctrine configured with UUID, timestamps and soft deletes • Messenger for asynchronous tasks • Makefile with 20+ useful commands • app:make:domain-entity command to automatically generate your entities and repositories according to the hexagonal architecture

Tell me what you think about it?

➡️ Find out here: https://github.com/jzohore/symfony-franken-starter-kit.git

Feedback and contributions are welcome!

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