Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to create Facade in Laravel ?



How to create Facade in Laravel ?..

Answer / suresh kumar

The following are the steps to create Facade in Laravel -

Step 1 - Create PHP Class File.

Step 2 - Bind that class to Service Provider.

Step 3 - Register that ServiceProvider to

Configapp.php as providers.

Step 4 - Create Class which is this class extends to

lluminateSupportFacadesFacade.

Step 5 - Register point 4 to Configapp.php as aliases.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

What is controller in laravel?

0 Answers  


What is api php in laravel?

0 Answers  


Is laravel the best php framework?

0 Answers  


How to generate it on homestead?

0 Answers  


What is laravel artisan?

0 Answers  


How do I make a particular task run everyday by 10pm?

0 Answers  


What is the difference between facades vs helper functions?

0 Answers  


What are blade templates?

0 Answers  


What is gate in laravel?

0 Answers  


What is laravel orm?

0 Answers  


Is laravel an mvc framework?

0 Answers  


How do you call artisan command in laravel?

0 Answers  


Categories