What is the best practice to use laravel with docker?

|
DesolatorMagno 2021-01-04 18:03:12
WhoamI 2021-01-04 17:52:28
Hi Developers I want To create a Project Where Are 3 Role One is User and Second is Admin And Third is Super_Admin Please Guide Me How I Can Create ?

Manage it with roles and permissions, you can use a package for that.

WhoamI 2021-01-04 18:03:44
DesolatorMagno 2021-01-04 18:03:12
Manage it with roles and permissions, you can use a package for that.

Package Name Please?

❤️ ᴍɪɢʜᴛⓨ 🌹 2021-01-04 18:04:07
In laravel, how to make review system with star rating and comment on below blog post
❤️ ᴍɪɢʜᴛⓨ 🌹 2021-01-04 18:04:19
WhoamI 2021-01-04 18:03:44
Package Name Please?

Spatie

WhoamI 2021-01-04 18:04:59
❤️ ᴍɪɢʜᴛⓨ 🌹 2021-01-04 18:04:19
Spatie

Okay Thank You 😊

GistOf 2021-01-04 19:46:39
nathalie kouekam 2021-01-04 11:54:10
i want to create a search system on laravel. I have two fields, city of departure and city of arrival, I have two buttons: I ship and I transport. if I fill in both fields and click on I ship, it will do the research and show me the result on the shipping page. if I fill in both fields and click on I transport, it will search for it and display the result to me on the carriers page. i don’t know how i can do it, please help me.

Are there many differences between shippers and transporters?

GistOf 2021-01-04 19:47:46
nathalie kouekam 2021-01-04 11:54:10
i want to create a search system on laravel. I have two fields, city of departure and city of arrival, I have two buttons: I ship and I transport. if I fill in both fields and click on I ship, it will do the research and show me the result on the shipping page. if I fill in both fields and click on I transport, it will search for it and display the result to me on the carriers page. i don’t know how i can do it, please help me.

This is quite easy to do with a few if statements in the controller

GistOf 2021-01-04 19:50:32
You may need to use JavaScript to add the value of the clicked button before submitting the form
RayhanYulanda 2021-01-04 22:31:29
#ask
What is the best practice to use laravel with docker?
Using laravel sail?
Laradock?
Or just docker-compose?
meysammaghsoudi1987 2021-01-04 23:20:03
hi friends
I want redirect to route after complete job queue
help me please
G4Zz0L1 2021-01-05 00:03:40
RayhanYulanda 2021-01-04 22:31:29
#ask
What is the best practice to use laravel with docker?
Using laravel sail?
Laradock?
Or just docker-compose?

Sail it’s just an easy wrapper around docker-compose with laravel sugar on top, I’d go with that

WhoamI 2021-01-05 05:48:02
laravel_discuss-65357.jpg

WhoamI 2021-01-05 05:48:02
laravel_discuss-65356.jpg
Hello Developers What Is the Error Help me please
Kamalwebdev 2021-01-05 05:49:24
WhoamI 2021-01-05 05:48:02
Hello Developers What Is the Error Help me please

Please show full code

2021-01-05 07:45:22
laravel_discuss-65360.jpg
livewire user_id=auth()->id(), post_id=??? help
hypernxf 2021-01-05 08:45:06
What’s your question?
WhoamI 2021-01-05 08:49:00
laravel_discuss-65363.jpg
What is the Error?
hypernxf 2021-01-05 08:50:01
You dont have a table named targets
WhoamI 2021-01-05 08:50:41
hypernxf 2021-01-05 08:50:01
You dont have a table named targets

But I created the table name with Target

2021-01-05 08:51:01
hypernxf 2021-01-05 08:45:06
What’s your question?

Do you know livewire?

hypernxf 2021-01-05 08:51:08
your table name should be targets
hypernxf 2021-01-05 08:51:20
with an “s”
WhoamI 2021-01-05 08:51:32
hypernxf 2021-01-05 08:51:08
your table name should be targets

But why?

hypernxf 2021-01-05 08:51:34
2021-01-05 08:51:01
Do you know livewire?

Just ask your question. whoever knows will be able to answer you

hypernxf 2021-01-05 08:52:22
WhoamI 2021-01-05 08:51:32
But why?

You need to be more specific. How did you create the table, what did you do to cause this error before we can explain to you why.

I can only tell you base on your error, your code is looking for “targets” table but not found.

2021-01-05 08:52:38
hypernxf 2021-01-05 08:51:34
Just ask your question. whoever knows will be able to answer you

I have already asked the question

hypernxf 2021-01-05 08:53:28
I dont understand your qns. Are you asking how to create a post? Or how to get the post from LiveWire? Or how to attach a post relationship to the comment or everything?
2021-01-05 08:55:18
hypernxf 2021-01-05 08:53:28
I dont understand your qns. Are you asking how to create a post? Or how to get the post from LiveWire? Or how to attach a post relationship to the comment or everything?

get post_id for comment

2021-01-05 08:55:38
hypernxf 2021-01-05 08:53:28
I dont understand your qns. Are you asking how to create a post? Or how to get the post from LiveWire? Or how to attach a post relationship to the comment or everything?

livewire

hypernxf 2021-01-05 08:56:07
So have the poist been created already?
2021-01-05 08:56:28
hypernxf 2021-01-05 08:56:07
So have the poist been created already?

yes

hypernxf 2021-01-05 08:57:12
So you are editing?
hypernxf 2021-01-05 08:57:48
Please be more specific man. or else it’s hard to help you.

How are you displaying your post page now?

2021-01-05 08:58:18
hypernxf 2021-01-05 08:57:12
So you are editing?

full code?

hypernxf 2021-01-05 08:59:38
what’s your comment form url
|