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
Saurabh Khurana
Avatar
Seo executive
Marstech Conslutant
There is a great demand of SEO these days. After completing my graduation, I thought to join a SEO course. However, I am not aware of any institutions, where I can undertake this training. My friend suggested to join It and Dc, and believe me I have been benefited to a great extent.
Sanjay Kumar
Avatar
Programmer
Falcon software PVT Ltd.
The string functions and HTML platform that we worked on for the PHP codes at IT and DC training institute gave us new avenues to explore and my current job is also due to the new faith in the subject and the knowledge that I have gained by exploring the grounds. I am happy that I joined this institute for the course.
Sponsored Ads