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 |
How to use ajax in any form submission?
By default valet serve your app on which tld? How to configure it to use another domain?
What are system requirement for laravel 5.0?
Explain how to upgrade valet to valet 2.0?
what is a Listeners ?
What is laravel contract?
How do I setup localization for an application?
How to Passing Data to Views ?
How will you explain homestead in laravel?
Is laravel an open source?
What are the Versions Laravel - Understanding Release Process ?
Explain me active record implementation?