Showing 10 of 1,280 results.

Fully Qualified Names vs. Aliases | Laravel 5 Facades

Fully qualified names, such as "Illuminate\Support\Facades\Input" are longer, but offer greater clarity on what class is being imported. At the end of the day, it comes down to personal preference.

Creating a Facade Alias | Laravel 5 Facades

Creating a facade alias is completely optional. Package developers often include the following steps in their package installation instructions, but it is not required for a facade to work. In the config/app.php file, there is an aliases...

Aliasing Other Classes | Laravel 5 Facades

Classes, other than facades, can be added to the aliases configuration entry. This will cause them to be available under whatever name was provided, and in the global namespace. Although this can be convenient and useful thing to do, other options...

Facade Class Reference | Laravel 5 Facades

The following tables will list all the facades that are available by default. In addition, they will display the name of the service container binding as well as the class behind the facade. If a particular facade provides additional methods (that...