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
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
Are you using Laravel Nightwatch or other observability tool?

I always felt Laravel deserves a better monitoring platform to cater for its unique needs. So i started building something myself. Later Nightwatch was announced. I was surprised with how similar it felt to mine and yet continued assuming there is enough market for tools tailored for Laravel.

Since the launch of Laritor, I am struggling to get any traction despite being cheaper and offering more features than nightwatch.

I also don’t see nightwatch being discussed much here or on x. So it makes me wonder, are Laravel developers not much interested in observability? or you already using a different product?

What stopping you from using observability tools?

https://redd.it/1o252wl
@r_php
Doctrine Translatable (Gedmo) - Does it not do that?

Hi - I dont know if here is the right place to ask that but I figured a lot of symfony devs will likely use doctrine and some of you have experience with i18n in database.

I found the gedmo doctrine extension translatable and tried to build a minimal working example in my symfony app. Loading an entity via the repository is working fine but loading it via its relationships does not return the translated entity but only the default locale.

This is the example Controller I try to use, any comments appreciated - thanks:

<?php


namespace App\Controller;


use App\Entity\Context;
use App\Entity\UserContext;
use Doctrine\ORM\EntityManagerInterface;
use Gedmo\Translatable\Entity\Translation;
use Gedmo\Translatable\TranslatableListener;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
use App\Entity\User;


class TranslatableTestController extends AbstractController
{
#Route('/test/translatable/{lang}', name: 'test_translatable')
public function index(EntityManagerInterface $em, TranslatableListener $translatableListener, String $lang): Response
{
// set the current lang based on the request
$translatableListener->setTranslatableLocale($lang);



// get the current user from security bundle
$user = $this->getUser();
if (!$user instanceof User) {
throw new AccessDeniedException('Access denied: User must be authenticated.');
}


$contexts = $user->getUserContexts()->map(fn($userContext) => $userContext->getContext())->toArray();


// get last context only for debugging purposes
$context = end($contexts);


return new Response(sprintf(
"<h2>Current Translation</h2>
<p> %s</p>
",
$context->getName(), // only gives default locale no matter the locale parameter
));
}
}

https://redd.it/1o2aeyy
@r_php
Profiling Symfony application with Blackfire

Dear folks,

I am looking for sources which provide advice for how to start profiling my Symfony application with Blackfire. I already created some profiles of requests of my application. But I am having a hard time to get insights and understand whats going on.

I appreciate for all kinds of guidance and advice.

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