Support the ongoing development of Laravel.io →

How Do I Catch FindOrFail Exceptions? Or How Do I Detect an Empty Eloquent Result?

My goal isn't all that lofty. I want to detect when the following: $current = Promovote::where('mod...

0 Likes
3 Replies

Query to inculde belongsTo Model

What is the correct way to grab a record and also include it's relationship data? Example User belon...

0 Likes
1 Replies
Solved
posted 9 years ago

Route with parameter not rendering the view correctly

So I have this routes defined in my routes.php file. Route::group(['prefix' => 'personaje'], func...

0 Likes
1 Replies

Ajax Multiple Sessions Created

I had an ajax form that was working before upgrading to 5.1. Now, I am getting the "TokenMismat...

0 Likes
1 Replies

Call to undefined method AdminDashboardController::getAfterFilters() while there is not really using a filter

Hello I am getting the Call to undefined method AdminDashboardController::getAfterFilters() error wh...

0 Likes
7 Replies
Solved

Multiple AuthServices available

I'm creating an app that allow change the AuthService to use Laravel, Wordpress, etc depending the a...

0 Likes
0 Replies

problems with mail send

I have problems with mail send in L5.1 Page with the form showing using GET method, but when I fill...

0 Likes
6 Replies
Solved

Laravel error when read {!! Form::open() !!}

Hey can you help me with this error ?? I'm using Laravel 5.0 which is include with login and registe...

0 Likes
3 Replies
Solved

Phpunit as acceptance tester for Custom Console Command

Gi guys, I want to use phpunit for testing my command line tools (custom created with laravel 5.1)....

0 Likes
0 Replies
posted 9 years ago

Laravel 5 response::json not working ?

I have custom repository pattern file and my ajax working on controller but not working pattern file...

0 Likes
2 Replies

Query progress

Hello, I am looking for any method for progession rate generation during the execution of the query....

0 Likes
3 Replies

Dealing with Huge database

I am having a huge database with millions of records in different tables. It all works fine when I a...

0 Likes
0 Replies

Delete on update

This tables are just for example. Let's say we have two tables: order_items(id int, name string, pri...

0 Likes
0 Replies
posted 9 years ago

Homestead make - Overwrites Vagrantfile

Hi guys! I'm not sure if I'm doing it right, but... I want to have a homestead machine per project,...

0 Likes
0 Replies

Conditional route middleware and namespace mapping?

Is this possible something like this: if(Auth::user()->isCompany()){ $middleware = "auth...

0 Likes
2 Replies
posted 9 years ago

Concatenation issue : Laravel 5.1 PingPong menu

In PingPong Menu I need to use a picture inside the menu as title. Its a concatenation problem I nee...

0 Likes
3 Replies
Solved

Multiple Laravel session cookies are not secure

I have tested the following in Laravel 4.1.27 and 5.1.11. When using the "cookie" driver t...

0 Likes
0 Replies

Adding custom data to model from table using traits

I have my user model and I have a custom composer package I am working on which creates a custom tab...

0 Likes
0 Replies
posted 9 years ago

UK Tuition/Course?

Hi All, I have done most of the introductory laracasts by Jeffrey which are totally fab! I'd love to...

0 Likes
1 Replies

Laravel 5.1 auto include Log in app

Hi So I recently moved to Laravel 5.1 and unlike Laravel 4.2 where we could use Log::info() anywhere...

0 Likes
1 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.