Support the ongoing development of Laravel.io →
posted 10 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 10 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 10 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 10 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 10 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 10 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 10 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 10 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
posted 10 years ago

Help! Problem with creating new records

Hi there, I have a site which needs to go live today, and there is a problem with Eloquent, and the...

0 Likes
9 Replies
Solved
posted 10 years ago

using the '!='sign inside a where() method

I have a table with a row 'comments'. This is 'opmerkingen' in dutch. Every row can contain 1 commen...

0 Likes
2 Replies
Solved

Laravel problem with views.

I have a web application in laravel in "mysite/admin". On login loads view "views/das...

0 Likes
2 Replies
Solved

Dynamic 'where()' for a filter

I've looked around for a tutorial or a best practice for implementing a filter for results. I would...

0 Likes
5 Replies
Solved

Twig and laravel - global variables?

Hi I am using this https://github.com/rcrowe/TwigBridge so I could work with twig in laravel 4. My q...

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

© 2024 Laravel.io - All rights reserved.