PHP Reddit – Telegram
PHP Reddit
34 subscribers
286 photos
36 videos
24.7K links
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Download Telegram
What are the options for afirst-class headless mysql/pg backed CMS in PHP?

Is it that Drupal and Wordpress are good enough or am I missing out on some good products?

Edit: Sorry! I meant A FIRST CLASS PHP Headless CMS. Typo in my noscript.

https://redd.it/1p773j0
@r_php
Package FlowForge - Visual Drag-and-Drop Workflow Builder for Laravel 12 with Real-Time Execution Tracking

Just released FlowForge - a production-ready workflow automation package I've been building for Laravel 12.



Think Zapier/n8n, but native to Laravel with Livewire reactivity.



**Key Features:**



\- Visual drag-and-drop workflow designer (Livewire 4 + Alpine.js)

\- Conditional branching with 15+ comparison operators

\- Parallel execution - run multiple steps concurrently

\- Timeout orchestration with automatic termination

\- Real-time execution tracking with live monitoring

\- Full REST API for mobile apps and integrations

\- Role-based access control for workflow actions

\- Workflow templates - save, load, and reuse configurations



**7 Step Types:** Actions, conditions, delays, notifications, webhooks, custom noscripts, and more.



Seamless integration with Laravel events, jobs, and notifications.



`composer require alizharb/flowforge`



GitHub: https://github.com/AlizHarb/flowforge



Building internal tools or need workflow automation? I'd love to hear your use cases and feedback!

https://redd.it/1p7dndh
@r_php
Worst / most useless package on Packagist

Seen many people asking for best practices here, but that"s boring.

What is the most useless, package you've seen on Packagist?

Think of something like Leftpad, or a package that does one small thing while pulling in a thousand large packages.

https://redd.it/1p7obxn
@r_php
Package Flare - Production-Ready Toast Notifications for Laravel Livewire with Zero Config

After testing numerous toast libraries for Livewire, I decided to build exactly what I needed.



**Flare** is a modern, performant toast notification system specifically designed for Laravel Livewire applications.



**Why Flare?**



\- **Zero configuration required** - works out of the box

\- **3 Professional Themes:** Classic (minimal), Modern (balanced), Vibrant (bold)

\- **6 Position Options** - top/bottom × start/center/end

\- **RTL/LTR automatic adaptation**

\- **Responsive mobile behavior**



**Simple API:**

```php

Flare::success('Profile updated successfully!');



Flare::warning(

text: 'Session expires in 5 minutes',

heading: 'Warning',

duration: 10000,

position: 'top center'

);

```



**Requirements:** PHP 8.3+, Laravel 12+, Livewire 3.5+



`composer require alizharb/flare`



GitHub: https://github.com/AlizHarb/flare

Demo: https://alizharb.github.io/flare/



What's your go-to toast library for Livewire? Happy to discuss the design decisions!

https://redd.it/1p7r0kx
@r_php
I am creating a VSCode Symfony Extension

I've been a Symfony developer for years. While I love VSCode's speed, I often miss the deep framework understanding that PhpStorm offers—especially when refactoring code or exploring the Service Container.

So, I decided to build a comprehensive extension to bridge this gap. I'm getting close to a Public Preview and wanted to share the feature list to gauge community interest.

**The "Killer Feature": Safe Refactoring** Existing extensions usually only handle PHP symbols. My extension implements a **Symfony-Aware Rename Provider**. *This was actually my first need and the first module developed.*

* If you rename a Class or Service in PHP, it safely scans and updates references in your **config files (YAML/XML)** automatically.
* No more broken service definitions or manual find-and-replace after a refactor.

** The "Intelligence" Stack (Implemented Features)** My goal was to bring visibility to the "magic" of Symfony using **TreeViews** (side panel explorers) and **CodeLens** (inline context info):

* **Services & Parameters:**
* **TreeView:** Browse your full compiled container services and parameters.
* **CodeLens:** Inline insights on service injections and parameter values directly in your code.
* **Routes:**
* **TreeView:** Visualize all application routes (methods, paths).
* **CodeLens:** Annotated controller methods showing their mapped route info.
* **Autowiring:**
* **TreeView:** Explore available autowirable types.
* **CodeLens:** See exactly which service is being injected into your type-hinted arguments.
* **Configuration & Dotenv:**
* **TreeView:** Navigate config namespaces and environment variables.
* **CodeLens:** View documentation for config nodes and see resolved `.env` values directly inside your YAML files.
* **Twig:**
* **TreeView:** Browse available filters, functions, and tests with integrated documentation.
* **Nelmio API Docs:**
* **TreeView:** Explore your API documentation models.
* **CodeLens:** Contextual info on PHP Attributes and config files.
* **Command Executor:**
* Execute `bin/console` commands directly from the VSCode Command Palette (with GUI argument builders).

I want this tool to be sustainable and professionally maintained over the long term. My plan is to release a **Public Preview** soon for everyone to test.

Once it reaches **Stable v1.0**, I intend to use a **Freemium model**.

**I'd love to hear your thoughts** about this extension, what features you miss and what would make you switch from PHPStorm to VSCode?

I'll be dropping the beta link here soon if there's interest!

Thanks!

[General demo](https://reddit.com/link/1p8gzwg/video/3qad2hmy7w3g1/player)



https://redd.it/1p8gzwg
@r_php
PHP Prisma: Integrate multi-media related LLMs easily

PHP Prisma is a light-weight PHP package for integrating multi-media related Large Language Models (LLMs) using a unified interface:

**https://php-prisma.org**

The new release adds:

New interfaces for recognize (OCR) and vectorize (embeddings)
Support for async remote APIs which requires polling
Implemented Amazon Bedrock imagine, isolate, inpaint and vectorize
Implemented Black Forest Labs imagine, inpaint and uncrop
Added Mistral recognize for OCR
Implemented vectorize for Cohere
Implemented vectorize for VoyageAI
Improved documentation

PHP Prisma concentrates on image (incl. audio/video LLM APIs in the upcoming releases) and is a sister project of Prism PHP, which is build for text/stuctured/streaming content.

If you like it, give it a star:
**https://github.com/aimeos/prisma**

https://redd.it/1p8rsck
@r_php
What kind of design pattern is Laravel using here?

https://preview.redd.it/m7yawqm3iz3g1.png?width=1444&format=png&auto=webp&s=5f4176cb5264005b2a3ebb1024707eeb5d51b9f7

Hey folks,

What kind of desing patterns do you think Laravel is using here? Let's learn some from the great Laravel console codebase.

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