Support the ongoing development of Laravel.io →

Calling model method from controller

I have this in my car.php model public function bySortOrder() { return $this->orderBy('so...

0 Likes 3 Replies
Solved

Problem with Template. Pls help!

I can only call my master template from my UsersController. When i call my master template from Pos...

0 Likes 1 Replies
Solved

Help with relationship

Sorry for my english, is not very good. I have a User model and I have a Post model. two models have...

0 Likes 2 Replies
Solved

PDF load hanging page

Hi all, I am trying ThuJohn's DOMPDF wrapper for L4 and am having a little problem rigtht off the ba...

0 Likes 1 Replies
Solved

ReflectionException

I'm getting the following error ReflectionException Class Trinity\Users\UsersRepository does not exi...

0 Likes 1 Replies
Solved

Question about relationship.

Guys, good morning. Question about relationship. In this query it brings me a student and two servic...

0 Likes 2 Replies
Solved

Passing multiple db variables from Controller to View

return View::make('home')->with(array('posts' => $posts)); The above is working for me, so I...

0 Likes 7 Replies
Solved

Need help with syntax

I am extremely sorry for this novice question in the link http://laravel.com/docs/routing#route-filt...

0 Likes 1 Replies
Solved

Markup is showing on my page.

Hello, First time Laravel install - went great. Then installed https://github.com/rydurham/Sentinel...

0 Likes 2 Replies
Solved

What is the proper way to isolate data processes in sub-views?

Hi everyone! I have a sub-view (which i call widget) in my pages which accepts a parameter, and this...

0 Likes 9 Replies
Solved

How to validation multiple files in Laravel 4

I have input with name = "image []" multiple = "multiple" which depends on other...

0 Likes 2 Replies
Solved

Best practices with Auth

I have a question use throughout my application ACL (Access list controller) and do consultations in...

0 Likes 3 Replies
Solved

Eager Loading and Relations.[URGENT]

I'm trying to relate a user model and a comments model. My user model has the following code.. clas...

0 Likes 4 Replies
Solved

Seeding from migration

This may be a weird question, but is there a way to seed the db from a migration? The reason is that...

0 Likes 1 Replies
Solved

Increment in Query Builder

DB::table('items')->where('id', $itemID)->increment('save',1); As above, is that possible or d...

0 Likes 1 Replies
Solved

How not to break the internet with routing ?

Given this URL structure www.example.org/category www.example.org/category/subaction1 www.example.or...

0 Likes 2 Replies
Solved

Codeigniter-like automatic routing, fetch $_GET parameters and load multiple views inside one function

Hello, I am new from Laravel, migrating from Codeigniter. And I am currently building my first websi...

0 Likes 2 Replies
Solved

Getting rid of index.php in URLs

Hi all! How do I get rid of the index.php file in the URL? Currently my site works either way: http:...

0 Likes 6 Replies
Solved

Blade Fails to interpret @extends structure

Laravel 4.1.21 This does not happen every time but for a few template files only. Template File...

0 Likes 4 Replies
Solved

Using jquery mobiles date widget

Jquery mobile has a nice form-element called: "data": <input type="date" data...

0 Likes 1 Replies
Solved

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.