Do you have some documents or any videos or any resource which can help me to learn all the key concepts of laravel 7?

|
DesolatorMagno 2020-09-04 22:23:21
The idea is basi, you make a roles table and permission table, and another for the relationship.
DesolatorMagno 2020-09-04 22:24:12
A user have a role and each role ha e permissions, you have to check if the role associated to the user have the right permission in each view, action
Siberfx 2020-09-04 22:24:13
better use gates/policies to avoid using packages, but anyway you still want to stick with any packages, Spatie/permissions package is good;
Pro 2020-09-04 22:26:39
I did something like this but in the request authorize method am I wrong ??
DesolatorMagno 2020-09-04 22:28:58
You should also use it in the front and for the visualization of form, so the user only see what he can interact, I woul get pissed out if I fill a form and get a message that say that I should not fill it.
Pro 2020-09-04 22:30:00
yeah of course
shaildark 2020-09-05 00:20:00
m_faza 2020-09-04 19:51:40
Hi πŸ‘‹
I completed my project in a pure php ..
And now i learn laravel..am i have to start from the beginning to coding the project or what.. helpπŸ˜‘

Yes from the beginning but because laravel has many built-in functions so it will be easier to code

FairInaction 2020-09-05 06:26:50
a_anj 2020-09-04 22:11:49
Any steps?

https://github.com/spatie/laravel-permission

GitHub – spatie/laravel-permission: Associate users with roles and permissionsGitHub
Associate users with roles and permissions. Contribute to spatie/laravel-permission development by creating an account on GitHub.
night days 2020-09-05 10:03:57
How can I override recursion with unit tests
Devesh Jha 2020-09-05 11:49:47
Hellow everyone i am doing a project in laravel where I need to edit scanned pdf documents with writing tool like digital pen and update the same pdf live on website…..can any body please help me
mrbiryani 2020-09-05 11:52:03
Do you have some documents or any videos or any resource which can help me to learn all the key concepts of laravel 7???
RamiN75e 2020-09-05 12:00:15
Learn Kotlin programming language

@KotlinWithRamin

ManojRoy19 2020-09-05 12:08:50
laravel_discuss-49786.jpg

ManojRoy19 2020-09-05 12:08:50
laravel_discuss-49785.jpg
I am trying to save multiple image in storage folder but it saves only one image instead of multiple image. Let me say where I am wrong in code.
mrbiryani 2020-09-05 12:37:11
mrbiryani 2020-09-05 11:52:03
Do you have some documents or any videos or any resource which can help me to learn all the key concepts of laravel 7???

?????

berto309 2020-09-05 12:41:37
mrbiryani 2020-09-05 11:52:03
Do you have some documents or any videos or any resource which can help me to learn all the key concepts of laravel 7???

laracast.com

mrbiryani 2020-09-05 12:47:31
berto309 2020-09-05 12:41:37
laracast.com

Thanks Berto

Bhuvi100 2020-09-05 13:58:13
ManojRoy19 2020-09-05 12:08:50

There seems no problem atleast to me

Bhuvi100 2020-09-05 13:58:30
I also tried storeAs method like you and it worked fine
Bhuvi100 2020-09-05 13:59:10
But I didn’t create new records like you
Nomiilk 2020-09-05 14:13:50
Any graphics designer here?
Mr_Classy 2020-09-05 15:00:59
How to insert multiple select value store in database in laravel ?
Mr_Classy 2020-09-05 15:01:18
Need help!!
2020-09-05 15:13:02
laravel_discuss-49804.jpg
generosity-it.ml
rohitjpsingh 2020-09-05 15:23:56
a_anj 2020-09-04 21:41:12
Hey can someone suggest me how I can achieve this?

4 type of users are there (admin user support user, and other two)

– Admin: has access to all menus (total 11 menus) has access of edit, delete, update, view

– Retain users : has some menu acess and edit, delete, update view access

– support user : has access of some 4 menus and only view permission

Need to display menus based on role Allow to edit, update, create,view

Please can you people help me on this

Got any solution?

rohitjpsingh 2020-09-05 15:28:35
ManojRoy19 2020-09-05 12:08:50

Got any solution?

rohitjpsingh 2020-09-05 15:29:02
Mr_Classy 2020-09-05 15:01:18
Need help!!

https://stackoverflow.com/questions/39615677/saving-check-box-values-to-the-database-in-laravel

saving check box values to the database in laravelStack Overflow
I’m new to laravel. I’m saving some checkbox value to the database using loop the loop work but it only saves the last value in the array to the database.

this is my form

<form action=”{{url(‘

rohitjpsingh 2020-09-05 15:37:04
shaildark 2020-09-03 10:53:13
I know about validation rules but how to authenticate user, do I nees to make 3 seperate methods where one for username and password, 2nd for email and password and 3rd for phone no and password
And I want to do it in default auth system provided by laravel in Laravel version 5.8

Your solution is inside this.

yusufazharzaini 2020-09-05 15:52:42
laravel_discuss-49809.jpg
How do I display currently logged in user photos from the profile table.?
Model User :
public function profile()
{
return $this->hasOne(Profile::class);
}
Model Profile :
public function user()
{
return $this->belongsTo(User::class);
}
View :
<img src=”{{Auth::User()->profile()->foto}}” alt=”” class=”rounded-circle”>
Bhuvi100 2020-09-05 15:56:04
yusufazharzaini 2020-09-05 15:52:42
How do I display currently logged in user photos from the profile table.?
Model User :
public function profile()
{
return $this->hasOne(Profile::class);
}
Model Profile :
public function user()
{
return $this->belongsTo(User::class);
}
View :
<img src=”{{Auth::User()->profile()->foto}}” alt=”” class=”rounded-circle”>

Use this in view <img src=”{{Auth::User()->profile->foto}}” alt=”” class=”rounded-circle”>

Remove brackets near profile

fullstackdev2018 2020-09-05 16:09:42
Hello, wish you a very good day.
Please DM me if you have any upwork account for rent.
I’ll pay monthly for according to profit.
Best Regards.
yusufazharzaini 2020-09-05 16:10:15
Bhuvi100 2020-09-05 15:56:04
Use this in view <img src=”{{Auth::User()->profile->foto}}” alt=”” class=”rounded-circle”>

Remove brackets near profile

laravel_discuss-49812.jpg

yusufazharzaini 2020-09-05 16:10:43
laravel_discuss-49813.jpg
Database User
yusufazharzaini 2020-09-05 16:11:21
laravel_discuss-49814.jpg
Database profile
Bhuvi100 2020-09-05 16:15:13
yusufazharzaini 2020-09-05 16:11:21
Database profile

You need to have a column called user_id in profiles table

Bhuvi100 2020-09-05 16:16:13
You cant create relationships using same column like username in both tables in eloquent as far as I know
yusufazharzaini 2020-09-05 16:39:01
Bhuvi100 2020-09-05 16:15:13
You need to have a column called user_id in profiles table

thank you, I have fixed the table that you mean. I’ve changed the username in the profile table to user_id and it’s working fine.

Bhuvi100 2020-09-05 16:39:51
yusufazharzaini 2020-09-05 16:39:01
thank you, I have fixed the table that you mean. I’ve changed the username in the profile table to user_id and it’s working fine.

Nope πŸ‘

Revetv 2020-09-05 17:21:49
Hi! a query, I’m using Laragon and I wanted to know why it creates the projects with the .test extension?
Scheme when I want to open said project does not load me.
Siberfx 2020-09-05 17:47:21
Revetv 2020-09-05 17:21:49
Hi! a query, I’m using Laragon and I wanted to know why it creates the projects with the .test extension?
Scheme when I want to open said project does not load me.

not so much understandable what is your issue

^_* 2020-09-05 17:58:50
Hi guys
How i can expand the memory laravel because when I install any backege I cant
Because limited memory
2020-09-05 18:01:42
^_* 2020-09-05 17:58:50
Hi guys
How i can expand the memory laravel because when I install any backege I cant
Because limited memory

this should not be case generally. Try looking php.ini

2020-09-05 18:02:05
^_* 2020-09-05 17:58:50
Hi guys
How i can expand the memory laravel because when I install any backege I cant
Because limited memory

Or may b bad coding

^_* 2020-09-05 18:03:44
What I can do it there
Example
Ryan151995 2020-09-05 19:33:42
laravel_discuss-49830.jpg

Ryan151995 2020-09-05 19:33:54
Anyone help me out why should I am getting this error
Ryan151995 2020-09-05 19:34:19
laravel_discuss-49832.jpg

DesolatorMagno 2020-09-05 19:55:43
What you are doing is pretty random, but in any case, you are calling a method and that method require a param.
iamnomana 2020-09-05 21:38:58
Mohammad Sadiqu 2020-09-03 07:51:25
React js ?

I’m not into React Js

Juankete 2020-09-05 22:19:36
Hi, anyone could recommend me a Laravel docker image integrated with React?
|