Support the ongoing development of Laravel.io →

495 Threads

OneToMany - Not Showing the data but the full object

Hey there, I am stumped on why my query is sending me back the full object when I do $date->exhib...

0 Likes
5 Replies
Solved

Multiple controllers to same route

Hi there, I'm trying to use multiple controllers at Route::get('/'), but I couldn't get a second one...

0 Likes
4 Replies
Solved

Handling views in packages for a project.

Hi, Ok, there is probably a simple solution to this problem but I haven't found it yet, hence why am...

0 Likes
1 Replies
Solved

What am sending to the views

Ok, its newb question. If i do "return View::make('something')->with('user', User::find(1)-&...

0 Likes
2 Replies
Solved

Iterate over multidimensional object with blade

Hey folks, i'm new to Laravel but already in love! Awesome. Sadly there's little documentation espec...

0 Likes
6 Replies
Solved

Passing id value from select list to controller, getting object expected error

I've constructed a select list in a dashboard view, which lists id and name of various components. T...

0 Likes
3 Replies
Solved

pagination search page

Hi everyone, I have a page with all users and I have a search box. When I search, shows me the resul...

0 Likes
3 Replies
Solved
posted 11 years ago

Can a View Composer find out what controller/action it is being called in?

Is this possible? I'd like a View Composer to know the name of the controller and action context so...

0 Likes
1 Replies
Solved

Laravel insists on loading incorrect resource route

I am well into a project where I have a number of resource controllers. They have all been working p...

0 Likes
3 Replies
Solved

How to display posted data into my form inputs

Hi, My problem is very simple. I'd like to display into my formś input the content I wrote when ther...

0 Likes
3 Replies
Solved

Style not loading after prefixing a route

Hello, I tried to use a prefixed route like Route::group(array('prefix' => 'admin'), function() {...

0 Likes
2 Replies
Solved

Autoload view with psr-o

Good night ! Following the instructions from that link: https://github.com/daylerees/autoload-demo B...

0 Likes
2 Replies
Solved

Is it valid to use filter to pass variables to layout?

Hi, I have a layout which requires a few variables and several controllers that use this layout. The...

0 Likes
1 Replies
Solved
posted 11 years ago

Does anybody out there know how to use Carbon to get the difference between two date/times in hours and minutes

My dateTime fields are stored in mySQL as a timestamp and the fields are mutated? as below: public f...

0 Likes
2 Replies
Solved

Blade help - Route [crowds.create] not defined

I am getting this error once I add a prefix to the route in routes.php Route::group(array('before' =...

0 Likes
3 Replies
Solved

Dynamic Pages and Routes

Hey everyone, first post. I'm quite the beginner with laravel so sorry if I'm asking anything basic...

0 Likes
4 Replies
Solved

True Newb Authentication/Route problems

Having trouble displaying my dashboard after signing in. Here is my UsersController, users/dashboard...

0 Likes
1 Replies
Solved

"Trying to get property of non-object" error getting data from foreign table

My goal is to create a select list in a create.blade.php view. I'm not getting any errors with the D...

0 Likes
2 Replies
Solved
posted 11 years ago

L4.1 Route Group Prefix Parameter => Constrain.

With a route I can put a constraint: For instance to allow only a-z letter in the book url. Route::g...

0 Likes
1 Replies
Solved
posted 11 years ago

How to use HTML::linkAction() with Bootstrap glyphs?

I would like to have a logout button on my navbar. I have tried snippet below but it's not working {...

0 Likes
2 Replies
Solved

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.

© 2026 Laravel.io - All rights reserved.