Support the ongoing development of Laravel.io →

3,595 Threads

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

[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

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
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

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

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