How to pass a variable from one controller to another?

|
daydreamer5371 2021-10-09 12:49:14
How to pass a variable from one controller to another ??
Pro 2021-10-09 13:20:31
daydreamer5371 2021-10-09 12:49:14
How to pass a variable from one controller to another ??

it’s pure oop dude :3

daydreamer5371 2021-10-09 13:26:20
So ? Unable to pass ?
Pro 2021-10-09 13:31:23
i mean if you know oop concepts u should have done this 🙂
bryan_king 2021-10-09 13:48:04
daydreamer5371 2021-10-09 12:49:14
How to pass a variable from one controller to another ??

Use case ??

Kapil Sharma 2021-10-09 14:26:29
Need a varible with value in integer which can be set from admin panel and use it in controller for number counting case one : set that variable in db with single table and row and use from there
Case2: use variable in env but not good for parctice
Kapil Sharma 2021-10-09 14:26:42
Is there any other way to do this
daydreamer5371 2021-10-09 14:56:31
bryan_king 2021-10-09 13:48:04
Use case ??

To pass a value

veddishant 2021-10-09 15:16:36
Hi all
Anyone can help to make Auth::user() fake from the object or array that i have in stored on session. Current project does not have any database data comes from api!
I am using one package in that all things take from login user so i suppose to generate the fake auth:user() with session data
bryan_king 2021-10-09 15:28:15
veddishant 2021-10-09 15:16:36
Hi all
Anyone can help to make Auth::user() fake from the object or array that i have in stored on session. Current project does not have any database data comes from api!
I am using one package in that all things take from login user so i suppose to generate the fake auth:user() with session data

You could create a class that implements authenticable contract

bryan_king 2021-10-09 15:33:09
Create custom guards and custom user provider
bryan_king 2021-10-09 15:37:17
To run auth::check u simply check if Id exists in session
Manalalsubaei 2021-10-09 17:05:46
laravel_discuss-96743.jpg
Hi every one
what’s the matter?
Lalit Rana 2021-10-09 17:10:24
Manalalsubaei 2021-10-09 17:05:46
Hi every one
what’s the matter?

Looks like csrf token issue

razaqofficial 2021-10-09 17:10:26
Manalalsubaei 2021-10-09 17:05:46
Hi every one
what’s the matter?

Csrf token

Silambarasan Raju 2021-10-09 17:19:24
Manalalsubaei 2021-10-09 17:05:46
Hi every one
what’s the matter?

Just put @csrf under form tag in blade file

Silambarasan Raju 2021-10-09 17:43:31
daydreamer5371 2021-10-09 12:49:14
How to pass a variable from one controller to another ??

Use App/Http/controllers/controllername;
$var = new controllername;
$var_in_localcontroller = $var->var_in_anothercontroller;

Yihunie@http: 2021-10-09 17:48:38
Can any one have a project
Silambarasan Raju 2021-10-09 17:50:02
Yihunie@http: 2021-10-09 17:48:38
Can any one have a project

For what

Silambarasan Raju 2021-10-09 17:52:52
Soumen954 2021-10-06 11:23:28
any one can help me please i upload a project (laravel) when i run this domain gettin error

In .env just change APP_DEBUG = TRUE

Yihunie@http: 2021-10-09 17:55:26
Silambarasan Raju 2021-10-09 17:50:02
For what

For final year project..php

Vk 2021-10-09 17:57:26
I have some images in cloud storage, i want to get that images url as an array.
Lalit Rana 2021-10-09 17:57:50
Yihunie@http: 2021-10-09 17:48:38
Can any one have a project

yes I have

Silambarasan Raju 2021-10-09 18:27:47
Is it worked?
Lalit Rana 2021-10-09 18:43:35
Soumen954 2021-10-06 11:23:28
any one can help me please i upload a project (laravel) when i run this domain gettin error

May be htacces error because you are using subdomain

daydreamer5371 2021-10-09 18:58:07
Silambarasan Raju 2021-10-09 18:27:47
Is it worked?

Not used yet

Silambarasan Raju 2021-10-09 19:02:03
Ok bro
hardcoder10 2021-10-09 19:46:58
Laravel
Cryptocurrency project, Social Network project, Market Place Project
FoodTiger – Perfect knowledge of the Restorant Project Template on Laravel
jQuery, js, 3.5 solid years. Russian, Text English. Chat, Forum, Project Management System communication. I don’t speak English. Old Biggest Projects.
EmmanuelTorty 2021-10-09 19:50:08
MariaDelinternet 2021-10-09 11:46:07
Hi, I’m Maria and also Human Resources and I work for a technology company. We are looking for programmers to grow our work team. If you are interested, do not hesitate to contact me. We offer a good salary and also the possibility of helping to process visas and / or residence papers in case the candidate is suitable and adapts to what we are looking for! Any questions, you can ask! Have a great weekend! Thank you!

Hi Maria, I’m interested

Priyanka Pradeep 2021-10-09 20:04:18
MariaDelinternet 2021-10-09 11:46:07
Hi, I’m Maria and also Human Resources and I work for a technology company. We are looking for programmers to grow our work team. If you are interested, do not hesitate to contact me. We offer a good salary and also the possibility of helping to process visas and / or residence papers in case the candidate is suitable and adapts to what we are looking for! Any questions, you can ask! Have a great weekend! Thank you!

I’m interested

Manalalsubaei 2021-10-09 20:07:37
Lalit Rana 2021-10-09 17:10:24
Looks like csrf token issue

laravel_discuss-96766.jpg

Manalalsubaei 2021-10-09 20:07:52
razaqofficial 2021-10-09 17:10:26
Csrf token

laravel_discuss-96767.jpg

Manalalsubaei 2021-10-09 20:08:52
Silambarasan Raju 2021-10-09 17:19:24
Just put @csrf under form tag in blade file

laravel_discuss-96768.jpg

Manalalsubaei 2021-10-09 20:09:10
laravel_discuss-96769.jpg

Dhritesh Kr 2021-10-09 21:40:01
Can anyone can tell how can I use multi authentication with Api
|