Support the ongoing development of Laravel.io →

4,608 Threads

Laravel 4.2 Homestead PDOException "could not find driver" using "sqlsrv" for MS SQL server.

I'm using two database connections. One is our data warehouse, one is the mysql database powering th...

0 Likes
1 Replies
posted 8 years ago

Import CSV file into mysql through seeder in Laravel 5.2

I have a csv file which contains all data of my blog, i want to import this file into mysql through...

0 Likes
1 Replies

Laravel, mysql, sessions - return same row mutiple times

how do i return same row mutiple times? I tried using wherein('table' , \Session::get('memory')) asw...

0 Likes
0 Replies

Jason to Model

As i understand laravel supports the model route binding. I do understand how it works and i find th...

0 Likes
2 Replies

transactions not rolling back properly in tests

I found an interesting behavior while doing some integration tests using model factories. I set up t...

0 Likes
1 Replies

How can i get records using laravel eloquent relation with where clause???

My database structure like this: category: id, name Parents: category_id parent_id id has parent cat...

0 Likes
3 Replies

Laravel 5 not updating customer/worker to database

Been working on my latest project for school and i've ran into a bit of a problem, i have 3 logins t...

0 Likes
1 Replies

REST GET request results into a different database connection

Hello, I have two applications on my local server: [A] http://site.local and [B] http://api.local. T...

0 Likes
3 Replies
Solved

Eloquent/Database Query Builder events

Hello I've recently had the need of firing events when update() or delete() methods on QueryBuilder...

0 Likes
2 Replies

Laravel Relationships

I am trying to understand why something works. I have a user model and within it I state that a User...

0 Likes
3 Replies

ksort() expects parameter to be array, integer given

I am currently trying to insert the value of fields to a table. However, this error keeps coming up:...

0 Likes
3 Replies

env file vs config/database.php

New to Laravel. Not sure I understand the difference between these two configuration methods. I'm...

0 Likes
2 Replies

fetch values from a default values table if not found in local values table.

I have a case where I need to maintain some values of a user locally while there are default values...

0 Likes
3 Replies

move db row up/down in table

I have a table in my view with 2 options to move that row up or down the table. I have made a sort_i...

0 Likes
3 Replies

A "Fatal Error Exception" with my new model "Userconfirmation.php"

Written with StackEdit. I was happy with laravel 4.2 until i upgraded to 5.2, By the way i wanted...

0 Likes
1 Replies
Solved

SQLSTATE[42S22]: Column not found: 1054 Unknown column

I have 2 models class BrandModel extends Model { protected $table = 'brand'; public functi...

0 Likes
2 Replies
Solved

Creating a Master Admin account that is not part of the normal users' database.

Hi! I'm creating an app where I'm using a User model that represents Hotels. The columns for these h...

0 Likes
1 Replies

searching in child table.

Hi, I am using Zizaco/entrust for managing roles/permissions of users. I have users with admin,super...

0 Likes
2 Replies

Delete many posts with checkboxes

Hi, I'm using the Route::resource for my posts. How do I pass an array of values with checkboxes, fr...

0 Likes
1 Replies

Using string as type for id column

Hi, first of all please forgive me my bad english. I am pretty new to laravel so i can't figure this...

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