Is it better to install Laravel globally on Linux or always create a project using Composer?

|
JulioSchoen 2021-03-10 00:26:04
Hello!
is it better to install Laravel globally on Linux or always create a project using Composer?
2021-03-10 01:40:50
Please can any body help me I want to know how follow button work s
uzkurama 2021-03-10 01:41:45
laravel_discuss-72982.jpg
Hi boys & girls 🙂

Need help with nested relationships, how to update them.

For example I have multiple form like this, and i need update by count of form-rows, add or delete relationship

uzkurama 2021-03-10 01:46:29
Parent relationship

public function order_details()
{
return $this->hasMany(OrderDetails::class);
}

Child relationship

public function markets()
{
return $this->belongsToMany(Markets::class, ‘orders_markets’, ‘order_details_id’, ‘market_id’)->with(‘orders’);
}

when I try $orders->order_details()->markets()->update(*array*), gettin error

Call to undefined method IlluminateDatabaseEloquentRelationsHasMany::markets()

YgmiLawliet 2021-03-10 05:18:50
laravel_discuss-72990.jpg
Hi guys can I ask something…how to make the second drop-down hold Id and when we search it will appear the whole table of information from another table related to ‘Nama IPTS’
2021-03-10 05:28:39
You can use ajax when select on change after that fetch the data and then dom to your table
justine_chacko 2021-03-10 06:55:07
I want to resell godaddy domains through my laravel app. What are the options available? Any easy way without package (through api only). What about this https://github.com/betapeak/laravel-godaddy
binumathew 2021-03-10 08:10:34
Any react native developers here?
Midhun 2021-03-10 09:52:52
How can I set any method matching to the controller method

Like test.com/(:any)

The route could be like Route::get(‘/(:any)’, Contoller::$1 ) ( codeignitor syntax)

Moses Ejim 2021-03-10 11:44:31
Please who has worked with ternary relationships in laravel?
ad2030w 2021-03-10 11:48:06
Can you help for grid view💔
2021-03-10 12:20:31
Midhun 2021-03-10 09:52:52
How can I set any method matching to the controller method

Like test.com/(:any)

The route could be like Route::get(‘/(:any)’, Contoller::$1 ) ( codeignitor syntax)

By writing Route::get(‘/{any}’, [AnyController::class, ‘any_method’]);

2021-03-10 13:03:49
How to set single admin panel for Laravel 8 no other registration
Am beginner help me
2021-03-10 13:04:14
2021-03-10 13:03:49
How to set single admin panel for Laravel 8 no other registration
Am beginner help me

No user registration but need admin login

ajay sharma 2021-03-10 13:55:29
I need a laravel ecommerce free theme for personal project, any one have any idea the version should be 6 or 6 +
TecherrorNR9 2021-03-10 14:00:25
laravel_discuss-73004.jpg
Please help me
TecherrorNR9 2021-03-10 14:03:04
TecherrorNR9 2021-03-10 14:00:25
Please help me

Please help me

pravin575 2021-03-10 14:05:25
How to remove the unused css and Javascript code from our website to improve the google page speed score.
TecherrorNR9 2021-03-10 14:12:34
TecherrorNR9 2021-03-10 14:00:25
Please help me

somebody help me

2021-03-10 14:14:00
TecherrorNR9 2021-03-10 14:00:25
Please help me

Add that service provider to your providers folder servicer provider file

TecherrorNR9 2021-03-10 14:24:39
2021-03-10 14:14:00
Add that service provider to your providers folder servicer provider file

how

2021-03-10 14:25:23
TecherrorNR9 2021-03-10 14:24:39
how

Google this, add services to laravel services providers stack overflow

Ehab_Darkoush 2021-03-10 14:29:26
Hello , when I install composer I find this error (The “https://getcomposer.org/versions” file could not be downloaded: failed to open stream: No connection could be made because the target machine actively refused it.) I search on the internet put I can’t find the solve for this problem. Anyone can help me ?
TheGuyi 2021-03-10 14:31:36
YgmiLawliet 2021-03-10 00:11:57
Any examples I can follow?

yes plenty online

Prem Soni 2021-03-10 14:31:56
Ehab_Darkoush 2021-03-10 14:29:26
Hello , when I install composer I find this error (The “https://getcomposer.org/versions” file could not be downloaded: failed to open stream: No connection could be made because the target machine actively refused it.) I search on the internet put I can’t find the solve for this problem. Anyone can help me ?

https://getcomposer.org/ download from this website

TheGuyi 2021-03-10 14:32:05
TheGuyi 2021-03-10 14:31:36
yes plenty online

i would advise using laravel for API and VUE JS as front end

Ehab_Darkoush 2021-03-10 14:32:54
Prem Soni 2021-03-10 14:31:56
https://getcomposer.org/ download from this website

Thanks, I will try that

Prem Soni 2021-03-10 14:43:40
Ehab_Darkoush 2021-03-10 14:32:54
Thanks, I will try that

welcome

akash 2021-03-10 15:05:22
For otp verification we are saving opt in server session
akash 2021-03-10 15:05:42
But when I use vue js axios to do post requests, it’s clearing larvel sessions
akash 2021-03-10 15:09:10
Is fe and server session issue?
akash 2021-03-10 15:09:24
Or the way we saying otp in session is wrong
TheGuyi 2021-03-10 15:38:21
akash 2021-03-10 15:09:24
Or the way we saying otp in session is wrong

show code please

LahFavour 2021-03-10 16:04:26
TecherrorNR9 2021-03-10 14:00:25
Please help me

Wats d name of dis application plsss

akash 2021-03-10 16:05:18
async verifyOtp({ commit }, data) {
console.log(this is data, data);

await axios
.post(url + verifyotp, data , {
headers: {
‘Content-Type’: “application/json; charset=utf-8”,
“Accept”: “application/json”
},

})

.then(
(response) => {
commit(“SET_sentOtp”, response);
},
(error) => {
console.log(error);
}
);

},

|