Contents:
Alguien spañol?
Do you mean after user login, you send otp to mail and the user confirm the otp code ?
Can Jetstream use for otp?
why 4 nested foreach?
How to make it one?
Can I update a table using model collection?
how to use mask on inputs on livewire ?
Alguien spañol?
Do you mean after user login, you send otp to mail and the user confirm the otp code ?
Can Jetstream use for otp?
why 4 nested foreach?
How to make it one?
Can I update a table using model collection?
how to use mask on inputs on livewire ?
echolefty 2021-01-31 04:29:00
2021-01-27 04:30:25
Alguien spañol?
Argentino
Jomitz 2021-01-31 04:51:45
unknownstranges 2021-01-31 01:14:44
I’m using laravel and how do i round to the nearest decimal in this <p>{{$val->percent/7}} % </p>
Or use the round() function
cod3r_rn 2021-01-31 08:12:26
Can anybody tell me how to implement otp through mails if a user a login
cod3r_rn 2021-01-31 08:12:36
Please it’s urgent
segungreat 2021-01-31 08:16:24
cod3r_rn 2021-01-31 08:12:26
Can anybody tell me how to implement otp through mails if a user a login
Do you mean after user login, you send otp to mail and the user confirm the otp code ???
cod3r_rn 2021-01-31 08:33:21
Yes
cod3r_rn 2021-01-31 08:33:32
Like two factor authentication
yudistirachma 2021-01-31 08:41:04
cod3r_rn 2021-01-31 08:33:32
Like two factor authentication
https://laravel.com/docs/8.x/fortify#email-verification
i think this package can help you
cod3r_rn 2021-01-31 08:51:00
yudistirachma 2021-01-31 08:41:04
https://laravel.com/docs/8.x/fortify#email-verification
i think this package can help you
i think this package can help you
Mahn this is email verification and i need otp to email
luisdavidgd 2021-01-31 09:51:34
Jetstream didn’t help you?
cod3r_rn 2021-01-31 09:52:13
Can Jetstream use for otp?
luisdavidgd 2021-01-31 09:54:16
I read that it came integrated with 2fa, maybe you can intervene that function and implement it via email
luisdavidgd 2021-01-31 09:55:22
https://jetstream.laravel.com/2.x/features/two-factor-authentication.html
Two Factor Authentication | Laravel Jetstream – Laravel
Beautifully designed application scaffolding for Laravel
Beautifully designed application scaffolding for Laravel
luisdavidgd 2021-01-31 09:57:17
By default it works with Google Authenticator, I have implemented it a couple of times to use OTP but not with jetstream, but old school
luisdavidgd 2021-01-31 09:58:16
I remember I used pragmarx/google2fa-laravel and bacon/bacon-qr-code (You can avoid the QR part in your scenario though)
luisdavidgd 2021-01-31 09:58:51
I think the Jetstream alternative would be something more modern and although I have not tried it I hope you can solve the OTP
luisdavidgd 2021-01-31 10:00:31
https://scotch.io/tutorials/how-to-add-googles-two-factor-authentication-to-laravel
How to Add Google’s Two Factor Authentication to Laravel | DigitalOcean – DigitalOcean
Adding two-factor authentication to Laravel applications using Google Authenticator.
Adding two-factor authentication to Laravel applications using Google Authenticator.
luisdavidgd 2021-01-31 10:00:40
Maybe with this, although it looks old. It can serve as a guide
segungreat 2021-01-31 10:51:57
cod3r_rn 2021-01-31 08:33:32
Like two factor authentication
Do you use any package for authentication, if you do you will need to work along with the package but if you do authentication manually, after login you send otp to mail, redirect to page to enter otp and then verify the otp code. Remember to create a middle ware to capture otp verification
cod3r_rn 2021-01-31 11:06:07
segungreat 2021-01-31 10:51:57
Do you use any package for authentication, if you do you will need to work along with the package but if you do authentication manually, after login you send otp to mail, redirect to page to enter otp and then verify the otp code. Remember to create a middle ware to capture otp verification
Okay
Mohanraj 2021-01-31 12:35:39
Please Any one give me the “api boilerplate-jwt”. With register, login, logout, forgot password, & refresh token implemented.
2021-01-31 14:02:14
Hello im going to develop an application. however my project come with a User Model. I deleted it and create my own one. Now how to make my new User Class extends Model and Authenticatable.🤲🏾 Please any source or direct help😞
hypernxf 2021-01-31 14:21:03
https://github.com/laravel/laravel/blob/8.x/app/Models/User.php
laravel/User.php at 8.x · laravel/laravel – GitHub
A PHP framework for web artisans. Contribute to laravel/laravel development by creating an account on GitHub.
A PHP framework for web artisans. Contribute to laravel/laravel development by creating an account on GitHub.
profsr123 2021-01-31 15:04:43
“title”:[“1″,”2″],”type”:[“hh”,”hh”],”oldprice”:[“44″,”656″],”newprice”:[“411″,”56”
profsr123 2021-01-31 15:06:09
this is wwhat iam getting from my form
profsr123 2021-01-31 15:06:56
$varient=$request->title;
$type=$request->type;
$oldprice=$request->oldprice;
$newprice=$request->newprice;
//insert into varient
foreach($varient as $v=>$va)
foreach($type as $t=>$ty)
foreach($oldprice as $op=>$opi)
foreach($newprice as $np=>$npi)
{
$productvarient = productvarient::create([
‘product_id’ => $product_id ,
‘varient_title’ => $va,
‘available_varients’ => $ty,
‘varient_old_price’ => $opi,
‘varient_new_price’ => $npi,
$type=$request->type;
$oldprice=$request->oldprice;
$newprice=$request->newprice;
//insert into varient
foreach($varient as $v=>$va)
foreach($type as $t=>$ty)
foreach($oldprice as $op=>$opi)
foreach($newprice as $np=>$npi)
{
$productvarient = productvarient::create([
‘product_id’ => $product_id ,
‘varient_title’ => $va,
‘available_varients’ => $ty,
‘varient_old_price’ => $opi,
‘varient_new_price’ => $npi,
]);
profsr123 2021-01-31 15:07:42
This is my controller code , but it is inserting repeatingbvalues how to solve it abybody please help
profsr123 2021-01-31 15:16:03
Any body please help
Batu157 2021-01-31 15:24:29
why 4 nested foreach?
profsr123 2021-01-31 15:30:24
How to make it one?
Batu157 2021-01-31 15:31:53
idk what are you trying to do tbh
segungreat 2021-01-31 16:00:34
What are you trying to do.
Does your input name has [], I think thats why you are getting array values
And why 4 for each nested loop
Does your input name has [], I think thats why you are getting array values
And why 4 for each nested loop
2021-01-31 16:30:01
Hi. Can I update a table using model collection? I mean does update method work or not?
$object = Model::whereId($id)->first();
Can I run $object->update()?
digaomt 2021-01-31 16:52:54
how to use mask on inputs on livewire ???
natghi2010 2021-01-31 16:59:58
2021-01-31 16:30:01
Hi. Can I update a table using model collection? I mean does update method work or not?
$object = Model::whereId($id)->first();
Can I run $object->update()?
maybe