Support the ongoing development of Laravel.io →

4,599 Threads

Link users table to stations table via user_stations

I'm totally confused how to do this with eloquent relationships. I think logically I understand how...

0 Likes
0 Replies

Eloquent Count subscribe by day

Hello, I search to count subscriber by day with Eloquent. Have you got the solution with a code? Fri...

0 Likes
0 Replies

to make tracing log of all sql statements

Hi, If there is a way in laravel 5.4 to make tracing log of all sql statements? I mean Barryvdh\D...

0 Likes
0 Replies

eloquent relations

I have two tables one is templates and the other is template_images Showing migration of the two tab...

0 Likes
1 Replies
Solved

MySQL Empty User Won't Connect to DB

Hello! I am new to Laravel and I spent the last 6 hours trying to get my application to connect to M...

0 Likes
4 Replies
Solved

Laravel mongodb JSON data

DB::connection('mongodb') ->collection('XXXXXXXX') ->get(); [{"_id":{"$oid"...

0 Likes
0 Replies

Advice for images storing

Hello I am building a website (front-end and back-end) where I have a section that have an image and...

0 Likes
0 Replies

Update unique field Laravel 5.4????

I can not update unique field public function rules() { return [ 'nickname'...

0 Likes
0 Replies

Sorting with Jquery UI

I'm trying to sort with Jquery UI in Laravel and it's giving me fits. Here is my controller: public...

0 Likes
0 Replies
posted 7 years ago

Carbon date error

Hello, I'm doing a project for my school and I'm stuck in this problem ... I have the schedule done...

0 Likes
0 Replies

updateOrCreate problem

Hi, I've just discover this fantastic function. But I have a little problem. I need to update a fiel...

0 Likes
0 Replies

Tutorial Laravel 5.x create a simple web app

I'm newbie. I want to create a simple web app (ex: a forum only have home page and post pages, in ea...

0 Likes
1 Replies
Solved

How should I name an Eloquent polymorphic table?

I am using Laravel eloquent to design my database. Eloquent has a naming convention for naming a man...

0 Likes
1 Replies
Solved

Laravel selectRaw returns NULL

Here is my simple query Pin::where('updated_at', '>=', '2015-01-01') ->selectRaw(&...

0 Likes
1 Replies

Query Builder

Can somebody help me, This My query for My Table $results = DB::table('offer') ->select(DB::r...

0 Likes
0 Replies

Set table on model for get last record

I need to set dynamically the table name (extract from other database) and get the last record. This...

0 Likes
1 Replies

Why is the DB prefix not in the .env file by default?

One of the first things I do for every Laravel project is to add this: config/database.php 'prefix'...

0 Likes
0 Replies

Urgent: Daily Error in production Environment [PDOException in Connector.php line 55: SQLSTATE[HY000] [2002] No such file or directory]

Hello Everyone, Every morning I try to open my client system I get the below error. To solve it, I k...

0 Likes
1 Replies

Custom Validation on Multiple FileUpload

I'm having problem return false on this multiple file input. It is working for textboxes. Anyone can...

0 Likes
0 Replies

Trailing data error in Carbon data from postgresql

Hi, outputing data from created_at field lavarel 5.4/postgresql 9.4 I got error: InvalidArgumentExce...

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