Laravel Interview Question Answer
What is PSR-4 in Laravel?

By PSR-4 , We can define namesaces in any location, For example we create user namespace that looks classes for
app/usersection and we define location in composer.json.

 

"autoload": {
"classmap": [
"app/database/migrations",
"app/database/seeds"
],

"psr-4": {
"User\\": "app/usersection/",

}
},

What is default packages of Laravel 5.4 ?

Cashier
Envoy
Passport
Scout
Socialite


Next

Share on Facebook
Success Story
Promod
Avatar
Seo expert
IT&DC
My friends had advised me to go for the language courses for web development but I was scared that it was not my cup of tea. Then I started to get trained in the web development course under IT and DC and saw that it is fun and interesting. Now I am very busy doing the web development of different companies as a freelancer and am doing well as a developer.
Vinay Raj
Avatar
Webdeveloper
Falcon software PVT Ltd.
My idea for the PHP development as a difficult course was wrong and I came to know that when I joined It and Dc and got the training. Then I came to know that this is an interesting subject and I started enjoying it. Now I own my websites and am happily developing them on my own. I like this work and am grateful to the training for showing me the way.
Sponsored Ads