Support the ongoing development of Laravel.io →

Auth::attempt with other parameters

I'm building the user auth for my app and I can see it's possible to send additional parameters to t...

0 Likes
1 Replies
posted 10 years ago

Showing models only through relation

What is the best way to use findOrFail / find on a model to find models just belonging to an user. M...

0 Likes
2 Replies

Possible to use PHP functions in-line with Eloquent ->where clause?

Hi, I've got this in my code. $list = $the_things->where( 'date_field', '>', time() ); That d...

0 Likes
1 Replies

Why does Macbook ask for password everytime I modify a file?

Hi; I created my first project like this: First, download the Laravel installer PHAR archive. For co...

0 Likes
0 Replies

How safe is Input::all() if I pass it to the Model::create() method?

I'm curious as to how much escaping and input sanitizing Laravel does behind the scenes. For instanc...

0 Likes
5 Replies
posted 10 years ago

Store Redis Session as JSON

I am trying to build newsfeed with laravel and node.js and try to sync redis session, can any one he...

0 Likes
0 Replies

Foreign key constraint is incorrectly formed

http://laravel.io/bin/Nk3v#2 I thought I had everything working, until I added this last foreign key...

0 Likes
0 Replies

Another must see talk from Ross Tuck about models and service layers

http://www.youtube.com/watch?v=3uV3ngl1Z8g&feature=youtu.be&a Definitely watch this.

0 Likes
2 Replies
posted 10 years ago

[Controller testing] Problem with a view expecting some information from the controller

Hello everyone, I’m trying to start testing my controllers. I have a pretty basic controller which r...

0 Likes
0 Replies

Custom Error Messages

I am trying to create error messages without having to hardcode into custom array of validation.php...

0 Likes
0 Replies

Different pagination styles for different views

As the title suggests, is it possible to have different pagination styles for for different views?...

0 Likes
1 Replies
posted 10 years ago

Is updating via the Model less effecient than updating via DB::table?

My question is in regards to doing this: $user = User::find(1); $user->email = '[email protected]'; $u...

0 Likes
4 Replies
posted 10 years ago

Forum packages

Does anyone know of any good forum packages for Laravel 4? I'm thinking about installing FluxBB. Per...

0 Likes
0 Replies
posted 10 years ago

Licensing question

Hi, I want to use laravel for my projects including open source ones, till now I have been a cakephp...

0 Likes
1 Replies

Eloquent error: Integrity constraint violation

Hi, this is my first thread so if I doing wrong some things please don't hate me :) I'm using Migrat...

0 Likes
2 Replies
posted 10 years ago

Activity stream approach?

How would you approach a user specific activity stream? It could include User activities such as: P...

0 Likes
0 Replies

How to validate uniqueness of 3 fields

Hi. I have this table: Schema::create('maps', function($table) { $table->engine = 'InnoDB'; $...

0 Likes
0 Replies
posted 10 years ago

Join multiple tables, order by created_at problem

Can't get this to work properly. The results are not ordered by date and I get duplicates for each c...

0 Likes
0 Replies
posted 10 years ago

Create a model instance including its relationships

I'm trying the create a model instance including it's relations, but i can't seem to find a proper w...

0 Likes
1 Replies

White Page after installation

I followed the installation guide here and on dev-metal to install Laravel 4. Apache2 is running on...

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