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

Is it possible to use a parameter from a group globally?

Hello, Consider the following: //Flexible sub domain Route::group(array('domain' => '{account}.ex...

0 Likes
1 Replies
Solved
posted 11 years ago

Advice wanted regarding two routing issues

Hello, For the development of an application there are several requirements regarding routing, which...

0 Likes
2 Replies
Solved

Using a relationship query on one table that has two columns to match?

I have two tables. One is People. The second is Files. Files contains all uploaded files through an...

0 Likes
3 Replies
Solved

What's the correct way to get the ID from the URI?

On the page that lists the user's cars, each list item has the following link: {{URL::to("cars/...

0 Likes
7 Replies
Solved
posted 11 years ago

The variable loses its value inside the SQL query in Eloquent (a matter of scope)

Hello and good day to everyone The issue is tricky (for me). I passed the parameter value from the c...

0 Likes
15 Replies
Solved
posted 11 years ago

Checking if object is related in many-to-many

I have a Post model with the following function: public function tags() { return $this->belongs...

0 Likes
1 Replies
Solved

Installing laravel on server without SSH

Hello, I'm an absolute beginner so it's possible I'm making a crucial mistake here or something. Til...

0 Likes
3 Replies
Solved
posted 11 years ago

Changing model form to include file.

When I do a var_dump of the input, the file is not there. I have modified a model bound form created...

0 Likes
2 Replies
Solved
posted 11 years ago

Validator->failed() returns empty array

Hey guys, I'm pretty new to laravel and I would like to use the Validator which comes with laravel....

0 Likes
1 Replies
Solved

Laravel Quickstart: Class 'User' not found

Dear Laravel Users, I just got to know a few days ago about Laravel (=> I'm a "stupid starte...

0 Likes
5 Replies
Solved

Model attribute accessor not working with object_get helper function

The model: class Item extends Eloquent { public function getCentsAttribute() { return substr(...

0 Likes
3 Replies
Solved
posted 11 years ago

how to make jquery button controlgroup with laravel form macro?

I am making a jquery mobile application with laravel. I know how to make one radiobutton with Form::...

0 Likes
2 Replies
Solved

How to reference this object's "belongsTo" user?

In my Car class I have public function user() { return $this->belongsTo('User'); } public fu...

0 Likes
9 Replies
Solved
posted 11 years ago

How to perform a tag search ?

Hi, Given this simple database setup: posts - id tags - id post_tag - id - post_id - tag_id ......

0 Likes
4 Replies
Solved

Handle a cart for an e-commerce website

Hi, I am trying to create a cart for my e commerce website. For a single user, it's simple, session...

0 Likes
13 Replies
Solved

HipHop (and / or NGINX) and Saving new Records

Hi there, This was a different thread, but incorrectly titled. Anyway, here's the problem: On our d...

0 Likes
3 Replies
Solved
posted 11 years ago

Cannot call a function from model

Hi, I am new to laravel and this is pretty basic problem (I think) but for some reason I can't get m...

0 Likes
3 Replies
Solved
posted 11 years ago

Hash::make() with same input returns different values in different places, with one working with Auth::attempt(), one not

Long title but it kinda sums up the issue. I have an action in a controller that creates a new user...

0 Likes
6 Replies
Solved
posted 11 years ago

Custom methods

Hi, is there any way to add custom methods to eloquent models? e.g.: class User extends Eloquent {...

0 Likes
5 Replies
Solved

Blade templating - Iteration over object / Array

I have a model Object I have passed to the view one of the attributes is a array containing other as...

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