Support the ongoing development of Laravel.io →

4,597 Threads

What's the best way to troubleshoot a controller problem?

In my controller I'm trying to delete a record from a table and the only message I get back to the c...

0 Likes
2 Replies

Querying ORM with WHERE clause

Howdy. I have nested resource controllers, like so: http://example.org/v1/jobs/1/departments My issu...

0 Likes
1 Replies

Using a relationship query on one table that has two columns to match?

I have two tables. One is People. The second is Files. Files contains all uploaded files through an...

0 Likes
3 Replies
Solved
posted 10 years ago

How would one run a `SELECT` on a subquery using Fluent?

I'm currently building out a query using Fluent, and it works correctly - but I'd like to run SELECT...

0 Likes
1 Replies
posted 10 years ago

rolling back a previous migration

what i need to do is rollback a migration i did a few days ago. is this possible? i've read the docu...

0 Likes
1 Replies

Pro-active Caching: Looking For Ideas

I have built a business application using Laravel that utilizes several very large datasets. There i...

0 Likes
1 Replies

Change associated table in model with setTable() don't works

Hello community, I try to get data via one model from two different tables, so I want to change the...

0 Likes
0 Replies

How can I cache all data in Eloquent

How can I try to using cache for all of Eloquent query. Example: $users = User::remember(10)->get...

0 Likes
1 Replies
posted 10 years ago

database for cms

what is best way to make cms and database with laravel 4? Simple cms where users change page content...

0 Likes
2 Replies

How to reference this object's "belongsTo" user?

In my Car class I have public function user() { return $this->belongsTo('User'); } public fu...

0 Likes
9 Replies
Solved

whereNotIn Query replacing my array variables

Hello All, So I have some weirdness happening. I'm trying to do a search on a track database that I...

0 Likes
2 Replies

Delete quotes in query to execute

I need to execute a query with group by. But the group by is not for a field. I need to group by wit...

0 Likes
0 Replies

Composite primary key

Hi ! I read that L3 didn't support composite primary key, is it the same for L4.1 ? In my case it's...

0 Likes
2 Replies

Laravel projevt from local machine to production server

Hi all, I created my Laravel project on my local machine using MAMP and Composer. Now I'm ready to m...

0 Likes
0 Replies

Handle a cart for an e-commerce website

Hi, I am trying to create a cart for my e commerce website. For a single user, it's simple, session...

0 Likes
13 Replies
Solved

Getting a data from model & use in controller

In relationship from the questions I have ask previously, Question 1: Inserting selected fields from...

0 Likes
9 Replies

Children Models

I would like to have the following models: Employee, Agent, Client. Since half of all the fields and...

0 Likes
3 Replies

HipHop (and / or NGINX) and Saving new Records

Hi there, This was a different thread, but incorrectly titled. Anyway, here's the problem: On our d...

0 Likes
3 Replies
Solved
posted 10 years ago

Using custom Entities with the Illuminate Query Builder (as opposed to Eloquent models)

I think I've come up with a fairly clean way to return custom entities from the query builder. I've...

0 Likes
0 Replies
posted 10 years ago

Selecting data from 3 tables with limit

Hello, I have 3 tables ppc_offers, survery_offers,find_offers ( from admin section, i enter data int...

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