Support the ongoing development of Laravel.io →

4,598 Threads

How to make URLs SEO-friendly with Nested Set Model?

Hello Everyone! I'm using Baum package for Nested Set Model and I have added extra field to database...

0 Likes
7 Replies
Solved

How can I get the id from hasMany relationship?

Don't know if I'm doing this right. I have two models: Projects and Clients. Projects table has the...

0 Likes
3 Replies
posted 10 years ago

I can't connect to sql server 2008

I use, xampp extension=php_sqlsrv_55_ts.dll extension= php_pdo_sqlsrv_55_ts.dll $user = 'myuser'; $p...

0 Likes
5 Replies
Solved

"Depth to great" when querying relations

I get the message "depth too great" when querying a couple of relations. These are my mode...

0 Likes
2 Replies
Solved
posted 10 years ago

Laravel mySql joins

Hi im new to Laravel and im just trying to work out the query builder. If i wanted to do this query...

0 Likes
1 Replies

Null value for deleted_at to be '0' and not 'null'

As I have asked a few times before, I'm developing a website/CMS to a game server for which I can no...

0 Likes
6 Replies
Solved

Is there a way to order by data in a pivot table

Hi, I have a pivot table that links users to products. The table has timestamps that are updated wh...

0 Likes
1 Replies

best practices or common conventions around schema documentation?

Hi Laravel Community, As one of your newest members I'm curious if there's common conventions here a...

0 Likes
1 Replies

Why does model->delete not check the return from the database?

I was looking at the code in the delete method of the Model object in Model.php. The code eventually...

0 Likes
0 Replies

running multiple queries

hi, is there any method to do a multiple queries. From what I want is around like this in mysql quer...

0 Likes
2 Replies

Query inside switch returns null

I have a controller with a method for when the user wants to soft-delete his record (Character model...

0 Likes
2 Replies

how to reset model deleteat_at to ''0000-00-00 00:00:00" ?

I notice that laravel use 0000-00-00 00:00:00 for deleted_at time ,So i change data deleted_at like...

0 Likes
5 Replies
Solved
posted 10 years ago

Schema snapshots via artisan?

I was wondering if Artisan had a command that allowed you to create a migration snapshot of the curr...

0 Likes
0 Replies

Can't access Eloquent models from artisan command.

So I'm trying to do a very simple eloquent query, however both a select and an insert query fail. Th...

0 Likes
5 Replies

How to make an 'orderBy' case-insensitive ?

Hi all, My question here is pretty simple but I didn't find the answer on the Web. I would like to s...

0 Likes
1 Replies

Dabase record regenerated does not contain the values of the model variable

Hi everyone, I'm new to Laravel and trying to catch up with a project as much as possible. I created...

0 Likes
1 Replies

Storing Dynamic Data with a Relational Database

Hello y'all! I was wondering how can I store data from a dynamic form, which might have 10 variables...

0 Likes
1 Replies

dont show error if relation not exist , just show empty field.

Hi i have controller and i am taking data like this $events= Eventm::with('teacher')->get(); th...

0 Likes
1 Replies
Solved

Laravel With CouchDB

Hi guys, I'm developing an application that requires the use of a noSQL base,(CouchDB prefered). I k...

0 Likes
0 Replies
posted 10 years ago

I am unable to connect to mysql database using laravel 4

PDOException could not find driver this is configaration in app/config/database.php 'default' =>...

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