Support the ongoing development of Laravel.io →
posted 10 years ago

Paginating an Eager Loaded Relationship

public function getCategory($category_id) { $category = Category::with(['products' => fun...

0 Likes
3 Replies
posted 10 years ago

Inserting a related model and missing FK

I have set up two models: User and Survey and defined their relationship in the model. One user may...

0 Likes
5 Replies
Solved

Call to undefined method Illuminate\Database\Query\Builder::firstOrFail()

I have a server running php 5.3.22. When I make a call to an eloquent model I get an error: $email =...

0 Likes
2 Replies

Many To Many Polymorphic Relationship?

Hey guys, I'm trying to figure out if this is the best way to go about this. I have a tv_shows table...

0 Likes
8 Replies
Solved

PSR-4 directory structure for packages

hey guys this is more of an aesthetic question about how to structure the directories of a package w...

0 Likes
2 Replies
posted 10 years ago

Is there an offline installation

Hi,Laravel people can i ask some help regrarding to the installation I am still newbie in laravel i...

0 Likes
3 Replies

Use avg() in eloquent for OrderBy

Hi ! I have a lists on articles that I get from a simple Eloquent query Article::where('state', '=',...

0 Likes
4 Replies
Solved
posted 10 years ago

Image upload to SQLite

Hi. I have looke all over github but i didn't manage to find an app that uses SQLite and image uploa...

0 Likes
0 Replies

My Auth::check is not working in view.

My Auth::check is not working in view. but works fine in controller. also works fine on local server...

0 Likes
4 Replies

pivot table with 3 columns

Hi Models : There is Party (should be renamed 'game') User can register to Party then user has a reg...

0 Likes
1 Replies

Install process: some queries

Hello All, Happy to be checking out Laravel. I am used other framework installations like that of Co...

0 Likes
3 Replies

Followers posts list

Hi, I want to create a sort of basic twitter clone as a learning project and wondered how you would...

0 Likes
0 Replies
posted 10 years ago

Laravel Mod for Google App Engine is not working on Windows

I am trying to use laravel php framework on google appengine platform, I have installed the App Engi...

0 Likes
0 Replies

Static methods vs $this->CLASS->METHOD in controllers?

Can someone explain to me the advantages of objects creation in __construct method? And explain depe...

0 Likes
2 Replies
posted 10 years ago

Undefined index: driver ... Stuck.

This has happened to me 3 times in the past. Now this time I really want to figure out what the prob...

0 Likes
2 Replies

[package] Rulez - Input validation Service

https://github.com/keevitaja/rulez-laravel Rulez provides easy way for setting up input validation r...

0 Likes
0 Replies
posted 10 years ago

To use this framework or not to use one?

I have been programming for 3 years with php but I have never used a framework. Lately I have starte...

0 Likes
2 Replies

Why the email of the reset password will send twice and there is a subject on the first email but not on the second email

Everything seems working well but the email of reset password will send twice. That's strange!

0 Likes
1 Replies

Application cant determine owner of a model

Hi everyone :) I'm having a problem with determining a owner of a model. The application is supposed...

0 Likes
1 Replies
Solved

Naming RESTful Controller Methods

Stumbled upon the biggest Laravel issue for me. I don't like the idea of defining routes for many me...

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

© 2024 Laravel.io - All rights reserved.