Support the ongoing development of Laravel.io →

4,591 Threads

posted 7 years ago

How to display values of returned Collection?

Hello. I am trying to use the query builder as told in Laravel docs. when I pass the data to the vie...

0 Likes
11 Replies

How to pass variable from one controller to another controller in laravel

I have one Controller eg. VendorContoller in index.blade.php i have display all details in table wit...

0 Likes
1 Replies

How to automaticaly create a slug when saving a user?

I want to set a slug for a user that I am saving. Should I use events? I tried this way whitout succ...

0 Likes
2 Replies

group by created_at

Hi, how to select all records from table group by created_at? When I get all rows from table it retu...

0 Likes
0 Replies

multiple persons for one user / email address

hi, i've developed an android app with laravel api backend. currently i use default api guard and Au...

0 Likes
0 Replies
posted 7 years ago

Error Connecting to 3.22, 3.23 & 4.0 servers is not supported

Hi guys, i'm strugling with this error "SQLSTATE[HY000] [2054] Connecting to 3.22, 3.23 & 4...

0 Likes
0 Replies

Wanna Add some text before text insert to database

<div class="form-group"> {!! Form::label('eMail', 'e-Mail', ['class'=>'co...

0 Likes
4 Replies
Solved

Issues with belongsToMany() only returning data for one column on pivot table.

So I'm kind of following the Laracasts Many To Many tutorial in Laravel5 Fundamentals and have the M...

0 Likes
2 Replies
Solved
posted 7 years ago

unable to access message and action of notifications

I followed the documentation to try the notification system of Laravel 5.3, but I just cannot displa...

0 Likes
0 Replies

Eloquence/Searchable working with translatable

Hi, i'try to use this package with laravel-translatable, there is any possibility to search in trans...

0 Likes
0 Replies

how would I convert this into Query Builder?

insert into `combined_results_by_typecode` (product_id, typecode, group_id, group_name, passed_count...

0 Likes
2 Replies

Laravel5 - validation: ignore a given id for multiple uniqueness condition

I have created a validation form using Validator::make on laravel 5: Validator::make($request->al...

0 Likes
2 Replies

Laravel eloquent inverse one to many returns empty

I have following MySQL table structure: posts table: posts: {id(PK), title, content, slug, date, wri...

0 Likes
1 Replies

Add Columns with Methods Undefined

What I am trying to do is set a column to be a foreign key. Following the documentation, it's prett...

0 Likes
3 Replies
Solved

User->Purchase->Details help

Hello, I need help with the following structure in laravel: - User id - Purchase id user_id - Deta...

0 Likes
0 Replies

Using nestedset in model to get tree

Hi, We're using the lazychaser/laravel-nestedset (on gidhub) / Kalnoy\Nestedset (composer/packagist)...

0 Likes
0 Replies

Eager Loading error on my Entities when i migrated from 5.1 to 5.3

User.php <?php namespace ESP; use Illuminate\Auth\Authenticatable; use Illuminate\Database\Eloq...

0 Likes
0 Replies

Select only unique columns

Group by is problematic since I switched to PHP 7 and having aggregate values doesn't apply to the w...

0 Likes
8 Replies

How to use sjousse/laravel-unique-reference

I'm new to laravel. I'm using sjousse/laravel-unique-reference I don't know how to configure/ genera...

0 Likes
0 Replies
posted 10 years ago

Foreign key cross database

Is it possible to make a miration with a (pseudo) foreign key in laravel that links to a table colum...

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