Support the ongoing development of Laravel.io →

Can I use scope?

Hi, I have this on every method on my controller: if(Auth::user()->cannot('see_all')) $post=...

0 Likes
2 Replies

How to attach many blade templates into one view without using @include()?

Hi, I'd like to find an alternative way to include the collections of sub views in one view. Here is...

0 Likes
0 Replies

Get message ID when sending email via Mandrill driver

I allow my users to send emails to their clients via the application, but when the message is not de...

0 Likes
1 Replies

error with paginate.

I tried $calls = DB::select($query)->paginate(10); but I received an error Call to a member funct...

0 Likes
3 Replies
Solved

Prepare the server environment for laravel: multi apps and website

Hi to all, this is my first post in thisi forum and i would like to brought my greetings to all of y...

0 Likes
0 Replies

How to pay with bitcoin in bitpay and redirect back to site?

i have configure bitpay testing API to pay with bitcoin when i submit form it will redirect to http...

0 Likes
1 Replies

Paginate Error 404.

Hello guys , I installed my laravel 5.1 application on a shared server for it was necessary to copy...

0 Likes
0 Replies

Model inserted with empty strings instead of null values

I am using Laravel 5.1.24. I have a simple 'Product' table created in db (MySQL5.5) like this: CREAT...

0 Likes
0 Replies

Can't authorize delete

2/2 HttpException in AuthorizesRequests.php line 94: This action is unauthorized. 1/2 UnauthorizedEx...

0 Likes
6 Replies
0 Likes
3 Replies
Solved
posted 9 years ago

Naming resource routes patch

Hi, I have a trouble with resource controller how to naming resource routes [PATCH] ? routes.php...

0 Likes
2 Replies

get parameter route to construct controller

Hi, can laravel send parameter from route to construct controller? Route::group(['prefix' => '{si...

0 Likes
6 Replies
Solved

Beanstalkd--queue--Mail::queue()-- Socket error 111: Connection refused (connecting to localhost:11300)

Hi, i get a error when i using Mail::queue(). I'm new to Queue, and i choose beanstalkd as my Queue...

0 Likes
1 Replies

Laravel 5: fetch data from data base and display it

hi im with laravel 5.1 im trying to fetch data from table. categorys and products categorys has foll...

0 Likes
1 Replies
posted 9 years ago

setRelation() usage

Hi all, I'm trying to create a relation (hasOne profile) outside of the User model. I noticed in the...

0 Likes
0 Replies

Laravel 5 Undefined property: Illuminate\Database\Eloquent\Relations\HasMany::$category_name

I am developing a product and category relationship. where i wanted to show to which category, a pro...

0 Likes
3 Replies

Webhook in Laravel 5

I have developed one application in laravel 5 framework. Now I want to integrate new feature, let's...

0 Likes
0 Replies

Auth::viaRemember() return false after check remember

Hello all! I have learning L5 with login and remember but Auth::viaRemeber() not working and always...

0 Likes
0 Replies

laravel compiled file error PHP Parse error: syntax error, unexpected '\\Session;', expecting \\\\ (T_NS_SEPARATOR)

I have a laravel project in production server but I have a weird problem, sometimes appear a white s...

0 Likes
0 Replies
posted 9 years ago

Change binding key many 2 many

Hey guys, I have a table with products and a table with categories. I don't use the products.id and...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.

© 2025 Laravel.io - All rights reserved.