Support the ongoing development of Laravel.io →

4,605 Threads

Counting row for hasmany relationship

so i doing eloquent with hasmany relationship like this $jejarings = WilayahCuprimer::with('Cuprime...

0 Likes
0 Replies
posted 10 years ago

laravel EAV

how to create eav? is nowhere an example of the code. It is unclear how exactly do https://cartalyst...

0 Likes
0 Replies

Four tables relations

Hello! I have four tables: users: id, username roles: id, name domains id, title domainsAssignedRole...

0 Likes
2 Replies

One to One relationship using conditions Eloquent/Mongodb

I'm using Laravel-Mongodb with a parent Subjects table (MySql) having a one to one relationship with...

0 Likes
0 Replies

Guidance Required.

Good afternoon, I am relative new to the Laravel frame work and I have been working my way through t...

0 Likes
0 Replies

Laravel Routes/Controllers and AJAX

I would like to know if there's a better way to go round this: So I have a form, which I post using...

0 Likes
1 Replies
posted 10 years ago

Laravel error - Invalid catalog name: No database selected

I am creating an app in Laravel 4.2.11 with almost no packages (using debugbar, generators). Sometim...

0 Likes
3 Replies

Union two date of two different tables

Hello guys. I have a table "post" and the table "post_user." In the table "...

0 Likes
0 Replies

Database Table custom naming convention Laravel Eloquent

I'm trying to retrieve data from a table called completion_date using Eloquent. My Model name is Com...

0 Likes
1 Replies
Solved

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

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.