Support the ongoing development of Laravel.io →

4,591 Threads

Model data formatting, models and relations.

Hey Guys, So i'm just learning Laravel as a side project and have come across an interesting sort of...

0 Likes
0 Replies

Selective join, trouble with duplicate results

What I'm trying to do is: Output results with a filter from a pivot table where 'posts' can have up...

0 Likes
2 Replies
Solved

Open source DB driven ACL

I like to see a database driven Acl method for laravel just like cakephp, Cakephp has a method with...

0 Likes
0 Replies

How to store data in different tables in db?

Hi..Recently I installed DOPTOR CMS.Really it is working good.I have one doubt,while creating the mo...

0 Likes
1 Replies

Problem saving information in the database.

Hi, I'm new in Laravel. I'm having a problem saving data in the database. I get an array and I'm try...

0 Likes
1 Replies

PDOException SQLSTATE[HY000] [2002] No such file or directory

Hi, I have small problem with Laravel framework on shared hosting with phpmyadmin and only ftp acces...

0 Likes
1 Replies
Solved

Custom timestamp column

Hi guys, I'm trying to save a custom timestamp "expires_at" in DB, but not working here is...

0 Likes
4 Replies
Solved

Confusion about programatically chaining where and take statements

Hi, I'm working on an API and one of the endpoints has all optional parameters. What I'm trying to d...

0 Likes
7 Replies
Solved

Get an item through pivot table by a "has" relationship...

Hello all, I have some model called location, which describe a location, (say the eiffel tower). Thi...

0 Likes
2 Replies

Most efficient count on relationships

I'm currently using Eloquent for my database queries, but when an user logs off I want to get a tota...

0 Likes
2 Replies

Best way to link a model to two other models

Hi guys, I'm trying to find the best way to implement the following. I have a Client of a given Sect...

0 Likes
2 Replies

Add milliseconds to eloquents created_at/updated_at

Hi guys! I would really love to be able to to include milliseconds to the time fields in my models....

0 Likes
1 Replies

Eloquent LEFT JOIN WHERE NULL producing strange results

I'm trying to use Eloquent to perform the following query during a database seed: SELECT * FROM...

0 Likes
1 Replies
Solved

N+1 single view Data Retriving

Dear All, I have a problem like that. // First, I created one to many relation for Post and PostCate...

0 Likes
2 Replies
Solved
posted 10 years ago

BindingResolutionException using Schema\Blueprint and Builder

Hello eveyone, I am trying to create an application that creates custom tables and columns in my dat...

0 Likes
0 Replies

Mutator not ran during mass assignment

I am attempting to convert a mm-dd-yyyy date from jquery-ui datepicker to a sql timestamp. My mutato...

0 Likes
0 Replies

How to set default number format for inputs?

I want to use comma as decimal separator on inputs, save it on database and get it later with comma...

0 Likes
2 Replies

Error Exception Undefined index

Hello Guys, i have a problem to saving the data from my form input array fields to database. i have...

0 Likes
1 Replies
posted 10 years ago

Pagination DB:select

I am working on a project that need to paginate postgresql queries. The problem is that I can't put...

0 Likes
0 Replies
posted 10 years ago

New to Laravel - need help with combining multiple SQL queries and passing to view

Hi I'm trying to get my head around Laravel so am trying out a pet project idea and have hit a roadb...

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