Support the ongoing development of Laravel.io →

Best practice for creating global variables (values pulled from database) in Laravel 5?

Hi, I need to have some global variables (values pulled from database) that are accessible through o...

0 Likes
1 Replies
posted 9 years ago

Laravel 5 hasMany() problem

I'm having trouble with Eloquent's hasMany() method. In short, I'm making a video website and curren...

0 Likes
5 Replies
Solved
posted 9 years ago

Email Middleware + Attachments

I have two issues: How would I go about implementing middleware whenever Mail:: is called, specifi...

0 Likes
3 Replies

Laravel 5 - Query Exception, wrong table used

Hi. I have a problem using the built in user support. I created a table "user" in my datab...

0 Likes
3 Replies
posted 10 years ago

How can i do this???? $this->hasMany( ) ->select()->where()

Basically, this an event app where customers can buy events and/or flights, hotels, etc......So you...

0 Likes
10 Replies
Solved

How to dynamically embed related forms in Laravel 5?

I have two related entities in Laravel, client and client user. A client can have multiple number o...

0 Likes
0 Replies

FatalErrorException in compiled.php line 9437: Class 'User' not found

I am trying to query the database to get all suggestions along with the users table information howe...

0 Likes
2 Replies
Solved

Form validation with @foreach

Hello, I have table with form, here is code: <tbody> @foreach($cart_products as $index =&g...

0 Likes
3 Replies
Solved

Laravel 5 - Routing with optional prefixes

I would appreciate some help with routing in Laravel 5. I've got three models: ReasearchLine, Reasea...

0 Likes
1 Replies
posted 9 years ago

Repository Pattern and Class - Interface binding

Hello all; I've been using this pattern for a long time but there is just a little point that I coul...

0 Likes
2 Replies
posted 9 years ago

Is it good practice to have such queries in laravel views?

@foreach( $users as $user) <td class="text-center" > {{{ Order::whereAff...

0 Likes
4 Replies

Changing Database between Tests

I have a model that i like to unit test. The majority of methods use standard database functions. On...

0 Likes
2 Replies
Solved
posted 9 years ago

Call to undefined method

I have a strange issue, where I get this error Call to undefined method Illuminate\Database\Query\Bu...

0 Likes
0 Replies

include view as single line.

Hi all, I'm trying to include a blade template but as a single line. (http://stackoverflow.com/quest...

0 Likes
1 Replies
posted 9 years ago

Laravel Birmingham UK Meetup

Hi All, Are there any Laravel developers in Birmingham UK? There isn't any Laravel meet up in Birmin...

0 Likes
2 Replies

Boosting image serving performance

I am currently trying to improve the performance of my Laravel application. The average response tim...

0 Likes
5 Replies

Disable user register

Hi everyone, for let be my app private i have to disable the user register function, and of course t...

0 Likes
1 Replies
Solved
posted 9 years ago

Form Update

Hi everyone, i have to update some post and, to do that, i'm using this form with PATCH method. <...

0 Likes
2 Replies
Solved

Eloquent Union Laravel 5

hello there, i am newbie there. im working with laravel 5, and i got a problem when i developed my w...

0 Likes
0 Replies

Windows 8.1 Homestead Error Message vm: The host path of the shared folder is missing: ~/Code

In my Homestead.yaml I have the folders configured as: folders: - map: c:\Code to: /home/v...

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.