Support the ongoing development of Laravel.io →

4,606 Threads

Making a CMS, what to do with image upload

Hi everybody. I need your advice about something. I am currently making a CMS in Laravel 5.2. I've c...

0 Likes
1 Replies

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

Hi i'm new in laravel. I know that this is fairly popular problem. I've beenn searching for the solu...

0 Likes
0 Replies
posted 9 years ago

DB:raw query

how do i add a where clause on these query given by google...i want to put on the where clause.. whe...

0 Likes
1 Replies
posted 10 years ago

Combine sql select queries from different tables

I'm trying to create a search function that will search through multiple tables. My problem: I can't...

0 Likes
12 Replies
Solved
posted 9 years ago

ID changed after inner query

Hi, Table 1 public function up() { Schema::create('materials', function (Blueprint $tabl...

0 Likes
1 Replies
Solved
posted 9 years ago

php artisan problem

[PDOException] could not find driver

0 Likes
1 Replies

how to upload image with blob data type in database and display from database to view? i try to somthing like this>>

// controller public function saveImage(){ $image = new Image(); $img = Input::file('image'); $i...

0 Likes
2 Replies
posted 9 years ago

[PDOException] SQLSTATE[HY000] [1045] Access denied for user 'postgres'@'localhost' (using password: YES)

I download LaravelDaily/quickadmin I followed all the step . I have that error when I type the comma...

0 Likes
0 Replies

Entrust allow multiple roles for different objects

I have Entrust set up on an app and it is working well. I have 7 system-wide roles and several permi...

0 Likes
0 Replies

Model get's wrong ID after saving

I've got a Laravel application (5.1.28) which I have running on a development server and production...

0 Likes
6 Replies

deleting a record via a delete link in a table

Hello everybody. I would like to create an administration page for my users on my website. For this...

0 Likes
3 Replies

Eloquent Pivot Model Instance with newPivot

My database structure looks like this: users id email ... projects id name ... project_user id...

0 Likes
2 Replies

Catching unique constraints on mass/chunked insert?

I have a controller where I am taking an uploaded CSV (which can go up to 5-6MB in size), and I have...

0 Likes
0 Replies

Store daily website stats

What's the best way to store daily website statistics? Like how many stored and deleted resources. I...

0 Likes
0 Replies

retrieve not directly related attributes using eloquent

I've currently no idea how to get this done in a smart way. I would like to prevent writing tons of...

0 Likes
1 Replies

remember token always null using guard in laravel 5.2

["remember_token"]=> NULL i have two guards in my auth the first one is "comp...

0 Likes
0 Replies

Help me to convert this query as per laravel query syntax

Query I want to convert is : SELECT brands.url_key,devices.* FROM brands INNER JOIN devices ON devic...

0 Likes
1 Replies

Lumen return timestamps in response instead of date time.

Hi I've been searching around a little bit but cannot seem to find it. I have a a column in my datab...

0 Likes
1 Replies
Solved

Establishing Laravel hasMany relationship using non-primary keys

I know this question was asked before and I have tried solutions from those posts but I still cannot...

0 Likes
0 Replies

How to return information from a third table?

Hi, I am having difficultly understanding how to return information from a distant third table. I ha...

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

© 2025 Laravel.io - All rights reserved.