Support the ongoing development of Laravel.io →
Joe Dixon

Joe Dixon

Admin
Joined 23 Jun 2014
Software developer @laravel, maintainer @laravelio

Statistics

Threads 0
Replies 24
Solutions 2
Articles 2

Articles

Article Hero Image
Joe Dixon
joedixon
published on 29 Jun, 2020

Adding Notifications to Laravel.io with Livewire, Alpine.js and Tailwind UI

Setting the scene Before I get into the bones of this article, I think it's worth taking the opportu...

Laravel.io Laravel
12 min read
8 Likes
Article Hero Image
Joe Dixon
joedixon
published on 24 Jun, 2020

Introducing Laravel.io Community Publishing

Today, we're incredibly excited to be launching a big feature we've been working on over the last co...

Laravel.io
1 min read

, , liked this article

14 Likes

joedixon has not posted any threads yet

replied 4 years ago

how to pass ajax response with return view

I'm not sure how that can return a 500 when you are first checking the variable is set. Is it defini...

0 Likes
replied 4 years ago

how to pass ajax response with return view

You don't need to chain the compact functions like that. The following should work for you: return v...

1 Likes
replied 4 years ago

how to pass ajax response with return view

Can you send over the contents of TtableController.php line 43 as per the error above please?

0 Likes
replied 4 years ago

how to pass ajax response with return view

You can return the view directly like so: $staffs = \DB::table('Staff')->get(); return view('myv...

0 Likes
replied 4 years ago

how to pass ajax response with return view

Seems like you're trying to pass an array to the compact method. From the PHP docs: For each of the...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.