Support the ongoing development of Laravel.io →

4,599 Threads

hasManyThroughrelationship return wrong SQL sentence

I would like to get some data for tables that dont have a directly relation. The context is the foll...

0 Likes
5 Replies

[Package] A2Way Laravel Tenant Migrate

I created a package called "A2Way Laravel Tenant Migrate" that allows to migrate different...

0 Likes
0 Replies

[SOLVED] migrate multi tenant app

I have a client table with id, version, subdomain columns. Each client has a subdomian client1.examp...

0 Likes
1 Replies

Eloquent deleting model event doesn't fire

I have 2 models defined: Program model: class Program extends \Eloquent { protected $guarded =...

0 Likes
8 Replies
Solved

Create helper to display active or inactive for boolean value

Hi, Rather than use an if statement in my view, is there a way I can display the text using a helper...

0 Likes
0 Replies

Best setup for project

Hi, I'm starting a new project with Laravel, actually it's more like a system, that (with some luck)...

0 Likes
0 Replies

Eloquent join 2 or more table with group by

So, i tried to join 2 table (or more, but in this question i will try join only 2) and want to group...

0 Likes
0 Replies
posted 10 years ago

[Schema] How do I default null on a column?

I've tried... $table->time('shift_end')->nullable(); $table->time('shift_end')->nullabl...

0 Likes
1 Replies

[Package] Eloquent/Database Queue Driver

Laravel 4 component that includes a Queue Driver called cron that simply stores queue jobs in the da...

0 Likes
2 Replies

Postgres PDO or toArray returns integer table fields as string

Dear All I use laravel 4.2 with PostreSQL. When I select row and fetch with toArray and make JSON ou...

0 Likes
1 Replies

How could I use pcntl in laravel

I user pcntl want to start multi process, but when i pass Model to sub-process, It show the error:...

0 Likes
1 Replies
Solved

Cascading/Dependent dropdown list

Hi All, I'm a relative newb to Laravel with not much understanding of javascript. I'm trying to get...

0 Likes
5 Replies

Eloquent set model integer value to 0, gives massive problems

Hey there, When i insert a row to the database ( scheme below ) //scheme Schema::create('result', fu...

0 Likes
1 Replies

Insert Array is not updating timestamps

I'm trying to insert an array of data into db using the below function. User::insert($array) It ins...

0 Likes
2 Replies

Remove polymorphic relationships

Hi, I've 3 models in my app, Document belongs to User or Group: class Document extends Eloquent {...

0 Likes
3 Replies
posted 10 years ago

seeding large table

Hello all, I have large help table: for exmaple: cities table, which contain more than 100,000 recor...

0 Likes
4 Replies

Creating a good file uploader that only accepts specific files and add the path as a string.

Hello everyone reading this. Ive been into laravel for 3 months right now. Im right now a little stu...

0 Likes
1 Replies

Laravel sorting + pagination help

Use Case: Select from users table with certain parameters (group_id, maybe a search term, etc.)...

0 Likes
0 Replies
posted 10 years ago

How Can I delete a migration ?

How Can I delete a migration ? delete the file in migration directory? It doesnt work What should...

0 Likes
2 Replies

Issues with data types on Windows and Mac

I am working in a team with 3 members on a project in Laravel. I'm running Windows on my laptop with...

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.