Support the ongoing development of Laravel.io →

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 9 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

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

Getting data from a join in a view

In my controller I have: public function index() { $comments = Comment::pagi...

0 Likes
1 Replies

(L5) FileNotFoundException, When uploading large file

Hi I have setup Laravel 5 and file upload using blueimp's jQuery File Upload plugin. It works fine....

0 Likes
0 Replies

Beginner question - Trying to display articles containing the same category

First of all, sry for posting what is probably a stupid and an obviously easy to solve question. I'v...

0 Likes
5 Replies
Solved

Display Errors in laravel-Beginner

<div class="alert alert-danger"> <strong>Whoops!</strong> There were s...

0 Likes
1 Replies

Redirect::route() adds port 80 to URL causing error

I am using cloud9 and laravel 4.2. I have the basics of laravel going well. I have multiple routes a...

0 Likes
1 Replies
posted 9 years ago

Model create delete the id attribute

I need to set id manually instead increments, but I have a problem. $user = User::create...

0 Likes
3 Replies

Problem with Laravel 5 and Memcached session driver

I'm hosting a laravel application in amazon aws free tier. I'm using memcached instance on amazon fo...

0 Likes
0 Replies
posted 10 years ago

Laravel count/leftjoin Multiple Tables

Hello, i want to select all users from table and check counts if they loggid in from facebook/google...

0 Likes
7 Replies

Can't intall : Installation Via Laravel Installer

I installed laravel via composer but my laravel comman doesn't work in my command line. I'm still us...

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