How long have you been using laravel?

|
zey34354 2022-05-23 15:49:39
I am not sure
Waxikevin 2022-05-23 15:50:04
zey34354 2022-05-23 15:07:38

The model Roule
You pass it as rules
And the data is the named as rules

Waxikevin 2022-05-23 15:51:54
zey34354 2022-05-23 15:07:38

Do this
$data=User::with(‘roles’)->find($id);

Waxikevin 2022-05-23 15:54:02
zey34354 2022-05-23 15:48:43
and this index

When you want to display the role
@foreach($data->roles as $role)

@endforeach

Im_gurlal 2022-05-23 15:58:46
Hello everyone,
Can we create bearer token that never expire using JWT token in node js ?
zey34354 2022-05-23 15:59:53
Waxikevin 2022-05-23 15:54:02
When you want to display the role
@foreach($data->roles as $role)

@endforeach

its already like this just I wrote roule like this
what is the problem

zey34354 2022-05-23 16:05:13
Waxikevin 2022-05-23 15:51:54
Do this
$data=User::with(‘roles’)->find($id);

thank you so much the problem almost solved

zey34354 2022-05-23 16:05:44
what is the problem why did you send this
lilbreezyy 2022-05-23 16:21:07
Anyone know the where’s the best spot to learn crud operation for laravel?
anujrock1 2022-05-23 16:21:27
zey34354 2022-05-23 16:05:13
thank you so much the problem almost solved

You are not fetching roles relationship data

anujrock1 2022-05-23 16:22:21
lilbreezyy 2022-05-23 16:21:07
Anyone know the where’s the best spot to learn crud operation for laravel?

YouTube, blog’s

lilbreezyy 2022-05-23 16:22:51
Thanks bro
lilbreezyy 2022-05-23 16:23:05
Using laravel 9 it’s so close to 8 lol
anujrock1 2022-05-23 16:23:42
lilbreezyy 2022-05-23 16:23:05
Using laravel 9 it’s so close to 8 lol

Yes

lilbreezyy 2022-05-23 16:23:57
How long have you been using laravel?
Bright 2022-05-23 16:26:31
lilbreezyy 2022-05-23 16:21:07
Anyone know the where’s the best spot to learn crud operation for laravel?

I can teach you

lilbreezyy 2022-05-23 16:28:30
Bright 2022-05-23 16:26:31
I can teach you

That’ll be very helpful man

Denno_IT 2022-05-23 16:30:21
laravel_discuss-122034.jpg
Hello.. When you have this error on a live server.. What is the issue and how do we resolve it
Im_gurlal 2022-05-23 16:30:29
Anybody knows about JWT tokens ?
lilbreezyy 2022-05-23 16:31:57
Denno_IT 2022-05-23 16:30:21
Hello.. When you have this error on a live server.. What is the issue and how do we resolve it

Run npm ci and npm run dev

Denno_IT 2022-05-23 16:32:18
lilbreezyy 2022-05-23 16:31:57
Run npm ci and npm run dev

How do you do this inside the cpanel

lilbreezyy 2022-05-23 16:32:35
Do it in the terminal
WEBLYSS SOFTWARE 2022-05-23 16:36:40
Dear Valued Customer ,

Greetings from Weblyss!!!

We are providing Email Solutions for the Corportare/Business/Company Emails.

–Google Workspace ( GSUIT) ALL PLANS /Legacy/ Migration

— Microsoft Office 365 ( All plans)

— ZOHO EMAIL ( ALL PLANS)

If interested , Pls PM/ CALL : 00918763609732 / EMAIL: info@weblyss.com.

Thanks & Regards
Mohammed Gous
Weblyss Software Solutions Pvt Ltd
Bhubaneswar, Odisha,India

zey34354 2022-05-23 17:55:20
yes I did it
devpsoft 2022-05-23 17:55:28
Im_gurlal 2022-05-23 16:30:29
Anybody knows about JWT tokens ?

what do you need

zey34354 2022-05-23 17:55:48
but it still a problem in relationship
zey34354 2022-05-23 17:55:59
AppModelsUser::roles(): Return value must be of type IlluminateDatabaseEloquentRelationsBelongsTo, IlluminateDatabaseEloquentRelationsBelongsToMany returned
Aman 2022-05-23 18:02:24
Can you share code..?
Im_gurlal 2022-05-23 18:31:16
devpsoft 2022-05-23 17:55:28
what do you need

How can generate a token that never expire

lilbreezyy 2022-05-23 18:33:22
laravel_discuss-122048.jpg

lilbreezyy 2022-05-23 18:33:49
laravel_discuss-122049.jpg

Nickson Ulami 2022-05-23 18:35:27
laravel_discuss-122050.jpg
someone to help here am a beginner
faissaloux 2022-05-23 18:36:59
lilbreezyy 2022-05-23 18:33:49

Check IProductRepository class namespace

lilbreezyy 2022-05-23 18:39:11
laravel_discuss-122052.jpg

nanribet 2022-05-23 18:41:44
Please how can I convert my templates into laravel
|