Support the ongoing development of Laravel.io →

SQL raw request modification to get collections

I have to use the following request to get data from DB: $users=DB::select('SELECT id,username, avat...

0 Likes
0 Replies

Hook to edit validation messages (NOT custom messages)

I can't figure how to do this. I use FormRequest in my controller so the validation happens before i...

0 Likes
0 Replies

Define relation for Companies and Groups

Hi all I'm having some issues trying to set up a relationship for two Models. ExCompany and ExGroup....

0 Likes
2 Replies
Solved
posted 9 years ago

firstOrCreate / firstOrNew only creates one property

I have a model on which I'm using firstOrNew. if an entry exists, this code: $a = CustomAssets::...

0 Likes
0 Replies

Displaying old user in select box

Hi, in my controllers edit function, I pass my view the following $csUsers = User::lists('userName',...

0 Likes
0 Replies

Has Many Through with Pivot issue

Hi everyone. I have these tables and relative Models (http://laravel.io/bin/kWmrk) network_equipment...

0 Likes
0 Replies

Create middleware to prevent a user manipulates the information of other users

I have a problem. I need to prevent a logged in user can edit / view etc. information of another us...

0 Likes
1 Replies
Solved
posted 10 years ago

Delete request Jquery Ajax doesn't work

Hi, I have a button lets say it is in a div for simplicity Button <button rel="tooltip"...

0 Likes
3 Replies
Solved

How to Use 'DATEADD' function in Laravel join?

I've a Laravel 4 join as given below: return DB::table(Location::getTableName() . ' as l')->wher...

0 Likes
0 Replies

L 5.1 - return redirect->route() not working...

Hi guys, I have a strange problem. I am not able to redirect my user if his email does not exist in...

0 Likes
1 Replies
Solved

Laravel 5 routing

I am trying to create HMVC structure in laravel.I have created a modules folder with sub folders in...

0 Likes
1 Replies
posted 9 years ago

Login Error

I am using laravel 5.1 with the default authentication controller without any overrides but i faced...

0 Likes
5 Replies
posted 9 years ago

Why `php artisan key:generate` not available in lumen?

Is there any reason the command php artisan key:generate is not available in lumen?

0 Likes
1 Replies

How i solve this parse error ?

[Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected 'as' (T_AS) Route::...

0 Likes
4 Replies

Laravel and Browser Caching

So i found a cache option in laravel but it seems to store the variable on the server. I am looking...

0 Likes
1 Replies
posted 10 years ago

Password Reset when using JWT Auth in Laravel 5

I am creating an app in which I am creating a laravel api and using angularjs for my front end. For...

0 Likes
2 Replies

My Homestead 2 setup on Windows

I created this thread as a reply to another to keep the topics separate but related. Here is how I s...

0 Likes
8 Replies

Odd Blade? Issue

Not even sure where to start - just looking for maybe a point in the right direction. I've got somet...

0 Likes
2 Replies
Solved
posted 9 years ago

Laravel 5.1 Backpanel Setup

I am new to Laravel. I am trying to set an application which has admin panel, ability to manage the...

0 Likes
2 Replies

Trying to remove public from url Laravel

I have this code in my .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On Rewrit...

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.