Support the ongoing development of Laravel.io →

Converting json to nested models

Hey there, Im using Elasticsearch as primary search engine en for some pages that have quite big nes...

0 Likes
1 Replies

Is ZSH preventing mcrypt from working?

I am trying to get a new install of Laravel to work (OS X 10.9) with MAMP. It gives the usual Genera...

0 Likes
0 Replies

PDOException SQLSTATE[HY000] [2002] No such file or directory

Hi, I have small problem with Laravel framework on shared hosting with phpmyadmin and only ftp acces...

0 Likes
1 Replies
Solved

Laravel 4 and SVN

I've been searching for the solution for a while and didn't find any so I need to ask the community...

0 Likes
0 Replies

Custom timestamp column

Hi guys, I'm trying to save a custom timestamp "expires_at" in DB, but not working here is...

0 Likes
4 Replies
Solved

Confusion about programatically chaining where and take statements

Hi, I'm working on an API and one of the endpoints has all optional parameters. What I'm trying to d...

0 Likes
7 Replies
Solved
posted 11 years ago

Access session from a public directory page

Hello guys! I have created a page within public directory and trying to set session value there and...

0 Likes
0 Replies
posted 11 years ago

Query, filter and return all results with Eloquent

This is basically what I am wanting to do: Locations::where('location_id', '=', $location_id)->re...

0 Likes
2 Replies

redirect to login

I have an admin area (previously) using auth basic. Route::group(array('prefix' => 'admin', 'befo...

0 Likes
2 Replies
Solved

Get an item through pivot table by a "has" relationship...

Hello all, I have some model called location, which describe a location, (say the eiffel tower). Thi...

0 Likes
2 Replies

Most efficient count on relationships

I'm currently using Eloquent for my database queries, but when an user logs off I want to get a tota...

0 Likes
2 Replies
posted 11 years ago

Youtube SearchKeyword Output

Note: Laravel nooby and learning (PHP aswell) I'm trying to get an search by keyword sample from the...

0 Likes
0 Replies
posted 11 years ago

Why is Form::model a code smell?

In this thread Robbo says: "Using Form::model in the first place is a code smell." There d...

0 Likes
4 Replies

Best way to link a model to two other models

Hi guys, I'm trying to find the best way to implement the following. I have a Client of a given Sect...

0 Likes
2 Replies

Add milliseconds to eloquents created_at/updated_at

Hi guys! I would really love to be able to to include milliseconds to the time fields in my models....

0 Likes
1 Replies

Error rendering view: [user::profile.profile]

Hello everyone! I receive the following error: Error rendering view: [user::profile.profile] Trying...

0 Likes
5 Replies

Better IoC design pattern?

I have finally got my head around IoC (thanks to Jeffrey and Laracasts :) ) and I'm now looking to a...

0 Likes
2 Replies
Solved

Testing classes which connect to external services

Currently I'm trying to improve my TDD (PHPspec) in Laravel, though I'm facing several problems when...

0 Likes
0 Replies

Eloquent LEFT JOIN WHERE NULL producing strange results

I'm trying to use Eloquent to perform the following query during a database seed: SELECT * FROM...

0 Likes
1 Replies
Solved

N+1 single view Data Retriving

Dear All, I have a problem like that. // First, I created one to many relation for Post and PostCate...

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

© 2025 Laravel.io - All rights reserved.