In this tutorial we're going to learn how to use and create your own Laravel facades.
A facade provides a static way of accessing the Laravel service container. The service container allows you to instaniate classes via an alias. You can access the service container by using the app() or resolve() helper functions, passing in the alias for the class you want to return.$client = app('api-client');
Get weekly updates to your email