Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

shez1983's avatar

livewire 4 - cant get the 2 way reactivity?

So I have a component, with Class and view separate. in class on mount i do $c. = Model::query()... and use that in view just fine. The issue is if i do .. nothing happens, if i submit a form, it just refreshes the page? I have created a new LARAVEL install with livewire.. i tried adding @livewireScripts as those were missing and no luck.. [I do have a livewire3 app which i

shez1983's avatar
shez1983's avatar shez19834mos agoLivewire
1
1
Last reply by shez1983 4mos ago
JoseBravo's avatar

Laravel background queue driver

Hi, I’m using Laravel 12.47.0 and trying to use the new background driver. I added it to the queue.php config file because it wasn’t present, and I also registered \Illuminate\Concurrency\ConcurrencyServiceProvider::class in my providers. However, when I dispatch a job like this: GenerateUsersReport::dispatch($report)->onConnection('background'); the job does not run. It onl

JoseBravo's avatar
JoseBravo's avatar vincent150...4mos agoLaravel
1
1
Last reply by vincent15000 4mos ago
yumna12-coder's avatar

Raw expressions

When should I use this DB::ROW? TO BE HONEST I do know what is raw expression means ->select(DB::raw('count(*) as user_count, status'))

yumna12-coder's avatar
yumna12-coder's avatar jlrdw4mos agoEloquent
5
26
Last reply by jlrdw 4mos ago
RealWorldDev's avatar

Upgrading Laravel 9 to 10 deleted database data

Hello all I've just completed a Laravel upgrade from version 9 to 10. I followed the guide and ran composer update and everything ran though ok. I then started to test the application to make sure everything was working but couldn't log in. Thinking I was going mad, I opened TablePlus to check I was using the correct email address to sign in with but the users table was empty.

RealWorldDev's avatar
RealWorldDev's avatar martinbean4mos agoLaravel
10
14
Last reply by martinbean 4mos ago
enadabuzaid's avatar

Laracast referral is stopped ?

I am trying to add my link referral to my friend but nothing has happened

enadabuzaid's avatar
enadabuzaid's avatar martinbean4mos agoGeneral
2
2
Last reply by martinbean 4mos ago
ivotrompert's avatar

Andre Madarang

I like there are more teachers now on Laracasts. The topic of the series from Andre Madarang are great, but I kind of fall a sleep from his voice. Does anyone else have this problem too?

ivotrompert's avatar
ivotrompert's avatar devope4mos agoFeedback
12
16
Last reply by devope 4mos ago
sebastiangperez's avatar

There any chance in Laracast to avoid the annoying the popup next chapter box ?

Does anyone think is annoying the popup that appear when the episode is finish? why not jump into the next video or maybe an option to disabled like a do not show this again. Thanks

sebastiangperez's avatar
sebastiangperez's avatar devope4mos agoFeedback
4
6
Last reply by devope 4mos ago
Blinks's avatar

Inertia for heavily SEO application

Hello everyone! Our company has raised the issue of creating a new portal that will rely heavily on SEO. One of the suggested options is Laravel + Next.js or Laravel+ Inertia + React. Regarding Inertia, no one has any experience working with it, so we asked Chatgpt to conduct research on the possibility of using Inertia for SEO, and he replied that it is better to use Laravel +

Blinks's avatar
Blinks's avatar DigitalArt...4mos agoInertia
5
1
Last reply by DigitalArtisan 4mos ago
chris_j's avatar

Designing a large project - specifically keep controllers short

This question is regarding design pattern(ish) and best practices in project design bearing in mind that SOLID design principles are goals and not rules. It's not Laravel specific but Jeffrey's series on SOLID principles encouraged me to ask here. My team is rebuilding a project where in several instances a user request performs one action (that they know about) but carries out

chris_j's avatar
chris_j's avatar martinbean4mos agoGeneral
6
1
Last reply by martinbean 4mos ago
kevinwakhisi's avatar

How can I clean data performing excel imports

I am importing a large number of records ('probably 10,000+) but the issue is that one column has this variation. The row name is certifications and from the file, I get these multiple variations that need to be standardized, For example, I when I dd() the group certifications I get ^ array:25 [▼ "RA CERTIFICATION" => Illuminate\Database\Eloquent\Collection {#170

kevinwakhisi's avatar
kevinwakhisi's avatar qualitcert...4mos agoLaravel
6
8
Last reply by qualitcertservices 4mos ago
RileyGWeb's avatar

Uncaught Snapshot missing on Livewire component with id:

(Before you comment, wire:key does not fix the issue) I have these nested components that I want to be draggable between several areas: @foreach($cards as $card) <livewire:card cardId="{{ $card->id }}" wire:key="card-{{ $card->id }}" /> @endforeach <div draggable="true" x-on:dragstart="dragStart($event)&quo

RileyGWeb's avatar
RileyGWeb's avatar tandogus4mos agoLivewire
14
18
Last reply by tandogus 4mos ago
sllkevin's avatar

Is it normal for 404.blade to respond as 301?

When using the browser network tools, I can see that any missing route originally reveals 404 before the official response as a 301 redirect to the 404.blade template. However, I'm checking my Nginx access logs and all the bots pinging random wordpress routes all show the response as 301. Is this normal behavior?

sllkevin's avatar
sllkevin's avatar jlrdw4mos agoGeneral
4
1
Last reply by jlrdw 4mos ago
web-head's avatar

Player Error. Not playing videos since Jan 13th

Hi, Laracasts team! I'm watching from Kazakhstan, have a forever account. Since yesterday, there are player errors constantly appearing. Cannot play videos normally. Quality decreasing and stopping. Error message: Player Error The player is having trouble. We’ll have it back up and running as soon as possible. What can be done? Usage OS: Linuxmint 22.2 Cinnamon Browser: Firefox

web-head's avatar
web-head's avatar web-head4mos agoFeedback
4
3
Last reply by web-head 4mos ago
peterdev's avatar

problem Laravel Herd on MacOS

Hi everyone, after upgrading my Mac to macOS Tahoe 26 I’m having issues with local domains. Before the update I was using Laravel Valet without any problems. After the upgrade, none of my .local projects are reachable anymore. I also tried Laravel Herd, but the behavior is the same. When I visit example.local the browser can’t resolve the domain. If I manually map it to 127.0.0

peterdev's avatar
peterdev's avatar quintinmor...4mos agoGeneral
6
120
Last reply by quintinmorrow 4mos ago
Faisalkazmi's avatar

Choosing Between Custom Web Development vs SaaS Solutions – What’s Right for My Client?

Body: Hey folks, I’m currently helping a U.S.-based client (real estate firm) decide whether to go with a fully custom Laravel-based web solution or opt for an existing SaaS platform to handle their property listings, customer interactions, and internal reporting. They have specific requirements like: Integrating with local MLS APIs Role-based access for agents, clients, and ad

Faisalkazmi's avatar
Faisalkazmi's avatar ERashdan4mos agoDesign
4
5
Last reply by ERashdan 4mos ago
minaremonshaker's avatar

Spatie QueryBuilder Missing findByName() on Role Model

Hi everyone, In my Laravel API project using Spatie Laravel Permission (with Sanctum guard) and Spatie Query Builder, I'm trying to fetch permissions for a specific role like 'user', but running into an issue with QueryBuilder. ​ These attempts fail with Call to undefined method Spatie\QueryBuilder\QueryBuilder::findByName(): QueryBuilder::for(Role::class)->where('name', 'us

minaremonshaker's avatar
minaremonshaker's avatar minaremons...4mos agoLaravel
4
5
Last reply by minaremonshaker 4mos ago
Chron's avatar

Is there a new vue style guide?

There was this Vue doc that had recommendations when writing Vue code, like components/instance order and other good stuff, but I noticed that it is outdated. Is there still a recommended configuration for Vue (3.5.x)?

Chron's avatar
Chron's avatar martinbean4mos agoVue
2
3
Last reply by martinbean 4mos ago
earmsby's avatar

SSH connection to Forge DB

When testing out some functions on my local machine, I connect to the live DB on my Forge server via SSH like so: ssh -L 3307:127.0.0.1:3306 [email protected] My env file for this is: DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3307 DB_DATABASE=my_db DB_USERNAME=forge DB_PASSWORD=my_password This has been working fine for months. But just today when I opened

earmsby's avatar
earmsby's avatar earmsby4mos agoForge
2
1
Last reply by earmsby 4mos ago
vincent15000's avatar

Is it better to use wayfinder or ziggy ?

Hello, I just discover wayfinder. In an application with InertiaJS, is it better to use wayfinder or ziggy ? Thanks for your answer. V

vincent15000's avatar
vincent15000's avatar vincent150...4mos agoInertia
3
5
Last reply by vincent15000 4mos ago
spook1's avatar

LTI 1.3 tutorial

Learning Management Systems (LMS) in higher education ( Canvas, Moodle) use so called LTI interfaces. These allow external tools to communicate with the LMS. An example is: https://github.com/celtic-project/LTI-PHP For me as a beginner in Laravel it seems complicated. Yet I can image the possibilities if we can make LTI development available for teachers and students. Would it

spook1's avatar
spook1's avatar DigitalArt...4mos agoLaravel
3
2
Last reply by DigitalArtisan 4mos ago
MysticKnight's avatar

Hot Reloading Fails

This seems like it should be such a simple problem to solve, but I have searched for days without finding and answer. Environment: Mac OS Chrome Herd for Laravel Installation with Breeze I had a Laravel project and I decided to completely delete it and start over. I started from scratch, but I used the same name for the project and now hot reloading doesn’t work. I can see th

MysticKnight's avatar
MysticKnight's avatar billytheki...4mos agoVite
10
1
Last reply by billythekid 4mos ago
k_nadam's avatar

Preloading images via injecting preload link in response header

Hello, I want to preload images on my Laravel application before rendering the Vue template, so I worked on this middleware public function handle(Request $request, Closure $next): Response { $response = $next($request); if ($request->header('X-Inertia')) { return $response; } $preloads = $request->attributes->g

k_nadam's avatar
k_nadam's avatar JussiManni...4mos agoInertia
2
2
Last reply by JussiMannisto 4mos ago
troccoli's avatar

Is the Notification Facade macroable?

My app sends quite a few notifications on Slack, so I thought I could create a macro to clean up the code and reduce duplication. namespace App\Providers; use Illuminate\Notifications\Notification; use Illuminate\Support\Facades\Notification as NotificationFacade; use Illuminate\Support\ServiceProvider; class NotificationServiceProvider extends ServiceProvider { public fu

troccoli's avatar
troccoli's avatar troccoli4mos agoLaravel
2
7
Last reply by troccoli 4mos ago
Shivamyadav's avatar

Is there any way to grab a domain name for free?

Is there any way to grab a domain name for free? Without buying any hosting provider.

Shivamyadav's avatar
Shivamyadav's avatar automica4mos agoFeedback
9
4
Last reply by automica 4mos ago
earmsby's avatar

How to add image to storage on Forge server

This is probably a dumb question: I have a Filament table with a column like this: ImageColumn::make('head_shot') ->label('') ->disk('public') ->visibility('public') ->defaultImageUrl(url('storage/authors/default_avatar.png')) ->circular(), On my local server (Her

earmsby's avatar
earmsby's avatar LaryAI5mos agoForge
1
5
Last reply by LaryAI 5mos ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.