Or what you want is save some table on the different database for load balancing?

|
praneet81 2019-11-14 11:12:04
skys215 2019-11-14 11:05:02
pass the user id while broadcasting and notice only related user

Can you please tell me how do i notice a related user? May be a sample snippet would point me in right direction?

skys215 2019-11-14 11:59:38
praneet81 2019-11-14 11:12:04
Can you please tell me how do i notice a related user? May be a sample snippet would point me in right direction?

https://laravel.com/docs/5.8/broadcasting#defining-broadcast-events
just like the code here, pass a variable when firing the event
get that variable when handling the event

skys215 2019-11-14 12:00:22
Agun17 2019-11-14 07:17:59
hallo guys, how to connect 2 databases in 1 application in laravel

you can set $connection on Model
add related connection config on database.php

Agun17 2019-11-14 12:03:20
skys215 2019-11-14 12:00:22
you can set $connection on Model
add related connection config on database.php

how how? do you have an example sir

Agun17 2019-11-14 12:03:55
skys215 2019-11-14 12:00:22
you can set $connection on Model
add related connection config on database.php

How to? do you have an example sir

skys215 2019-11-14 12:04:24
Do you know how to add a connection configuration on config/database.php?
Agun17 2019-11-14 12:05:15
skys215 2019-11-14 12:04:24
Do you know how to add a connection configuration on config/database.php?

don’t know sir

skys215 2019-11-14 12:06:01
Agun17 2019-11-14 12:05:15
don’t know sir

https://laravel.com/docs/5.8/database#configuration

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Agun17 2019-11-14 12:08:36
skys215 2019-11-14 12:06:01
https://laravel.com/docs/5.8/database#configuration

i mean two databases in 1 application, it’s the same for example two sql server databases in one laravel application

skys215 2019-11-14 12:09:27
yes, you define one more configuration of connection on the config/database.php, and use it on your specific model
Agun17 2019-11-14 12:37:47
I’m still confused, sir, is there an example of a video
Agun17 2019-11-14 12:37:56
skys215 2019-11-14 12:09:27
yes, you define one more configuration of connection on the config/database.php, and use it on your specific model

I’m still confused, sir, is there an example of a video

shubhamdhyani 2019-11-14 12:38:34
skys215 2019-11-14 12:06:01
https://laravel.com/docs/5.8/database#configuration

go through this once

shubhamdhyani 2019-11-14 12:39:16
Agun17 2019-11-14 12:08:36
i mean two databases in 1 application, it’s the same for example two sql server databases in one laravel application

you should not start doing this outright without understanding the basic flow of database connection

skys215 2019-11-14 12:40:14
Or are you planning to have one more database in case of many visitors on the website?
Or what you want is save some table on the different database for load balancing?
iamaeshar 2019-11-14 18:00:30
laravel_discuss-18135.jpg

iamaeshar 2019-11-14 18:01:28
Hello Guys !
I have Downloaded a Project in Laravel.
But installing in my environment whenver i run it.

It gives me this installer

iamaeshar 2019-11-14 18:01:44
I dont need it.
How to remove it/
iamaeshar 2019-11-14 18:02:00
I can’t find any entry point for this
iamaeshar 2019-11-14 18:08:50
Means i have downloaded it and i want to use in my local environment. ANd i want to nake changes on it. But i dont need this installer
iamaeshar 2019-11-14 18:09:54
Let me try once more
skys215 2019-11-14 18:11:08
global search for the keyword
iamaeshar 2019-11-14 18:13:02
I have the source code of the project.

I have set up every migration aur required .env information.

When i serve it using php artisan serve it gives me this installer.

But i want to run its home page that is login page.

senhorY 2019-11-14 18:14:27
Go to web.php and comment the Route line where it says “install”
iamaeshar 2019-11-14 18:15:09
senhorY 2019-11-14 18:14:27
Go to web.php and comment the Route line where it says “install”

Okay!
I did it but it didn’t work for me.

iamaeshar 2019-11-14 18:16:19
When i serve it and hit localhost:8000

It gives me installer.

senhorY 2019-11-14 18:19:31
Installation – Laravel – The PHP Framework For Web Artisans
https://laravel.com/docs/6.x
senhorY 2019-11-14 18:20:11
No offense, really. I really think you should read the basics.
iamaeshar 2019-11-14 18:45:21
Yeah !
I am in learning phase of Laravel.
iamaeshar 2019-11-14 18:45:21
Yeah you got it.
But i don’t find any routes for this.
iamaeshar 2019-11-14 18:45:22
In routes i don’t see any redirection for installation except this line

if(application_installed()){
Route::get (‘install/final’,
Redirect (‘/’)
)
}

iamaeshar 2019-11-14 18:49:01
Okay.
iamaeshar 2019-11-14 18:49:19
Thanks @Ratton Man. 😍
immeasurableamit 2019-11-14 19:51:34
How to get user current location using geolocation
immeasurableamit 2019-11-14 19:51:42
In laravel
Mahdi_khani 2019-11-14 19:52:15
How to get request from android and save in db??
Mahdi_khani 2019-11-14 19:52:42
Sent as json
Mahdi_khani 2019-11-14 19:54:09
laravel_discuss-18175.jpg

Mahdi_khani 2019-11-14 19:54:19
See my code pls
Mahdi_khani 2019-11-14 19:55:16
Ok
shubhamdhyani 2019-11-14 20:28:09
Mahdi_khani 2019-11-14 19:54:09

dont use variable r

shubhamdhyani 2019-11-14 20:28:16
you dont need it
shubhamdhyani 2019-11-14 20:29:24
for every newbie…..use it to debug everytime and see the flow of code and data
Mahdi_khani 2019-11-14 20:30:13
How to dd when request came from android?
Realtime?
Mahdi_khani 2019-11-14 21:18:09
Can i pass json params in postman?
2019-11-14 21:18:33
What do you think about the Scout package ?
Mahdi_khani 2019-11-14 21:20:17
Thanks sami
Mahdi_khani 2019-11-14 21:58:45
How to create log file from request?
Mahdi_khani 2019-11-14 22:18:25
I cant access request from android
praneet81 2019-11-14 23:09:18
Is stack over flow down?
|