โ prev | next โ
The_Hardik_Sisodia 2021-02-22 15:37:06
TheGuyi 2021-02-22 15:36:30
‘updated_by’ => $request->Auth()->user()->user_name
remove $request->
MishalLeo 2021-02-22 15:37:10
The_Hardik_Sisodia 2021-02-22 15:36:10
you just have to compile it
mix will minify
Not so much proper
The_Hardik_Sisodia 2021-02-22 15:37:23
just use auth()->user()->user_name and try it
MishalLeo 2021-02-22 15:38:12

I have use mix and it shows like this
TheGuyi 2021-02-22 15:40:10
The_Hardik_Sisodia 2021-02-22 15:28:49
auth()->user()->user_name from users table for you
failed data is saved but the username not captured
The_Hardik_Sisodia 2021-02-22 15:40:51
your users table has user_name column right?
The_Hardik_Sisodia 2021-02-22 15:42:31
MishalLeo 2021-02-22 15:38:12
I have use mix and it shows like this
https://github.com/renatomarinho/laravel-page-speed
try using this
GitHub – renatomarinho/laravel-page-speed: Package to optimize your site automatically which results in a 35%+ optimization –
GitHubPackage to optimize your site automatically which results in a 35%+ optimization – GitHub – renatomarinho/laravel-page-speed: Package to optimize your site automatically which results in a 35%+ opt…
The_Hardik_Sisodia 2021-02-22 15:42:45
this will minify your view a lot
The_Hardik_Sisodia 2021-02-22 15:44:03
the thing which you are trying to do via mix I don’t think that’s possible it does minify the main view though but the heading part it doesn’t
TheGuyi 2021-02-22 15:44:20
The_Hardik_Sisodia 2021-02-22 15:40:51
your users table has user_name column right?

yes it does
The_Hardik_Sisodia 2021-02-22 15:44:40
MishalLeo 2021-02-22 15:38:12
I have use mix and it shows like this
will let you know if I find any source for doing it via mix
till then do give a try to package I sent
MishalLeo 2021-02-22 15:45:05
Ok @The_Hardik_Sisodia
The_Hardik_Sisodia 2021-02-22 15:46:17
check if you have entered user_name in users models fillable section @TheGuyi
MishalLeo 2021-02-22 15:48:53
@The_Hardik_Sisodia and when I’m using npm run production it is minifying proper
TheGuyi 2021-02-22 15:49:12
The_Hardik_Sisodia 2021-02-22 15:46:17
check if you have entered user_name in users models fillable section @TheGuyi

its there
MishalLeo 2021-02-22 15:49:26
alancbhn 2021-02-22 16:31:22
Hello guys, someone from Argentina ir Chile? ๐
alancbhn 2021-02-22 16:31:42
*or
Prem Soni 2021-02-22 16:32:35
alancbhn 2021-02-22 16:31:22
Hello guys, someone from Argentina ir Chile? ๐
no I am from India
sbruder 2021-02-22 16:33:29
alancbhn 2021-02-22 16:31:22
Hello guys, someone from Argentina ir Chile? ๐
Brazilian in Germany here
stealthSnake 2021-02-22 16:33:49
TheGuyi 2021-02-22 15:36:30
‘updated_by’ => $request->Auth()->user()->user_name
have you already import Auth facades?
use Illuminate/Support/Auth;
TheGuyi 2021-02-22 16:50:07
stealthSnake 2021-02-22 16:33:49
have you already import Auth facades?
use Illuminate/Support/Auth;
Already done it’s why no error in IDE
segungreat 2021-02-22 17:02:09
TheGuyi 2021-02-22 16:50:07
Already done it’s why no error in IDE
Do you have updated_by in fillable in the model and also as suggested use $request->user()->id
stealthSnake 2021-02-22 17:15:45
TheGuyi 2021-02-22 16:50:07
Already done it’s why no error in IDE
Can I see your controller? From what I see you use Auth as a method or property from Request class.
If you want to get user from request()
request()->user()
$request->user()
via auth()
auth()->user()
Auth::user()
EMMANUEL TRO 2021-02-22 17:27:44

My laravel server don’t work please need help!
raicoacosta 2021-02-22 17:32:17
EMMANUEL TRO 2021-02-22 17:27:44
My laravel server don’t work please need help!
php artisan serve –port 8001
EMMANUEL TRO 2021-02-22 17:34:15
Thank you but still not work !
stealthSnake 2021-02-22 17:35:17
EMMANUEL TRO 2021-02-22 17:27:44
My laravel server don’t work please need help!
Have you had a problem like that before?
EMMANUEL TRO 2021-02-22 17:35:53
stealthSnake 2021-02-22 17:35:17
Have you had a problem like that before?
No no never it’s the first time.
stealthSnake 2021-02-22 17:39:50
EMMANUEL TRO 2021-02-22 17:35:53
No no never it’s the first time.
Check this issue in github
https://github.com/laravel/framework/issues/34229
php artisan serve can’t bind to any port ยท Issue #34229 ยท laravel/framework –
GitHubLaravel Version: 8.0.1 PHP Version: 7.4.10 OS: Windows 10 Database Driver & Version: no database needed Description: After upgrading to laravel 8, and running the command php artisan serve,…
alejodelosrios 2021-02-22 18:50:54
Hi everyone! I’m working on a project and I have to consume the Amazon API. Do you know a good tutorial to do so? Thanks in advance.
The_Hardik_Sisodia 2021-02-22 18:50:55
Anyone has any clue how can we have single login session via *socialite*
Rachidi 2021-02-22 18:52:25
Angular vs reactjs please
Rachidi 2021-02-22 18:53:17
In tendance
The_Hardik_Sisodia 2021-02-22 18:54:43
The_Hardik_Sisodia 2021-02-22 18:50:55
Anyone has any clue how can we have single login session via *socialite*
The functionality for this feature uses laravel’s logoutOtherDevices() function in which we send $request->password as parameter. Not sure how to handle it with socialite because in case of socialite we don’t get $request->password
โ prev | next โ