Facades
[[toc]]
Introduction
facades
provide a "static" interface for the core functionality of the application and provide a more flexible, more elegant, and easy-to-test syntax.
All facades
of Goravel are defined under github.com/goravel/framework/facades
. We can easily use facades
:
How Facades Work
facades
are generally instantiated in the Register
or Boot
stage of each module ServerProvider
.
If the facades
use other facades
, then instantiate them in the Boot
phase of the ServerProvider
:
Facade Class Reference
Facade
Document
App
Artisan
Auth
Cache
Config
Crypt
Event
Gate
Grpc
Hash
Log
Orm
Queue
RateLimiter
Route
Schedule
Storage
Validation
Last updated