Support the ongoing development of Laravel.io →

4,597 Threads

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 10 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 10 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 10 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

Complete Users table to adapt to the last changes in the User Model from Laravel

Seeing the latest changes of the User Model and User Authentication in the latest versions of Larave...

0 Likes
1 Replies
Solved

Creating a Relationship with a User, Ribbon and adding additional information

Hi All, I am trying to create a relationship between a used by many Ribbon and a User however I want...

0 Likes
3 Replies

Laravel inserting into a three-way pivot table

##Summary## I am building a music discovery service. My question is: How do I insert data into the t...

0 Likes
1 Replies

Form error on submit (update)

I am a Laravel newbie and trying to figure out basic updating. It loads the form data but every tim...

0 Likes
3 Replies
Solved

Newb looking for quick quick database to model generation

I am pretty new to Laravel, and I am just looking for the best way to get started and learn things w...

0 Likes
0 Replies

How could I access to one related User Profile model with Auth::User() method

Dear friends, I'm using one PROFILE model related with the USER Model. When I authenticated one user...

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

© 2024 Laravel.io - All rights reserved.