Support the ongoing development of Laravel.io →

4,606 Threads

Easy db revisions with Sofa/Revisionable

I want to introduce nice and useful package for DB revisions. It works out of the box with Eloquent...

0 Likes
3 Replies
posted 11 years ago

slow mysql queries when connecting to a remote server, not localhost

When connecting to a remote MySql server (local network), each database query takes 20-30-40 or more...

0 Likes
1 Replies

Data Grid's

As im dealing with a huge amount of data, i need the best grid package for laravel 4.2.* or any help...

0 Likes
10 Replies

Images not updating

I have a page where I can update my gallery and everything updates except for my images. If I use ec...

0 Likes
14 Replies

Laravel Eloquent - nested relationship with constraint from two levels up

Consider the following simplified tables: https://gist.github.com/exnor/cff79953c6dace6c042c Many c...

0 Likes
0 Replies

problem with Requset::ip() in laravel 5

hi i want save the client ip in my db so i add 'ip' => Request::ip() in create function in app\Se...

0 Likes
5 Replies
Solved

hasMany and belongsTo question

I'm able to display all my Hostings, but I would like to also display the name of the company that b...

0 Likes
2 Replies
Solved

Reusing code across similar tables

I am trying to plan out my DB Schema and want to keep it DRY. I plan to have multiple tables for pos...

0 Likes
1 Replies

cartalyst sentry and chumper datatables

i'm using chumper datatables to showing data,I want to display data based on the user who is logged...

0 Likes
0 Replies
posted 10 years ago

Latavel postgresl timestamp update issue

Timestamp fields are not being set automatically for ORM classes. "SQLSTATE[23502]: Not null v...

0 Likes
0 Replies

Eager Problem with Constraint

I am having problem with Laravel Eager loading with constraint. public function showAllOrders(){...

0 Likes
0 Replies

Delete does not cascade

In migrations, I create a pivot table Schema::create('system_user', function(Blueprint $table) {...

0 Likes
1 Replies
Solved

Using two different database users for web applications and console migrations. Is it possible?

Hello everyone. First case: At the database level have I created two users - "app_web_worker&qu...

0 Likes
1 Replies
Solved

If in statements

Hi everyone, a "simple question" maybe it's not possible... I have this query repeated con...

0 Likes
7 Replies
Solved

[Laravel 5][Eloquent ORM] Pivot table from one table result

In all examples I see pivot with tables relationship. Is it possible: I have result from one table [...

0 Likes
0 Replies
posted 10 years ago

Syntax error or access violation Laravel 4

i use this query CREATE TEMPORARY TABLE temp1 ENGINE=MEMORY AS (SELECT a.account AS Account, a.name...

0 Likes
0 Replies

Laravel getting tag use count per user with eloquent or DB facade

Laravel 5. I have 3 related tables. **Posts** user_id ... ... **Users** id ... ... **Tags** id nam...

0 Likes
1 Replies

Forge: Separate database on same server

Hi, I have one server in Forge and I've created 2 sites (site1.host.mydomain.com and site2.host.mydo...

0 Likes
0 Replies

Multi Tenancy

So, I got sick of reinventing multi tenancy over and over again. I got so sick of it in fact, that I...

0 Likes
2 Replies
posted 10 years ago

Segmentation fault on $php artisan migrate

I have ran artisan migrate many times on my server, however today I am receiving a segmentation faul...

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.

© 2025 Laravel.io - All rights reserved.