So my question is should I shift to any other technology when app have to communicate lot with MySQL database and if yes then which technology will be best for this scenario?

|
bryan_king 2021-10-26 14:22:08
vikash_dev 2021-10-26 14:08:20

You don’t have implement . Just extent as rezi suggested

bryan_king 2021-10-26 14:22:30
bryan_king 2021-10-26 14:22:08
You don’t have implement . Just extent as rezi suggested

Check out
https://github.com/laravel/laravel/blob/8.x/app/Models/User.php

laravel/User.php at 8.x · laravel/laravelGitHub
A PHP framework for web artisans. Contribute to laravel/laravel development by creating an account on GitHub.
Manalalsubaei 2021-10-26 14:59:29
vikash_dev 2021-10-26 13:40:53
Argument 1 passed to IlluminateAuthEloquentUserProvider::validateCredentials() must be an instance of IlluminateContractsAuthAuthenticatable, instance of AppModelsUser given, called in E:LaravelCrmvendorlaravelframeworksrcIlluminateAuthSessionGuard.php on line 422

https://stackoverflow.com/questions/50463155/laravel-5-5-type-error-argument-1-passed-to-illuminate-auth-eloquentuserprovide

Laravel 5.5 Type error: Argument 1 passed to IlluminateAuthEloquentUserProvider::validateCredentials() must be an instanceStack Overflow
In my LoginController under Auth, I have used the following codes:

namespace AppHttpControllersAuth;

use AppModelAdmin;
use AppHttpControllersController;
use IlluminateFoundationAuth

Manalalsubaei 2021-10-26 15:00:11
vikash_dev 2021-10-26 13:40:53
Argument 1 passed to IlluminateAuthEloquentUserProvider::validateCredentials() must be an instance of IlluminateContractsAuthAuthenticatable, instance of AppModelsUser given, called in E:LaravelCrmvendorlaravelframeworksrcIlluminateAuthSessionGuard.php on line 422

https://stackoverflow.com/questions/50359052/laravel-argument-1-passed-to-illuminate-auth-eloquentuserprovidervalidatecre

Laravel – Argument 1 passed to IlluminateAuthEloquentUserProvider::validateCredentials()Stack Overflow
I use multi auth in laravel 5.6.

I use linux 16.4. and PHP 7.2

After run http://localhost:8000/manage/login and click login button, show this error:

“Type error: Argument 1 passed to Illuminate…

Habib_Mhamadi 2021-10-26 15:17:26
Ajab
vikash_dev 2021-10-26 15:18:49
bryan_king 2021-10-26 14:22:08
You don’t have implement . Just extent as rezi suggested

i was implemented your suggestion but “login details are not valid” error showing

bryan_king 2021-10-26 15:21:21
vikash_dev 2021-10-26 15:18:49
i was implemented your suggestion but “login details are not valid” error showing

Error message?

vikash_dev 2021-10-26 15:21:43
bryan_king 2021-10-26 15:21:21
Error message?

laravel_discuss-98224.jpg

bryan_king 2021-10-26 15:22:28
vikash_dev 2021-10-26 15:21:43

Don’t implement. Extend

bryan_king 2021-10-26 15:23:17
vikash_dev 2021-10-26 15:21:43

You will struggle a lot with laravel if u don’t know oop concepts

vikash_dev 2021-10-26 15:24:58
bryan_king 2021-10-26 15:22:28
Don’t implement. Extend

laravel_discuss-98227.jpg

bryan_king 2021-10-26 15:25:30
vikash_dev 2021-10-26 15:24:58

I take it that it’s working now

vikash_dev 2021-10-26 15:26:04
bryan_king 2021-10-26 15:25:30
I take it that it’s working now

but i was write username or password.

bryan_king 2021-10-26 15:27:01
vikash_dev 2021-10-26 15:26:04
but i was write username or password.

Check username and password as error suggests

vikash_dev 2021-10-26 15:28:59
bryan_king 2021-10-26 15:27:01
Check username and password as error suggests

I checked but I think not accessing database table

bryan_king 2021-10-26 15:30:27
Install debugbar and capture queries
itsAxton 2021-10-26 15:53:09
when i pass values from laravel backend to laravel blade, and i do a loop on the passed value it works but when i do the same loop twice it does not
itsAxton 2021-10-26 15:53:31
do i have to pass the value twice from backend ?
natghi2010 2021-10-26 16:27:11
itsAxton 2021-10-26 15:53:09
when i pass values from laravel backend to laravel blade, and i do a loop on the passed value it works but when i do the same loop twice it does not

How are you passing?

itsAxton 2021-10-26 16:28:42
laravel_discuss-98236.jpg

itsAxton 2021-10-26 16:29:30
in the front end i do a foreach of that data in one select option for registration and another one on edit modal
Rk Biswa 2021-10-26 16:44:25
Anyone using sbi payment gateway I need code for it
vikash_dev 2021-10-26 16:48:38
bryan_king 2021-10-26 15:30:27
Install debugbar and capture queries

What best debuger for laravel 8

bryan_king 2021-10-26 16:49:42
vikash_dev 2021-10-26 16:48:38
What best debuger for laravel 8

https://github.com/barryvdh/laravel-debugbar

GitHub – barryvdh/laravel-debugbar: Laravel Debugbar (Integrates PHP Debug Bar)GitHub
Laravel Debugbar (Integrates PHP Debug Bar). Contribute to barryvdh/laravel-debugbar development by creating an account on GitHub.
i_jordan 2021-10-26 17:22:19
can i see the different loop?
i_jordan 2021-10-26 17:23:23
itsAxton 2021-10-26 16:28:42

can i see the code of the different loop

akaydavid 2021-10-26 17:57:22
Laravel 8.x Documentation pdf
itspirate 2021-10-26 18:09:41
Guys I need some Information …

I made a application with laravel and there are lots of communication between MySQL server and that app as many users using that app

So my question is should I shift to any other technology when app have to communicate lot with MySQL database and if yes then which technology will be best for this scenario ?

itspirate 2021-10-26 18:10:18
itspirate 2021-10-26 18:09:41
Guys I need some Information …

I made a application with laravel and there are lots of communication between MySQL server and that app as many users using that app

So my question is should I shift to any other technology when app have to communicate lot with MySQL database and if yes then which technology will be best for this scenario ?

Bcz of lots of request to the database apps become slow to response some times page load taking 10 to 12 sec how I overcome this ?

asoltaniir 2021-10-26 18:12:15
itspirate 2021-10-26 18:10:18
Bcz of lots of request to the database apps become slow to response some times page load taking 10 to 12 sec how I overcome this ?

You can cache some pages and data. Are you use cache?

DesolatorMagno 2021-10-26 18:12:34
There is not a golde bullet that can fix your problem, you need start testing.
itspirate 2021-10-26 18:13:28
DesolatorMagno 2021-10-26 18:12:34
There is not a golde bullet that can fix your problem, you need start testing.

Laravel is ok when lots of request have to send to database ?

DesolatorMagno 2021-10-26 18:13:58
Depend, what is a lots of request for you and how much time it take.
DesolatorMagno 2021-10-26 18:15:30
for example you system could be downloading always the same assets (img) and taking 8.5 seconds, and you have many queries that take 0.9 seconds in total, of course that 0.9 is slow, but the principal problem would be the assets. In other words, you first need to find all the problem before trying to fix it.
itsAxton 2021-10-26 18:17:23
i_jordan 2021-10-26 17:23:23
can i see the code of the different loop

I fixed already
Thanks

|