PHP Reddit – Telegram
PHP Reddit
34 subscribers
294 photos
39 videos
25K links
Channel to sync with /r/PHP /r/Laravel /r/Symfony. Powered by awesome @r_channels and @reddit2telegram
Download Telegram
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
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
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
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
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
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
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
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
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