r_php | Unsorted

Telegram-канал r_php - PHP Reddit

33

Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram

Subscribe to a channel

PHP Reddit

PHPStan fully supports PHP 8.5!
https://phpstan.org/blog/phpstan-fully-supports-php-8-5

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

Читать полностью…

PHP Reddit

Sugar (PHP templating engine) — thoughts?

Hey everyone

I’m working on a new PHP templating engine called Sugar, and I’d love honest feedback from the community.

It’s something I’ve wanted to try for a long time, and with today’s AI tooling this kind of project feels way more accessible for me to actually build and iterate on.

Docs: https://josbeir.github.io/sugar/
GitHub: https://github.com/josbeir/sugar
Feature comparison: https://josbeir.github.io/sugar/guide/introduction/what-is-sugar.html#feature-comparison (could be incorrect, please correct me if you notice this)

Focus

Directive-based templating (`s:if`, `s:foreach`, `s:forelse`, etc.)
Context-aware auto-escaping
Components + slots
Template inheritance/includes
PHP 8.5 pipe syntax support (even with the minimum PHP 8.2 requirement)

Feedback I’m looking for

Does the syntax feel intuitive?
Anything that feels over-engineered or unnecessary?
Missing features you’d expect before real-world use?
Docs clarity — what was confusing?
Performance or architecture concerns you notice?

I’m especially interested in critical feedback — but “looks good” is appreciated too 🙏

Thanks for taking a look!

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

Читать полностью…

PHP Reddit

LDAP get Members of a Group

Hey,

I need a function to get all Members of a Group using the Symfony LDAP Adapter.

Cheers

Christoph

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

Читать полностью…

PHP Reddit

No Chrome, no Node, no problem: PDF generation in Laravel finally grows up
https://extended.reading.sh/laravel-pdf-on-cloudflare

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

Читать полностью…

PHP Reddit

SymfonyLive Paris 2026 : Tout pour préparer votre venue, sans stress!
https://symfony.com/blog/symfonylive-paris-2026-tout-pour-preparer-votre-venue-sans-stress?utm_medium=feed&utm_source=Symfony%20Blog%20Feed

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

Читать полностью…

PHP Reddit

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/1qzub8z
@r_php

Читать полностью…

PHP Reddit

What is your go to 'left over AI tokens' to use up prompt, for general maintenance, tidy-ups or nice to haves for Laravel projects?

It gets to the time of the week where you have a bunch of usage left of Claude.

Usually I ask it very generic or ill considered maintenance prompts:

\- check for missing test coverage

\- what are risks in the code base

\- what isn't following best practice

Then I have to manually create PRs for each for the sub branches it creates.

How do you guys approach this - I'm sure there is a much better, structured approach that I can use, that's quick and simple for Laravel projects. Thanks!

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

Читать полностью…

PHP Reddit

Laravel PDF v2 has been released: adds support for Laravel Cloud and easy queuing
https://freek.dev/2991-laravel-pdf-v2-has-been-released-adds-support-for-laravel-cloud-and-easy-queuing

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

Читать полностью…

PHP Reddit

Laravel NestedSet: Query tree structures efficiently

Hi r/laravel

We are proud to announce the availability of the aimeos/laravel-nestedset package, an improved version of the most popular Laravel/PHP package ([kalnoy/](https://packagist.org/packages/kalnoy/)nestedset) using nested sets for managing trees which, unfortunately, have been virtually abandoned by its owner.

Repo: [https://github.com/aimeos/laravel-nestedset](https://github.com/aimeos/laravel-nestedset)

The 7.0 release contains:

* Bugfix PRs from the original repo
* Support for UUID and custom ID types
* Full support for SQL Server
* PHPUnit 11/12 support
* Improved documentation

There's now a web site available for the documentation too:

[https://laravel-nestedset.org](https://laravel-nestedset.org)

We will continue supporting the package and if you like it, leave a star :-)

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

Читать полностью…

PHP Reddit

A Week of Symfony #997 (February 2–8, 2026)
https://symfony.com/blog/a-week-of-symfony-997-february-2-8-2026?utm_medium=feed&utm_source=Symfony%20Blog%20Feed

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

Читать полностью…

PHP Reddit

Remote Laravel dev from anywhere: Mac Studio + Tailscale + Herd + Zed (HTTPS .test + terminal)

I got tired of the “travel ritual” before fixing a tiny bug: dump DB, push half-finished branches, clone repos, re update .env, then spend an hour setting everything up.

So, if you keep a more powerful Mac at home (Studio or mini) and travel with a MacBook, this setup has been great for remote development without exposing anything to the public internet.



**Setup**

* **Tailscale** between Mac Studio (server) and MacBook Air (client)
* **Laravel Herd** serving my local `.test` sites
* **Zed** remote editing over SSH
* Full terminal access on the Mac Studio



**What works**

* Browse my projects via [`https://project.test`](https://project.test) remotely (not just SSH tunnels)
* SSH editing in Zed + terminal sessions
* No port forwarding, nothing exposed publicly



**Gotchas I hit**

* Tailscale Serve was silently taking over port 443, so Herd’s Nginx never saw HTTPS (It was OpenClaw 😅)
* Herd CA cert needed to be trusted on the client (System keychain) for clean HTTPS


I wrote up the full step-by-step (including the 443 debugging) here, this is my post:
[https://swapnil.dev/remote-laravel-development-with-tailscale-herd-and-mac-studio-the-complete-guide](https://swapnil.dev/remote-laravel-development-with-tailscale-herd-and-mac-studio-the-complete-guide)


**Question:** For folks doing remote Herd or Valet setups, any cleaner approach for cert trust across multiple Macs?

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

Читать полностью…

PHP Reddit

In 2026, what's the best way to handle building assets for deployment?

For the longest time I always ran npm ci && npm run build as part of the deployment script (via Forge, Ploi etc) but I would end up with deployments taking anywhere from 35-50 seconds, most of it being due to the asset building and I got really tired of it.

Earlier today I took out public/build from the .gitignore, committed the public/buildassets and setup a GitHub actions workflow that would build the assets for me. I'm indecisive if I like the idea of committing "dynamic" files to a repository. Addititionally I'm concerned about forgetting about asset compilation, building them locally and running into weird git merge conflicts. (although I'm not sure if this is a legitimate issue, and merge conflicts terrifiy me most of the time anyway)

I tend to make lots of mini deployments so taking the app down for 30-45 seconds multiple times a day feels really bad.

For those in similar shoes, what do you typically do?

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

Читать полностью…

PHP Reddit

Real-world examples of using Laravel AI SDK
https://amitmerchant.com/real-world-exmples-using-laravel-api-sdk/

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

Читать полностью…

PHP Reddit

Version 13 of PHPUnit is released
https://phpunit.de/announcements/phpunit-13.html

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

Читать полностью…

PHP Reddit

Laravel AI SDK Full Review: Agents, Images, Audio, Tools & More
https://youtu.be/pE2yA25grGo?si=VriWBE2x81HWzbX9

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

Читать полностью…

PHP Reddit

New SymfonyCasts Course: Symfony Forms - The Basics
https://symfony.com/blog/new-symfonycasts-course-symfony-forms-the-basics?utm_medium=feed&utm_source=Symfony%20Blog%20Feed

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

Читать полностью…

PHP Reddit

A new Spatie package: Laravel Screenshot 📸
https://freek.dev/3002-another-new-spatie-package-drops-spatielaravel-screesnhot

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

Читать полностью…

PHP Reddit

Built an open-source PHP client for the EU Deforestation Regulation API
http://github.com/4bdullatif/eudr-php-client

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

Читать полностью…

PHP Reddit

How I used Laravel AI in Translations UI v2

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

Читать полностью…

PHP Reddit

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/1qzxfhq
@r_php

Читать полностью…

PHP Reddit

Laravel package to pause/resume queue batches

Hey everyone 👋

I built a small Laravel package that lets you pause and resume job batches when using Redis queues. It adds a pausable-redis driver and has a very simple API:

$batch->pause();

$batch->paused();

$batch->resume();


Repo: https://github.com/digiloopinc/laravel-pausable-batch

It’s pretty lightweight and still early, so I’d really appreciate any feedback, suggestions, or improvements. Thanks!

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

Читать полностью…

PHP Reddit

Escalated - Support desk system for Laravel (Powered by Inertia)

Hey folks,

I’ve been working on an open-source project called **Escalated** and wanted to share it here to get some early feedback.

The idea is pretty simple: instead of running a separate support desk app with its own auth, database, and pricing model, Escalated lives *inside* your application. It uses your existing users, your database, and your deployment setup.

Wherever Inertia works, Escalated follows (Laravel, Django, Rails) - although Laravel is the focus right now.

* tickets and threaded conversations
* Internal notes, statuses, priorities, tagging
* Assignment, ownership, SLAs, and escalation rules
* Notifications via your framework’s native systems
* All data stays in *your* database

MIT licensed

This is still very much **WIP**, but actively developed.
The core architecture and adapters are in place, and the website is done (feedback on the design would be great).

Design of the admin panel is still in the works. The client panel supports Inertia/Vue layouts so it can entirely match your site design:

[https://i.imgur.com/t4MRxl7.png](https://i.imgur.com/t4MRxl7.png)

I'm focusing **most on** Laravel with features for Rails/Django being migrated.

Happy to get opinions/feedback.

Site: [https://escalated.dev]()
GitHub: [https://github.com/escalated-dev]()

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

Читать полностью…

PHP Reddit

Weekly /r/Laravel Help Thread

Ask your Laravel help questions here. To improve your chances of getting an answer from the community, here are some tips:

What steps have you taken so far?
What have you tried from the documentation?
Did you provide any error messages you are getting?
Are you able to provide instructions to replicate the issue?
Did you provide a code example?
Please don't post a screenshot of your code. Use the code block in the Reddit text editor and ensure it's formatted correctly.

For more immediate support, you can ask in the official Laravel Discord.

Thanks and welcome to the r/Laravel community!

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

Читать полностью…

PHP Reddit

Designing a Bootstrap Script
https://pmjones.io/post/2026/02/08/designing-a-bootstrap-script/

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

Читать полностью…

PHP Reddit

TadreebLMS - Looking for Contributors

🚀 TadreebLMS v1.0.1 is Live!

We’re excited to announce the release of TadreebLMS v1.0.1, an open-source Learning Management System built with enterprise, compliance, and on-premise deployments in mind.

This release focuses on:

🔧 Stability improvements & bug fixes
⚙️ Better developer experience
🧩 Foundation for upcoming enterprise-grade features

💡 We’re actively inviting contributors—backend, frontend, DevOps, QA, and documentation—to help shape the future of TadreebLMS.

If you’re interested in:

Open-source LMS development
PHP-based systems
Enterprise & compliance-driven platforms

👉 Check out open issues and contribute here:
🔗 https://github.com/Tadreeb-LMS/tadreeblms/issues

Let’s build a powerful, community-driven LMS together 🚀

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

Читать полностью…

PHP Reddit

Symfony Security Architecture Explained
How firewalls, authenticators, and user providers work together
tuhinbepari/symfony-security-architecture-explained-how-firewalls-authenticators-and-user-providers-work-together-e2101a49f1c2" rel="nofollow">https://medium.com/@tuhinbepari/symfony-security-architecture-explained-how-firewalls-authenticators-and-user-providers-work-together-e2101a49f1c2

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

Читать полностью…

PHP Reddit

Is Openswoole in maintenance mode and it's better to use regular Swoole?

As far as I can tell, openswoole's last commit to github was just adding php 8.4 support last year. Meanwhile swoole/swoole-src seems very actively developed. Which is strange considering in this sub I've always found people saying openswoole is more actively developed and it's future seems brighter than regular swoole.

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

Читать полностью…

PHP Reddit

Upgrade to PHPUnit 12.5 in 7 Diffs
https://getrector.com/blog/upgrade-to-phpunit-125-in-7-diffs

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

Читать полностью…

PHP Reddit

Laravel NestedSet: Query tree structures efficiently

Hi r/php

We are proud to announce the availability of the aimeos/laravel-nestedset package, an improved version of the most popular Laravel/PHP package ([kalnoy/](https://packagist.org/packages/kalnoy/)nestedset) using nested sets for managing trees which, unfortunately, have been virtually abandoned by its owner.

Repo: [https://github.com/aimeos/laravel-nestedset](https://github.com/aimeos/laravel-nestedset)

The 1.0 release contains:

* Bugfix PRs from the original repo
* Support for UUID and custom ID types
* Full support for SQL Server
* PHPUnit 11/12 support
* Improved documentation

There's now a web site available for the documentation too:

[https://laravel-nestedset.org](https://laravel-nestedset.org)

We will continue supporting the package and if you like it, leave a star :-)


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

Читать полностью…

PHP Reddit

Memory For Laravel AI SDK
https://github.com/eznix86/laravel-ai-memory

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

Читать полностью…
Subscribe to a channel