Support the ongoing development of Laravel.io →

4,597 Threads

Laravel using wrong table name?

Here's my Level model: class Level extends Eloquent { protected $table = "levels"; }...

0 Likes
4 Replies
Solved

Trigger 500 error from the start.php file

In the ./application/start.php file, is there a way to respond with the 500 error page here, before...

0 Likes
2 Replies

Laravel environments

Hey, I'm working on an app made on Laravel where i have to host multiple domains. It's an Project Ma...

0 Likes
4 Replies
posted 10 years ago

Help with relation query

Hello, My query is returning the wrong product. My Order.php has a relation of public function items...

0 Likes
2 Replies
Solved

Non-static method Confirm::posts() should not be called statically, assuming $this from incompatible context

These are my models User public function posts() { return $this->hasMany('Post'); } P...

0 Likes
5 Replies
Solved

Combining two query (WhereIn with Where) x 2

$userCollection = DB::table('collections') ->whereIn('user_id', array())...

0 Likes
3 Replies
Solved

Cannot find records using ->where() and booleans

Hi, I'm having a problem. Using migrations I create the following field: $table->boolean('is_clos...

0 Likes
1 Replies
Solved

multiple queries in a scope function

HI I have recently posted this questions on stack overflow. I was hoping someone here would know the...

0 Likes
0 Replies

Issues with Eager Load With Limit & Variable

The following would give me collection without Items. $collectionList = Collection::where('user_id',...

0 Likes
7 Replies
Solved

Visible, Hidden, Fillable & Guarded with Foreign Keys

Hi, First question: What options should foreign keys use? Guarded? I have an Article object that has...

0 Likes
3 Replies
Solved

Migrations from 3rd party packages

Hi, What would be the best method to set up a script/command to run through general migrations as we...

0 Likes
2 Replies
Solved

Store data in memcached

Hi, Q1, Is there anyway i can see how Memcache works? with laravel? What does Laravel set in the Key...

0 Likes
3 Replies
Solved

Package that tracks page views in a time range: last day, week, month, all time

"Popularity" is a Laravel 4 package for tracking popular Eloquent elements of a website in...

0 Likes
4 Replies

Limit Relationships in Eloquent

Hello All, I have a self project. I am trying to create an application that can track my financial s...

0 Likes
1 Replies
Solved

hasManyThough return wrong ID

Hi Every body, my code is here http://laravel.io/bin/NmmV Categoria -> Fisrt Model, parent of the...

0 Likes
2 Replies
Solved

Looking for a Freelance Laravel Developer from the Netherlands

Hi, For a client we've building a Laravel 3.x application for his business. We decided to focus our...

0 Likes
1 Replies
posted 10 years ago

Ramblings : An Introduction

Hello. I am going to use laravel.io as a medium for rambling on my thoughts about programming. Whene...

0 Likes
0 Replies

Multiple queries same view/controller

I'm very new to Laravel and kind of new to PHP. So if my terminology is off or I don't give enough i...

0 Likes
4 Replies

php artisan migrate:make Does Not Create Schema

From the Starting with Laravel 4 book I have two models files named Cat.php and Breed.php in my mode...

0 Likes
2 Replies

Fields to organize entries in my DB (order_by Myfield)

Hello, I started on Laravel after a lot of sites on Codeigniter. So I try in my first dev to respect...

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

© 2024 Laravel.io - All rights reserved.