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
]
]
-manager: Doctrine\ORM\EntityManager^ {#3210 …11}
}
-count: 12
-slugger: Symfony\Component\String\Slugger\AsciiSlugger^ {#1487
-symbolsMap: array:1 [
"en" => array:2 [
"@" => "at"
"&" => "and"
]
]
-emoji: false
-transliterators: array:1 [
"en" => null
]
-defaultLocale: "en"
}
}
```

So the references seems to be OK. But I get that error again when I try a `dd($this->getReference('cat-10', self::class));` instead. :
> Reference to "cat-10" for class "App\DataFixtures\CategoryFixtures" does not exist

So I can't figure out what the \*\*\*\* is going on, and it's been two whole weeks I keep getting stuck with this problem because I cannot find any help anywhere else on the internet.

If someone has any information or solution, thanks in advance !

https://redd.it/1mbtoj3
@r_php
New to php

Hey there mates,
I will be diving into the world of php so please help me with sources to start learning from (course will be better)
Thanks

https://redd.it/1mc6g2v
@r_php
Will Laracon be streamed on YouTube?

As always, I’m excited to see the talks even though I couldn’t make it to the event.

Anyone know if it will be streamed? I tried checking here and Bluesky but didn’t see anything clear on this.

https://redd.it/1mc95zp
@r_php
Laracon US Denver 2025 Live Thread

Use this thread to discuss the happenings of Laracon US 2025:

https://laracon.us/

What is Laracon US?

The flagship Laravel event of the year and the largest PHP conference in the United States is happening July 29–30 in Denver, CO at The Mission Ballroom. Two days of talks, networking, and announcements from the Laravel ecosystem.

Is there a live stream available?

A free livestream is planned via the official Laravel YouTube channel. While every effort will be made to ensure a smooth broadcast, availability is subject to technical considerations.

# 📅 Schedule

# Tuesday, July 29

(All times MDT)

9:30AM – Aaron Francis — You Can Just Do Things
9:55AM – Nuno Maduro — Pest 4
10:25AM – TJ Miller — Prism & AI
10:50AM – Break (Larabelles Meetup)
11:20AM – Mary Perry — Design Patterns in Laravel
11:50AM – Thiery Laverdure — You Should Reinvent the Wheel
12:15PM – Lunch
1:40PM – Chris Morrell — Advanced Eloquent Relations
2:10PM – John Drexler — Building the High Trust Environment
2:35PM – Break
3:00PM – Taylor Otwell & Team — Keynote
5:00PM – Reception
6:00PM – After Party at Number 38

# Wednesday, July 30

(All times MDT)

9:30AM – Evan You — Creator of Vue
10:00AM – Alex Six — Turbocharging Your Laravel Development with the Terminal
10:25AM – Wade Wegner — Laravel Meets AI with DigitalOcean
10:35AM – Break (Meetup Organizer Huddle)
11:05AM – Dave Hicking — AI Will Not Replace You
11:20AM – Zuzana Kunckova — Writing Resilient Code
11:25AM – Dave Kiss — Turning a Next.js Video App into a Laravel Starter Kit
11:50AM – Leah Thompson — Making it Feel Right: Implementing UI Details that Connect
12:15PM – Lunch
1:40PM – Colin DeCarlo — AI and You: Understanding, Watching, and Embracing
2:10PM – Tom Crary — Cloud, Code, and Coke Zero
2:30PM – Caleb Porzio — Livewire 4
2:55PM – Break
3:20PM – Rissa Jackson — Is There Any Problem Git Interactive Rebase Can't Solve?
3:40PM – Will King — A Framework for Ambitious Projects
4:05PM – Hank Taylor & Sam Sappenfield — Laravel Community Update
4:15PM – OSS Panel — Taylor Otwell, Adam Wathan, Jeffrey Way, Evan You

# Reminder — Remain Civil (Rule 2)

Toxicity doesn't ship in r/laravel. No exceptions.

Name-calling, insults, unnecessary profanity, or personal attacks will not be tolerated.

https://redd.it/1mc9j55
@r_php
Laravel Filament Table Performance Issues with Millions of Records – Any Optimization Tips?

I'm working with Laravel Filament (v3) and recently deployed my app to production. Everything worked fine initially, but after a couple of months, the Filament Resource table page has become noticeably slower.

The issue seems to be due to the underlying database table growing to millions of records (2millions right now)(specifically for one of the resources). Pagination is enabled, but even loading the first page takes a few seconds or more (default is 25 records per page), which is not ideal for the end-user experience.

Here’s some additional context:

The table is using Eloquent queries (no custom query builder yet).
I’m using the default Filament Table component inside a Resource.
The table has searchable and sortable columns.
Some columns display related model data (via relationships).
The database is MySQL running on a managed VPS (decent specs).
No caching, indexes, or chunking optimizations applied yet.

Has anyone faced similar performance issues with large datasets in Filament?
What are your tips for improving table performance — such as query optimizations, indexes, or custom table builders?
Would it be better to use raw queries or offload the heavy logic?



https://redd.it/1mcxtsa
@r_php
Laravel Idea routes feature >>>>>>

Noticed today a pretty nice new feature form Laravel Idea. It also has some cool stuff in `routes/` files. Very useful!

https://preview.redd.it/a7yxxoyzqzff1.png?width=507&format=png&auto=webp&s=3c281aa30f53e3aab3d1f83d6fccef01ab651b96



https://redd.it/1md3bjo
@r_php
Learning Platform Suggestion

Is geekforgeeks good source for learning PHP?
Which platform should i choose for becoming a job-ready php dev?

https://redd.it/1md8w32
@r_php
Anyone using Wayfinder?

Someone shared an image of a list of things Taylor was talking about in his Keynote and one was Wayfinder.

It seems very interesting but would require a decent amount of refactoring, which I am willing to do if its worth it.

Is anyone using it? How has it been for you?

https://redd.it/1md4zcu
@r_php
PHP Website performing down detector

Anyone some info about a (free/opensource) down detecting site that you can install on your now webserver to monitor other servers by answering echo (ping)?

So not to monitor the server itself, but other servers.

https://redd.it/1md7m2d
@r_php
Is the Composer ecosystem still healthy? 180 MB and 36,000 files for two simple packages.

I just went through a fresh composer require for two packages: microsoft/microsoft-graph and vlucas/phpdotenv. My goal was simple: interact with the Microsoft Graph API and handle environment variables.

After the installation, I was shocked to see my vendor directory had ballooned to 178 MB, containing almost 36,000 files.

This got me thinking: Is this a healthy direction for the PHP ecosystem?

It feels like we're heading straight into the node_modules black hole territory that the PHP/Go community often used to criticize. My fear isn't just the disk space, but the maintenance nightmare this implies. This massive, tangled web of dependencies means a constant stream of updates, potential conflicts, and chasing down bug fixes in packages three or four levels deep.

What happened to the idea of smart, small, self-contained solutions that just work stably for years without constant tinkering? Has the laudable goal of "reusable components" gone too far, leading us to build incredibly fragile towers of dependencies?

What are your thoughts? Is this just the unavoidable price of modern, rapid development, or have we lost our way?

Shouldn't the Log4Shell (CVE-2021-44228) and xz-utils (CVE-2024-3094) cases have made us rethink our approach long ago?

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