Support the ongoing development of Laravel.io →

3,314 Threads

"Different" validation approach

Hello Artisans! I'm working on a project that is quite complex and I'm trying to find the best solut...

0 Likes
3 Replies
posted 10 years ago

How to add user id as a default value when inserting new records

I am building app for enterprise their are three tables: users table (belong to company) companies...

0 Likes
5 Replies

Querying a Many-to-Many Relationship

I might be overlooking this in the docs (Laravel 4.0) but I need to know how to query a many-to-many...

0 Likes
3 Replies

multiple queries in a scope function

HI I have recently posted this questions on stack overflow. I was hoping someone here would know the...

0 Likes
0 Replies
posted 10 years ago

Extending Eloquent Builder parseRelations

Has anyone thought of extending this method? For example I have a couple of models with the followin...

0 Likes
0 Replies

Package that tracks page views in a time range: last day, week, month, all time

"Popularity" is a Laravel 4 package for tracking popular Eloquent elements of a website in...

0 Likes
4 Replies

Looking for a Freelance Laravel Developer from the Netherlands

Hi, For a client we've building a Laravel 3.x application for his business. We decided to focus our...

0 Likes
1 Replies
posted 10 years ago

Using Setter/Getter IoC in Models

I have a setter/getter container that works in my controllers. How can I use the getters in my model...

0 Likes
0 Replies

Fields to organize entries in my DB (order_by Myfield)

Hello, I started on Laravel after a lot of sites on Codeigniter. So I try in my first dev to respect...

0 Likes
1 Replies
posted 10 years ago

Problem with relationships between three tables

Hi I'm building a small site for me and my friends where we will report our golf scores so we can se...

0 Likes
3 Replies

Need help modelling relationships

So I'm creating a very simple project/task management application in Laravel 4 and I'm not sure how...

0 Likes
3 Replies

Survey Design

I am looking to create a dynamic form survey using a database with questions, answers, and associati...

0 Likes
0 Replies
posted 10 years ago

Eloquent hasOne Relationship, MSSQL good, but returning null

Using a MSSQL DB, I have a relationship set up between Vm hasOne to Vmconfig Vm <?php class Vm...

0 Likes
1 Replies

Call to undefined method error while getting the data

these are my relations.. User model public function posts() { return $this->hasMany('Post'...

0 Likes
1 Replies

Post request with Media temple

Hello, I'm new to the world of Laravel my first app is running ok locally through mamp when i'm tryi...

0 Likes
2 Replies

datetime or timestamp for created_at and updated_at ?

Hello. When updating data in my MySQL-Database, the updated_at column does not update its time. I am...

0 Likes
1 Replies

How to save XML response output to file for uploading with SSH::into()?

In my controller I have the following with $registration_data coming from the database and the xml.i...

0 Likes
1 Replies

Eloquent ORM relationship array trouble

Hello, I'm stuck with this problem. I have these databases: -users with id, first_name et cetera......

0 Likes
0 Replies

problem in accessing value from parentmost table.

I've four tables.User,Post,Reply and Confirm tables. And the relation is User has many posts posts...

0 Likes
2 Replies
posted 10 years ago

Selecting database created values via whereRaw?

Hi there. I'm trying to do a PostGIS search using Eloquent, which works fine for simply selecting al...

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