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
Testing with Pest - any support

Hi guys,

I’ve started working with Pest browser testing, and I’m looking for ways to speed up the process of writing tests. A few times I got stuck on some steps that took me quite a while to figure out.

Do you have any advice or tips?

https://redd.it/1nz1t1r
@r_php
Laravel docker setup

Hey, so I’ve been learning some laravel, (with laracasts), and I’ve been using laravel herd for development.

However, I’d like to have some docker dev environment. I’ve read that the best practice is to have a container specifically for artisan & php commands, isolated from the fpm one.

So I made my own version heavily inspired by the official docker docs.

Would u say it’s good enough?
https://github.com/Piioni/Dockerconfig/tree/dockerlaravel

https://redd.it/1nz8cn1
@r_php
Weekly Ask Anything Thread

Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.

https://redd.it/1nz88ca
@r_php
Weekly help thread

Hey there!

This subreddit isn't meant for help threads, though there's one exception to the rule: in this thread you can ask anything you want PHP related, someone will probably be able to help you out!

https://redd.it/1nzb6zr
@r_php
Opinions Welcome - ParagonIE Open Source Software

Hi /r/PHP,

It's been a while since I've posted here. My company maintains several open source libraries under [the paragonie/ namespace](https://packagist.org/packages/paragonie/), all with a security and cryptography focus.

We have a bunch of cool stuff we're already planning to launch in 2026. A few teasers:

1. Post-quantum cryptography implemented in pure PHP
* This one's mostly blocked by [the Zeroth Rule of writing secure cryptography in PHP](https://paragonie.com/blog/2017/02/cryptographically-secure-php-development) and picking an implementation to write a PHP extension and submitting it to PECL.
* I highly recommend reading the linked blog post if you're deeply horrified by the prospect of implementing cryptography in PHP. [We do it](https://github.com/paragonie/sodium_compat) sometimes. We even [fork less secure libraries to offer secure alternatives sometimes](https://github.com/paragonie/phpecc).
2. Public key discovery for PASETO
* This is basically our answer to JWK. We're working on a few approaches with the cryptography community (mostly [C2SP](https://github.com/C2SP/C2SP) folks) on some infrastructure approaches before we publish our design.
3. [Post-Quantum PASETO](https://github.com/paseto-standard/paseto-spec/pull/36)
* Depends on the first two getting shipped :P
4. A tool to detect supply-chain attacks in Packagist
* I'm going to be a little vague about this until we get closer to open sourcing the tool, but we've got a proof of concept and we're actively tuning it to make false positives less annoying.
* We're also testing our methodology on NPM packages, browser extensions, WordPress plugins, and a few other areas of interest.

There is a lot of work we need to do before those are ready to launch, but they're coming soon.

In the past month, we've cut a bunch of releases to our more popular open source software, including:

* **sodium_compat** v2.4.0 / v1.23.0 -- Performance and testing improvements. See [this PR](https://github.com/paragonie/sodium_compat/pull/198) for more info.
* **constant_time_encoding** v2.8 / v3.1 -- Now uses ext-sodium (if it's installed) for some codecs, which accelerates performance over PHP code
* **doctrine-ciphersweet** and **eloquent-ciphersweet** - cut alpha releases of Framework-specific adapters for [CipherSweet](https://github.com/paragonie/ciphersweet) (searchable encryption library for PHP and SQL)

These releases were mostly us scratching our own itch: Either one of our clients needed this, or we wanted to see if we could improve the performance or assurance of our libraries.

Which brings me to the purpose of this post: **What software could we write today that would make your life easier?**

We have a few ideas: Full-text search for CipherSweet (with a few experimental ideas being assessed, though no promises on a 2026 release), extending our PHPECC fork to include pairing-based cryptography (e.g., BLS-12-381), a PHP implementation of [FROST](https://www.rfc-editor.org/rfc/rfc9591.html), and a PHP implementation of [Messaging Layer Security](https://www.rfc-editor.org/rfc/rfc9420.html).

Do any of those speak to you? Would you rather see something else? Did we overlook a really obvious win that you wish we started developing *yesterday*? Let us know in the comments below.

*Caveat*: We are **NOT** currently interested in developing anything directly AI-related.

https://redd.it/1nzjdcl
@r_php
Collaborating with devfluencers — open invite from a YC-startup doing AI code reviews

Hey Reddit devs 👋

I’m part of CodeAnt AI (YC-backed), and we’re launching an AI code review platform to help devs catch bugs, improve code quality, and ship faster — without the PR-level dread.

We’re looking to collaborate with tech creators / influencers who have an audience of developers and love writing about topics like: • AI & code • Dev productivity & workflows • InfoSec / AppSec • DevOps / infra / cloud / CI/CD • Testing, debugging, refactoring • Git, version control, architecture • Developer tooling & open source

What we offer: • Early access to features & launches (Dev360, open source, etc.) • Promo support & shared content • Revenue / affiliate or partnership opportunities (we can discuss)

If this sounds interesting, fill this form out- https://forms.gle/pw74HC1j2i7mot1J9

https://redd.it/1nzqb1z
@r_php
Old WordPress site with PHP errors — fix it or start from scratch?

Hi everyone!

I’m a web development student currently doing an internship. I was asked to look at a WordPress site that was built about 5 years ago. The site hasn’t had maintenance since then, and I’ve noticed a few issues: PHP errors due to undefined keys. Some frontend features, like a carousel, aren’t working.

I’m not sure whether it’s even feasible to fix this old site or if a rebuild would be a better option. I’d love some guidance from more experienced devs.

My questions:
1. Would you try to fix a 5-year-old, unmaintained WordPress site like this, or start fresh?

2. Are there best practices or approaches for safely assessing a site without making things worse?

3. Any advice for estimating the cost or effort of fixing vs rebuilding?

Thanks so much for any tips, guidance, or resources.

https://redd.it/1o00j91
@r_php
Commenter Reaches 10K Downloads!🚀 Your Feedback Needed for v4

I’m proud to share that the [Commenter](https://github.com/Lakshan-Madushanka/laravel-comments) package has hit **10k downloads**! 🎉. I’m about to start developing **version 4**, and here’s the current plan:

**Features**:

* Ability to pin comment.

**Upgrades**

* Support livewire 4
* support tailwind 4

What else would you expect from **v4**, and how do you think the planned features could be refined or improved?

I’d love to hear your thoughts! 🙌

https://redd.it/1o176za
@r_php
Live Collection Type (Embedded CollectionType Form) & VICH Upload Files? #3126
https://redd.it/1o1b300
@r_php
Is Envoyer superfluous after the new Forge update?

I've been using Forge and Envoyer together for a while now and the setup has been great but just deployed a new site with Forge and notice it's doing the job of Envoyer now…? Am I missing something or can I retire Envoyer now and just deploy through Forge only?

https://redd.it/1o1n9nd
@r_php
Support Policy for First-Party Packages & Products

Laravel has a Support Policy for the framework itself, but what about the First-Party Packages and products produced by the Laravel Team?

For clarity, I'm talking about Forge, Vapor, Laravel UI, Nova, Cashier, Volt, etc.

Given the climate in recent years, it feels like these have the potential of getting dropped at a moment's notice, or packages fall into obscurity of not quite abandoned, but effectively no longer being upgraded.

I'm honestly feeling like anything beyond the framework itself isn't safe to rely on. Is anyone else feeling this way, or am I overreacting?

https://redd.it/1o1sbi1
@r_php
PagibleAI CMS: The AI-Powered CMS for Editors and Developers

We're excited to introduce [PagibleAI CMS](https://pagible.com/) – a new content management system designed to make content creation and development a breeze, blending the best of AI with robust, modern architecture. Think WordPress ease-of-use meets Contentful's structued power, but with built-in AI!

**👨‍💻 For Developers:**

* **Built on PHP & Laravel:** Leverages the power and extensibility of PHP and Laravel for a robust and scalable backend.
* **JSON REST & GraphQL APIs:** Built as API-first for fast content delivery and flexible administration. Use the VueJS SPA or integrate with any frontend.
* **Open Source Freedom:** Available under LGPL and MIT license – customize, extend, and integrate into your projects seamlessly.

**👩‍💻 For Editors:**

* **AI-Powered Content Generation:** Generate drafts, refine text, and optimize for SEO effortlessly.
* **Seamless AI Image Creation:** Get stunning, on-brand visuals created directly in the CMS.
* **Multi-Language Translation:** Translate content into 35+ languages with AI for global reach.
* **Intuitive WYSIWYG & Drag-and-Drop:** See what you get and easily manage all your content.

**☁️ Cloud-Native & Scalable:**
From personal blogs to enterprise solutions, PagibleAI scales infinitely. Expect exceptional performance and reliability, adapting to any project size.

We believe this is the future of content management – where AI enhances creativity and developers have powerful, flexible tools:

[**https://pagible.com/**](https://pagible.com/)

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