Support the ongoing development of Laravel.io →
posted 10 years ago

Flexible Laravel (and beyond...) Job Position Available

I really love laravel and laracasts and thought this would be a great place to find a like minded in...

0 Likes
0 Replies

Composer Installer

Hi, I get the following error when trying to install the composer installer on windows: "Compos...

0 Likes
1 Replies

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

Three table relationship problem in view: Product, producimages, imagetypes. How to show images by type in specific section in view. Not all images.

Hello, can anyone help me with my problem. I can't seem to solve it. I want to show in blade view im...

0 Likes
2 Replies
Solved

How do you create a model relationship base on a column value?

Hi guys! I have a comments table and this table has four fields which are : id post_id type_id comm...

0 Likes
1 Replies
Solved

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

What is the proper way to set up a model to refer to a table in a different database?

Hi guys! I have two databases main and beta. In my database.php file I have setup the connection to...

0 Likes
2 Replies
Solved

Passing POST variables to a view composer - how?

Hi all, I use view composers heavily throughout the app I'm working on. For example, one of my rout...

0 Likes
1 Replies
Solved
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

Filter problem on Laravel 4

Look my code: http://pastebin.com/56rY1iqD I don't understand why this filter doesn't work... This f...

0 Likes
5 Replies
Solved

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

Response::view VS Response::make(View::make) And Error Pages

Hi, I'm a newcomer to Laravel. I tried to create custom error pages for the application. I did follo...

0 Likes
2 Replies
Solved
posted 10 years ago

2 values for radio button

Is it possible to pass 2 values for a radio button? I need to write two values to two different colu...

0 Likes
2 Replies
Solved

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

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.