Support the ongoing development of Laravel.io →

Issue with auth in L5.1

I created a request php artisan make:request ContactFormRequest and then changed authorize() method...

0 Likes
3 Replies
Solved

Homestead problem! Beanstalkd and MySql

Hey folks, I recently faced a problem with Homestead that after days and hours could not find a solu...

0 Likes
0 Replies
posted 10 years ago

[HELP] url localhost/laravel/contact/ redirect me to localhost/contact

Hello, i have a problem. If i type URL localhost/laravel/contact/ to my browser, it will redirect me...

0 Likes
2 Replies

Retrieving Models with Name in a Variable. ex $class::all() - is there a way to do it?

I have some code as follows: if($modconfig['needs_models']) { $models = explode(",",$...

0 Likes
1 Replies
Solved

how many relationships should a model have

HI , Ive got a question , Im rebuilding a application I built for a client about 6 years ago . At th...

0 Likes
10 Replies
Solved

Lumen gets wrong value from .env

I've created a Lumen project and copied .env.example to .env. After that I changed DB_DATABASE, DB_U...

0 Likes
2 Replies
Solved

Lumen Resource Routing

Hi, I'm trying to make resource routing as laravel do but seems in lumen does not have any option fo...

0 Likes
8 Replies
posted 10 years ago

How to make an select and multiple join in one sentence

Hi to all, i'm new in laravel :) and i have a doubt. I need, like the title says, do the both consul...

0 Likes
2 Replies

Problem when injecting facade classes

Hello! I have a problem with Laravel 5.1. When I try to do things like this, with facades Event::fir...

0 Likes
0 Replies
posted 10 years ago

Problem with contact form - Mail address of the sender

Problem with contact form - Mail address of the sender Hello, I just ask for a little help please, b...

0 Likes
0 Replies
posted 10 years ago

Pure controller class names?

Guys, do you always use Controller suffix in controller classes names? I do, but I'm now thinking if...

1 Likes
0 Replies
posted 10 years ago

Where cause in multiple table in Eloquent ORM

I have 2 tables like devices and users users table -id -full_name -email -phone devices table -id -u...

0 Likes
0 Replies

Laravel 5.1 Eloquent multiple pivot tables or threeway pivot?

I am struggling. What I try to do is to create a message system where users can send messages to eac...

0 Likes
0 Replies

Namespacing behaving strangely after upgrade to 5.1 from 4.2

I am trying to update our application to Laravel 5.1 from 4.2. We are going for a full upgrade from...

0 Likes
1 Replies

Error when running: php artisan migrate:refresh

This is the error that I receive when running the command: php artisan migrate:refresh {"error&...

0 Likes
4 Replies
posted 10 years ago

Disable Application Cache

Is it possible to disable the application cache for a Laravel app?

0 Likes
0 Replies

Laravel kills Ubuntu Server

Hi! I have this VPS where I have install Ubuntu and Laravel works fine on it. But today I realised t...

0 Likes
0 Replies

Passing variables from one seed file to another?

I have created multiple seed files and my main DatabaseSeeder file looks like this: <?php use Il...

0 Likes
0 Replies

Most Used Tags

hi! I have a Post and Tag model with a many to many pivot table, how do you write a query to find th...

0 Likes
0 Replies
posted 10 years ago

Validator::replacer()

I'm trying to make a customer message using the :attribute as a key to return a portion of an array:...

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.