Support the ongoing development of Laravel.io →

4,603 Threads

posted 12 years ago

Entity Attribute Value Database schema with Laravel?

I'm working on a project with many user categories. Each user category has different attributes. It...

0 Likes
1 Replies

Simplifying Many to Many relationship with partial constraints

Hello folks, I am currently working on a problem that makes me want to smack my head on my table. I...

0 Likes
1 Replies

One Mysql Database - Two Laravel Projects with some same tables in it

I plan to make 2 different laravel projects ( At Dedicated Server where each project has a differe...

0 Likes
5 Replies

About the doptor cms

Hi friends I am karthi also new one to doptor cms I download onetime and installed then i worked tha...

0 Likes
2 Replies

Eloquent ORM - database records inserted twice

I am new to PHP and Laravel. I have a table games and a model Game. In routes.php, I am doing the fo...

0 Likes
8 Replies

Event in boot() of model not called

Hi, i have the following code in an eloquent model: public static function boot() { pare...

0 Likes
4 Replies

Pivot table with another table prefix

Hi everybody, I like to create a many-to-many relationship between an existing (non-prefixed) and a...

0 Likes
3 Replies
Solved

Updating records (one-to-one relationship) help needed!

What I need to achieve: One Veiculo "MAY" have one Colaborador, and a Colaborador "MA...

0 Likes
5 Replies

Is it possible to manipulate form data before passing in to database?

Hello awesome Laravel community!!! This is my events table in DB $table->increments('id');...

0 Likes
4 Replies

Ramblings : The Repository

The "Repository" was the elusive unicorn that I struggled to grapple for a decent amount o...

0 Likes
2 Replies
posted 12 years ago

Multiple select in Query builder

I do a lot searching on database I would be grateful for your corrections. And how do a search with...

0 Likes
1 Replies

Creating complex nested query in Eloquent

I am migrating a legacy PHP app to Laravel and am having difficulty trying to re-write a 'store loca...

0 Likes
1 Replies

Getting data from my pivot table

Hi all, I've just started using Laravel and I am really enjoying it. I am a little confused about ho...

0 Likes
0 Replies

Using relations -> many to many

Hi all, I have 3 tables: companies, schedules and companies_schedules. I want in the companies_sched...

0 Likes
4 Replies

How to put data in a page layout, without using @section

Is there a way to access data from a query in a page layout? For example, I would like to get the to...

0 Likes
2 Replies
posted 12 years ago

How to add new column in table before existing column?

Hi! When you add a new column to a table using the generator, eg: ' php artisan generate:migration a...

0 Likes
2 Replies
Solved

Laravel voting system: update counter

Greetings to the increasingly large community Laravel. Today I had a problem. I was making a voting...

0 Likes
2 Replies
Solved
posted 12 years ago

Numbers of migration files in one folder

Hi! Lets say I have a user-table and create migrations files, eg '2014_05_09_223908_create_users_tab...

0 Likes
3 Replies
Solved

MysqlBuilder::DropColumn() not found on migration rollback

Well basically that, when trying to rollback my last migration artisan throws the following error: P...

0 Likes
2 Replies

Using a relationship SUM in a where statement.

Hi there, Struggling to get my head around this one, I am trying to get the SUM if a relationships c...

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.

© 2026 Laravel.io - All rights reserved.