Support the ongoing development of Laravel.io →

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

validator with mime XLS fail

hi guys.. I have some problem with laravel validator,.. I just want upload my xls file, but I got th...

0 Likes
3 Replies
posted 9 years ago

sum of group by 2 dimensional array in laravel?

I would like to sum of group by 2 dimensional array like: $data=array( array('name'=>'Theara', 's...

0 Likes
0 Replies
posted 9 years ago

BindingResolutionException using Schema\Blueprint and Builder

Hello eveyone, I am trying to create an application that creates custom tables and columns in my dat...

0 Likes
0 Replies

json respone related issue

Hi there, I am trying to integrate jQuery dataTables in my Laravel project but I can't seem to be ab...

0 Likes
1 Replies
Solved

.htaccess: Options not allowed here

I had an installation of laravel working and was doing a youtube tutorial. Everything was working f...

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.