Why You Should Run Cronjobs In Laravel?

|
Shubham 2021-05-31 00:35:47
hello i have list of products and each item have input box for quantity and addtocart button… then how can i get value of quantity on click of addtocart button of that item?

Please let me know

jafari_arash 2021-05-31 01:02:41
Shubham 2021-05-31 00:35:47
hello i have list of products and each item have input box for quantity and addtocart button… then how can i get value of quantity on click of addtocart button of that item?

Please let me know

laravel_discuss-83446.jpg
If you don’t using AJAX, your HTML will look like this:

jafari_arash 2021-05-31 01:03:51
Shubham 2021-05-31 00:35:47
hello i have list of products and each item have input box for quantity and addtocart button… then how can i get value of quantity on click of addtocart button of that item?

Please let me know

laravel_discuss-83447.jpg
Otherwise, like this

Edifice_Solutions 2021-05-31 01:24:28
likemind021 2021-05-31 00:27:59
Are you testing from a local server?

no live server

Edifice_Solutions 2021-05-31 01:25:29
Edifice_Solutions 2021-05-30 23:52:09
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Network is unreachable)

Please my project is stock cause of this ve been completed for 3 days,, still no solutions, HELP pls

Edifice_Solutions 2021-05-31 01:54:19
need help
TheGuyi 2021-05-31 02:20:29
Any resource on how to use guzzle in laravel 8 to send emails
fiminb 2021-05-31 05:47:48
Hi I save some global variables in env file does it correct
Mahipal2412 2021-05-31 06:00:42
2021-05-30 18:03:25
Do you know about service containers?

No idea

jcsnbgyq 2021-05-31 06:20:33
env file is global configuration,more likes const var
praneet81 2021-05-31 06:30:59
TheGuyi 2021-05-31 02:20:29
Any resource on how to use guzzle in laravel 8 to send emails

Are you going to call an API?

snehalkadwe 2021-05-31 09:17:28
Hello, Need help in my project there are list of contacts and from that I have to make only one as primary contact how to do that in laravel. I have the logic but want more reliable code for that in laravel Thanks in advance
Soumen954 2021-05-31 09:23:04
How to automatically run scheduler in server now i start scheduler manually anyone know Please help me
Tererai Mugova 2021-05-31 09:28:10
Soumen954 2021-05-31 09:23:04
How to automatically run scheduler in server now i start scheduler manually anyone know Please help me

Cron job

divyangdodiya 2021-05-31 09:49:32
Soumen954 2021-05-31 09:23:04
How to automatically run scheduler in server now i start scheduler manually anyone know Please help me

Set a cron job in plesk or cpanel and make the scheduler command fire from the cron by

flyingdragons 2021-05-31 12:26:46
Soumen954 2021-05-31 09:23:04
How to automatically run scheduler in server now i start scheduler manually anyone know Please help me

https://stackcoder.in/posts/why-you-should-run-cronjobs-in-laravel

Why You Should Run Cronjobs In Laravel? | StackCoderStackCoder
In this article, you will learn

Why Use Laravel Task Scheduling
, How To Add Laravel Task Scheduling In Crontab
, Running Task Scheduling In Laravel
, Adding Custom Functions & Console Commands For Task, Scheduling, Task Scheduling Frequency, Other Useful Strategies

flyingdragons 2021-05-31 12:29:26
snehalkadwe 2021-05-31 09:17:28
Hello, Need help in my project there are list of contacts and from that I have to make only one as primary contact how to do that in laravel. I have the logic but want more reliable code for that in laravel Thanks in advance

You can have a column as primary_contact_on datetime (instead of is_primary column with boolean) thus in case in future you can even track when the record was made primary

itswinner 2021-05-31 12:40:10
How to get directly fpdf output file print
FlutterStack 2021-05-31 13:59:35
How to alter user email entered in user login page while login. For example user enters abcd@gmail.com in email field , I need to check in the database c-abcd@gmail.com ( appending c- for email ) is present in dB then if password matches allow login.
vipuljchavda 2021-05-31 14:06:50
I need CRM SaaS based website in laravel.
Please give me your best rates
NjoguAmos 2021-05-31 14:07:57
FlutterStack 2021-05-31 13:59:35
How to alter user email entered in user login page while login. For example user enters abcd@gmail.com in email field , I need to check in the database c-abcd@gmail.com ( appending c- for email ) is present in dB then if password matches allow login.

I don’t know why you would want to do that.

The simplest solution is to alter user email input before checking in the database. You can do that using a Form Request and modify prepareForValidation() method.

NjoguAmos 2021-05-31 14:09:14
NjoguAmos 2021-05-31 14:07:57
I don’t know why you would want to do that.

The simplest solution is to alter user email input before checking in the database. You can do that using a Form Request and modify prepareForValidation() method.

Learn how to modify form Request

https://dev.to/eduardort/laravel-requests-data-transformation-1d9j

YOUCODEWORLD 2021-05-31 14:46:10
Here $data no need the array. You change $posts = contacts::xxxxxx then return view(‘my view ‘, compact(‘posts’);
YOUCODEWORLD 2021-05-31 14:46:24
Next time don’t PM. Thank.
Yislam 2021-05-31 14:53:10
Guys who knows how to make money from GitHub using paste codes?
YOUCODEWORLD 2021-05-31 14:55:59
Yislam 2021-05-31 14:53:10
Guys who knows how to make money from GitHub using paste codes?

If you have customers and BIG IQ can do it 🤣

Yislam 2021-05-31 14:56:26
YOUCODEWORLD 2021-05-31 14:55:59
If you have customers and BIG IQ can do it 🤣

How to get customers from GitHub?

YOUCODEWORLD 2021-05-31 14:57:50
Yislam 2021-05-31 14:56:26
How to get customers from GitHub?

Do you know what is that?

2021-05-31 15:00:44
Yislam 2021-05-31 14:56:26
How to get customers from GitHub?

If you are thinking it is money making site, you are wrong ))

Yislam 2021-05-31 15:03:15
YOUCODEWORLD 2021-05-31 14:57:50
Do you know what is that?

No

flyingdragons 2021-05-31 15:14:07
laravel_discuss-83494.jpg
Hi what kind of dependency should we draw for Pivot Tables / Intermediate Tables in the above UML Class Diagram UserRoles is an Pivot Table/Intermediate Table which has Role & User column
YOUCODEWORLD 2021-05-31 15:34:18
flyingdragons 2021-05-31 15:14:07
Hi what kind of dependency should we draw for Pivot Tables / Intermediate Tables in the above UML Class Diagram UserRoles is an Pivot Table/Intermediate Table which has Role & User column

Some wrong . maybe you learn RBAC or learn https://spatie.be/docs/laravel-permission/v4/introduction package easy then more.

Introduction | laravel-permissionspatie.be
flyingdragons 2021-05-31 15:35:40
YOUCODEWORLD 2021-05-31 15:34:18
Some wrong . maybe you learn RBAC or learn https://spatie.be/docs/laravel-permission/v4/introduction package easy then more.

Hi thank you very much for the reply. I know those packages and I know how the RBAC works.

I want to make the relationships in UML diagrams just for the sake of learning. I am getting stuck there

Edifice_Solutions 2021-05-31 15:35:45
laravel_discuss-83498.jpg

flyingdragons 2021-05-31 15:36:15
Edifice_Solutions 2021-05-31 15:35:45

.env Mail settings are not correct

|