Support the ongoing development of Laravel.io →

4,597 Threads

SQL where in Eloquent

i realize the question sounds very rudimentary, but coming in from the front end side of development...

0 Likes
2 Replies
Solved

Who's online Laravel 4 Session

Hi everyone, i'm trying to implement in my Laravel 4 app, a script that shows me which users are onl...

0 Likes
8 Replies

Trying to understand Migration workflow

At this point I have two files in my migration folder, one to create the table with its columns, and...

0 Likes
3 Replies
Solved
posted 10 years ago

General Performance Expectations, loading 8 rows using ->all() takes ~1second

Hello Guys and Girls. I am currently developing a small web-app using laravel. In general, I am very...

0 Likes
3 Replies
Solved
posted 10 years ago

Paginating an Eager Loaded Relationship

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

0 Likes
3 Replies

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

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

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

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

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

Can I query the results of a query?

This isn't working, and maybe it's not possible, or maybe I'm close? $allcars = $user->cars()...

0 Likes
2 Replies

L4 external auth

Hi, my L4 apps runs in MySQL, and all my user accouts are in SQL-Server. I would like create a basic...

0 Likes
1 Replies
posted 10 years ago

Concating Issues

Hello Forums, I seem to be having a wee bit of trouble, well, I mean, a lot of trouble with attempti...

0 Likes
6 Replies

Event trigger and validation

Hi, When I save a model, I want to validate its contents; I use a validator and a protected array of...

0 Likes
0 Replies

How create this SQL with laravel

Anybody know how create this SQL with Query builder: SELECT * FROM (SELECT * FROM 005_056_cola_envio...

0 Likes
2 Replies

Problem of model functions since the last composer update

Hi, I have update the composer.phar today, and since that, all the methods in the model files don't...

0 Likes
8 Replies
Solved

[Benchmarking] Using your public API internally, too

Hey guys I had some doubts and concerns about using an HMVC approach with Request::create() so I did...

0 Likes
1 Replies

Integrating Databases with Exotic Column / Table Names & Laravel Auth

How well does Laravel (or more so PHP) handle integrating with databases where the table/column name...

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