Support the ongoing development of Laravel.io →

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

whereNotIn Query replacing my array variables

Hello All, So I have some weirdness happening. I'm trying to do a search on a track database that I...

0 Likes
2 Replies

Delete quotes in query to execute

I need to execute a query with group by. But the group by is not for a field. I need to group by wit...

0 Likes
0 Replies
posted 11 years ago

4 table join together

I have 4 tables TableA hasMany TableC TableB hasMany TableC TableC hasMany TableD I want to connect...

0 Likes
2 Replies

csrf validation failing during unit testing (Laravel 4.1)

I recently upgraded from 4.0 to 4.1 following the upgrade instructions, and now when unit testing my...

0 Likes
1 Replies
posted 11 years ago

not work blade and google maps

Hi friends can not get it to work with google maps blade can you help me?

0 Likes
8 Replies

Composite primary key

Hi ! I read that L3 didn't support composite primary key, is it the same for L4.1 ? In my case it's...

0 Likes
2 Replies
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
posted 11 years ago

Avoid using packages?

In setting up some features and looking at available packages, it seemed to occur to me to avoid usi...

0 Likes
6 Replies

Laravel projevt from local machine to production server

Hi all, I created my Laravel project on my local machine using MAMP and Composer. Now I'm ready to m...

0 Likes
0 Replies

How to Add additional data in Auth

Hello, In laravel Auth, how can I add additional data in Auth. When I'm login then laravel store all...

0 Likes
1 Replies
posted 11 years ago

Tracking database edits made by users? Do we have a package?

In Wordpress, I am able to revert to previous versions of pages/posts, and I was wondering if we hav...

0 Likes
3 Replies

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
posted 11 years ago

CSS reference to files

Hey guys. Just wondering if there was a smarter way of using the url() reference in .css files withi...

0 Likes
4 Replies

Getting a data from model & use in controller

In relationship from the questions I have ask previously, Question 1: Inserting selected fields from...

0 Likes
9 Replies

Children Models

I would like to have the following models: Employee, Agent, Client. Since half of all the fields and...

0 Likes
3 Replies

Master-Detail

good morning, someone who can help me, I need to create a route between father son model to model, l...

0 Likes
2 Replies

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

error autoload in line 17, when I clone a repository

Hello and thanks in advance, sorry for my bad English... when i execute gitclone a repository and tr...

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

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.