Support the ongoing development of Laravel.io →
pmall

pmall

Joined 27 Jun 2014

Statistics

Threads 2
Replies 91
Solutions 17
Articles 0
posted 11 years ago

Testing filters assignment

As mentioned here filters are disabled while testing controllers. So as taylor said, I've made class...

0 Likes
1 Replies

How to sync pivot data via morphedByMany ?

Hello ! i'm trying to sync a polymorphic pivot table from the morphedByMany side of a relationship....

0 Likes
0 Replies
replied 11 years ago

how do i a nice laravel ajax post and get the data in laravel backend.

Your url is the path to the controller file, it should be the route adress

0 Likes
replied 11 years ago

Routing not working properly.

try to restrict your id to integers only Route::get('/products/{name}-{id}', 'ProductController@show...

0 Likes
replied 11 years ago

How to develop a completely secure e-commerce website in Laravel?

You can use stripe with the cashier official package to provide secure credit card payments. :)

0 Likes
replied 11 years ago

Do search by criteria...

where() (and other functions) construct the query. get() execute the query and returns a collection...

0 Likes
replied 11 years ago

Getting this error: Call to undefined method Illuminate\Database\Query\Builder::attach()

There is no pivot table as this is a 1-N relationship. Just use $question->answers()->save($an...

0 Likes
Solved

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.