Support the ongoing development of Laravel.io →

How to pass variables from middleware to group of routes?

Hi, I'm stuck with passing variable from middleware to the route group.. I want to show the notifica...

0 Likes
0 Replies
posted 7 years ago

I want the RegisterController class to prevent automatic login after registration

Hello everyone, I am trying to prevent the user from logging in after the registration using the cla...

0 Likes
3 Replies
posted 7 years ago

Most secure RBAC, authorization methods

Which of these do you think are the most secure: ENTRUST, LaRBAC, Gates & Policies(Laravel Docs)...

0 Likes
0 Replies
posted 7 years ago

Encounter Login Problem

Hi Guys, I have multiple user registered. Example: John, Ben and Blake -First Stack of User registe...

0 Likes
3 Replies

weird problem in web.php

Hi there, I'm writing routes in web.php but I got a problem. If the code is Route::get('articles/cre...

0 Likes
5 Replies
Solved

I just published an Alertify package for Laravel

Hey guys, I was looking for laravel to integrate easily with alertify.js but only for the package fo...

0 Likes
0 Replies

opposite eloquent method to grabbing related data

I am looking for the opposite of getting all Data that is related in a many to many relations, thus...

0 Likes
5 Replies
Solved
posted 7 years ago

Assign default role while user register

Hi, I want to know how can I assign default role to the user who is just registered on my website? I...

0 Likes
1 Replies

Passport error

Hello guys, hope you all doing great :) I have a problem for a wake and tried a lot to solve it Pass...

0 Likes
0 Replies
posted 7 years ago

MassAssignmentException in Model.php line 444: _token

Hi, i have a problem, and i already search for the solution, but the problem is that none of the sol...

0 Likes
1 Replies

Laravel Eloquent using 'with' and 'where'

Laravel 5.4 I am having a hard time using "with" and "where" together. Instead o...

0 Likes
0 Replies
posted 7 years ago

can i a fire event after specific time?

I am coding a app where user answer some question in a given time, when the contest is over, i want...

0 Likes
0 Replies

Add or adjust functionality of third party packages

I was wondering what the best practice would be to add or adjust some functionality to installed pac...

0 Likes
0 Replies

Lumen Passport package error Call to undefined function Laravel\Passport\Console\config()

HI, It was working fine yesterday, But I keep getting this error when running this command php artis...

0 Likes
3 Replies
Solved

laravel event doesn't work with vuejs using socket.io and ioredis but Redis::publish works fine.

Laravel Version: 5.4 PHP Version: 7.1.2 Database Driver & Version: homestead Description: lara...

0 Likes
0 Replies

save() function doesn't work and does not output an error

Hello, I am experiencing a strange problem with the built-in User class in Laravel. Its save() funct...

0 Likes
10 Replies
Solved
posted 7 years ago

Laravel 5.4 sending Mail with Ajax

Hey, guys so I have everything set up properly my emails are sending and everything but there is one...

0 Likes
3 Replies
Solved
posted 7 years ago

Table Ripper

Hello community, I apologize if this is not the place for this, but I wanted to present a package I...

0 Likes
1 Replies
posted 7 years ago

social network

Please can any one help me with source code for social network

0 Likes
0 Replies
posted 7 years ago

array to string conversion error

seed error My model : <?php namespace App; use Cviebrock\EloquentSluggable\Sluggable; use Eloq...

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.