Support the ongoing development of Laravel.io →

[SOLVED] Auth Login event in Laravel 5.2

In Laravel 5.1 I was able to listen the Auth.Login event, but I can't do the same on 5.2. It seems t...

0 Likes
0 Replies

Laravel 5.0 | Eloquent Eager Loading resulting only in one row.

I am trying to implement laravel elquent eager loading concept. Here are my two models and the contr...

0 Likes
1 Replies

How to create relationship between two model

Hi I am New User of Laravel so,pls can anybody help me that how two join two model i have two tab...

0 Likes
1 Replies

How to constraint eager loading with query scope for each relation?

Hi all, I am creating a admin panel and I have 3 tables in my DB: groups, roles, users. I have a man...

0 Likes
0 Replies

Laravel PDF packages

Hi, I'm a beginner into Laravel. Guys maybe the same question asked before, but i think no harm aski...

0 Likes
2 Replies

Api with route parameters to scale down code. Class not found

I'm trying to make a api that uses route parameters so that i don't need 1000 routes for all the dif...

0 Likes
1 Replies

Auth session killed after redirect | laravel 5.2

We made a simple login form, when we post it its working fine, we are even logged in if we check the...

0 Likes
1 Replies
Solved

Login Via ajax not working Laravel 5.1

I am using ajax to login user. Here is the code but not working. Although the (Auth::attempt(['email...

0 Likes
7 Replies

Basic HTTP Auth with credentials stored on .env file

I'm trying to make a group of secret routes on my app. Route::group(['middleware' => 'auth.secret...

0 Likes
0 Replies

SQL SERVER default connection not working

Hi everyone, i found a really strange problem using sqlsrv driver for connecting to the database. If...

0 Likes
0 Replies
posted 9 years ago

Mass-create models with multiple relationships?

I have three models that are something like Grid, GridItem, and Item. Grid has pages, rows, and cols...

0 Likes
0 Replies

Auth middleware problem

I am having problems with the auth middleware. All appears to be working ok but then I noticed that...

0 Likes
2 Replies
Solved

Laravel password hashes through native php

My code is like this : <?php echo Hash::make('12345'); ?> error : Fatal error: Class 'Hash' no...

0 Likes
5 Replies
Solved

how to hide page and unhide page? (using auth, middleware..)

My app allows my company to upload banners that their client can then preview.. they can login and n...

0 Likes
0 Replies

Update multiple records using Eloquent

Hi In my controller:` $updaterec = Sme::where('rec_id', '=', $request->id)->update(['rec_id'...

0 Likes
2 Replies
Solved

migrate not working for a copy of the application

I have created a copy of running my running laravel project. But when I try with composer install, a...

0 Likes
8 Replies
Solved

Middleware with parameters

I'm using Entrust and I'm having some issues. I would like middleware such as this: Route::get('arti...

0 Likes
3 Replies

Not loading some ManyToMany Polymorphic Relationships

Odd thing happening, my M2M Polymorphic relationships are being temperamental. I have the schema set...

0 Likes
1 Replies
Solved

Getting slick.js to show selected image

I'm using slick.js slider syncing function and I'm having a problem getting it to sync. I'm also usi...

0 Likes
3 Replies

How to Check the Logged In User of Laravel 4 in Laravel 5 using Same DB?

I've to work with two Projects one of which is in Laravel 4 and the other is in Laravel 5. The scena...

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.