Support the ongoing development of Laravel.io →

Bidirectional eager loading on L5 with 3 models

I already typed my issue here if you prefer, with the important bit of each classes I have 3 models...

0 Likes
1 Replies
posted 10 years ago

Beginner question - Problem with packages in "require"

Hello, My problem is when i uploaded my website in a free Web Hosting using Filezilla the package Oa...

0 Likes
1 Replies
posted 10 years ago

Where to put methods used by controllers.

Hi all so I am extending the AuthController and have added a few 'helper' like functions like: priv...

0 Likes
1 Replies
Solved

Authenticate on multiple tables/models with Laravel 5

Hello guys, I have two questions about Authentication: How to use Auth with multiple tables? (Stude...

0 Likes
2 Replies

Php artisan migrate error?

Hi guys, when I type the command in bash below, php artisan migrate I got the error below exception...

0 Likes
2 Replies

Environment Detection

because I need to create the environment.php file? I did not created the file environment.php and it...

0 Likes
2 Replies

Weird SQL error while trying to remove related object

I have Category model which has one to one relationship to itself. It obviously has id and parent_id...

0 Likes
4 Replies
Solved

are tables updatable by modyfing schema migration file?

Let's say I want to add a column to a table, I tried to modify the schema file inserting the new col...

0 Likes
1 Replies
posted 10 years ago

mysqlworkbench mwb file to schema builder files

is it possible to convert an mwb file created with mysqlworkbench to schema builder files? Some kind...

0 Likes
2 Replies

How to use 'belongsToMany' passing parent ID (pivot) to WHERE?

I have 3 models, ie: Country, User, Bike. Country has many User, User has many Bike, and bike can be...

0 Likes
1 Replies
posted 10 years ago

Cannot access variable in View that was created in Controler while redirecting

Hi I have controller like that: public function sendmail() { $status = \Lang::get('messages.notsent'...

0 Likes
11 Replies

Create categories

Hello, I would like to ask for examples or samples, how to create categories with many to many realt...

0 Likes
2 Replies
Solved

Lumen Routes List Artisan Command

Hello, If you are want to display all registered route list same as laravel framework then you can u...

0 Likes
0 Replies

Dynamically set Session cookie expiry date

Hello! I would be happy if you could help me with the following problem: When a user does a login, I...

0 Likes
0 Replies

Passing data from a controller to a view page

Hi All, I have created a login page and passing the data to the controller. In controller, I am doin...

0 Likes
1 Replies
posted 10 years ago

Cant get welcome screen to show up on new installation of Laravel on Ubuntu14+Apache2

Here are the specifics OS: Ubuntu 14.04 Webserver: Apache2 Laravel Version: 5.0.16 modrewrite: enabl...

0 Likes
3 Replies

Using filters inside a view

Hello, I have a view which will render the menu of my website. I'd like that navigation to display o...

0 Likes
3 Replies

Migration cascade + foreignkey + index

This is my source code: public function up() { Schema::create('messa...

0 Likes
1 Replies
Solved

Debug authentication

How can I debug the authentication?

0 Likes
4 Replies

Redirect::back() with two sets of POST data?

Here is my set up. I have page1 that gets a list of all records in a large database. It allows user...

0 Likes
5 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.