Answer Posted / 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 View All Answers
What is laravel and why it is used?
What is name route in laravel?
What is route model binding in laravel?
List available types of relationships in laravel eloquent.
Is laravel support caching? Explain
Explain the concept of events in laravel.
What are the server requirements for laravel 6.0?
How to check composer is installed or not in laravel?
Write a code to upload a file in laravel 5?
How secure is laravel?
List the software’s included in laravel homestead?
Tell me does laravel support caching?
Is valet supports windows or ubuntu environment?
What is the boot method?
Tell me why laravel over other php frameworks?