Laravel Facades: What are Facades used in Laravel & how to use them in App with examples?

QiroLab February 15, 2022
Video Thumbnail

About

We create free tutorials and open source tools for Laravel and Javascript developers to make it easier to build products and apps quickly. Explore the collection of web development tutorials, latest news, and tips on various technologies like PHP, Laravel, WordPress, VueJs, ReactJs, NodeJs, etc. 🌟 Support my work: 1. On BuyMeACoffee: https://www.buymeacoffee.com/qirolab 2. On Patreon: https://www.patreon.com/qirolab

Video Description

A facade in Laravel is a wrapper around a non-static function that turns it into a static function. Before we continue, you need to have a basic understanding of Laravel Ioc service containers. #Laravel #PHP #LaravelPHP #Qirolab ▶ Laravel’s service container https://www.youtube.com/watch?v=TQGq6k8HQk4 ▶ How to modify created_at & updated_at timestamps in Laravel? https://www.youtube.com/watch?v=0ofKuncEh-0 ▶ How to use UUID as the Primary key instead of auto-increment IDs in the Laravel application? https://www.youtube.com/watch?v=1XIMI5kOPuc ▶ Laravel Tips and Tricks https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWjBb6io51X0a3Apdf8Bm3z ▶ Laravel Model Lifecycle Events and How to use Observers in Laravel? https://www.youtube.com/watch?v=7GUaH6BI_V0 ▶ #1: SPA Authentication using Laravel Sanctum https://www.youtube.com/watch?v=8Uwn5M6WTe0 ▶ #2: API Token Authentication using Laravel Sanctum https://www.youtube.com/watch?v=2bslfjKEAik ▶ Laravel Eloquent Relationships https://www.youtube.com/playlist?list=PL1TrjkMQ8UbVyIT0cDX-54gN5tunWZvaI ▶ Impersonating Users in Laravel And Example of TDD using PHPUnit https://www.youtube.com/watch?v=rT2zbACgysM ▶ Laravel Macros - How to create a Macro? How to create a class-based macro using mixin? https://www.youtube.com/watch?v=cqm72704ZCE ▶ Laravel Packages https://www.youtube.com/playlist?list=PL1TrjkMQ8UbVvcFXGEiw9pke7AuyrjdXv ▶ Laravel Backup Tutorial https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWIMDkTK4f_oL0rQR5UV0O1 ▶ Laravel Fortify Tutorial https://www.youtube.com/playlist?list=PL1TrjkMQ8UbU2BrO6ubfXio3OG4t6Oqpz ▶ Laravel Passport Tutorials https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWqLEiPjsmuoTJNLKbcsYce ▶ Setup Web Development Environment Ubuntu https://www.youtube.com/playlist?list=PL1TrjkMQ8UbUsk2YD-gJ_OfJWi_pIJ5BV ⌚ Timestamps: 00:00 Introduction 00:51 Definition of Facade 03:15 Example of in-built Facade 06:08 Create a custom Facade 11:42 Aliases for Facades 13:41 Create our own implementation of Facade 18:54 Real-Time Facades Support my work: 1. On BuyMeACoffee: https://www.buymeacoffee.com/qirolab 2. On Patreon: https://www.patreon.com/qirolab 𝐃𝐢𝐠𝐢𝐭𝐚𝐥𝐎𝐜𝐞𝐚𝐧 𝐑𝐞𝐟𝐞𝐫𝐫𝐚𝐥 https://m.do.co/c/e740238537d0 Also, follow us on: 𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: https://fb.com/qirolab 𝐓𝐰𝐢𝐭𝐭𝐞𝐫: https://twitter.com/qirolab

You May Also Like