-
Real-Time Communication in PHP Laravel: Part 2
Last updated: Friday, December 22, 2023
Published in: CODE Magazine: 2024 - January/February
Bilal shows you how WebSockets in PHP Laravel orchestrate real-time communication and interactions. The article provides a comprehensive overview of WebSockets, along with practical examples of their implementation in Laravel using packages such as Laravel Echo and Pusher. It covers the different types of broadcasting channels, including public, private, and presence channels, and explains how to authenticate users for private and presence channels. The article also explores broadcasting events and notifications, and provides step-by-step instructions on setting up and configuring a Laravel application for real-time communication with WebSockets.
-
Introduction to Real-Time Communication in PHP Laravel
Last updated: Wednesday, November 29, 2023
Published in: CODE Magazine: 2023 - November/December
Bilal shows you how real-time communication creates opportunities for building dynamic and interactive web applications using PHP Laravel with Server-Sent Events and OpenAI Chat.
-
Authentication in Laravel, Part 2: Token Authentication
Last updated: Wednesday, November 6, 2024
Published in: CODE Magazine: 2023 - September/October
In Part 2 of Bilal’s Authentication series, you’ll learn Token authentication in Laravel, which involves exchanging a token between the client and server for authentication, instead of sending credentials with each request. Laravel offers two packages for Token Authentication: Laravel Passport and Laravel Sanctum.
-
Authentication in Laravel: Part 1
Last updated: Tuesday, October 22, 2024
Published in: CODE Magazine: 2023 - May/Jun
Using Laravel’s built-in authentication to secure your application is simpler than you’d think. Bilal shows you how.
-
Mastering Routing and Middleware in PHP Laravel
Last updated: Thursday, December 8, 2022
Published in: CODE Magazine: 2023 - January/February
Learn about middleware and how to create routes to control incoming HTTP requests with controllers and use route groups in PHP Laravel.
-
Dependency Injection and Service Container in Laravel
Last updated: Monday, December 5, 2022
Published in: CODE Magazine: 2022 - November/December
Bilal infuses some dependency injection into web applications with PHP Laravel. You’ll want to learn all about it to keep your code clear and uncluttered.
-
Building MVC Applications in PHP Laravel: Part 2
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - July/August
Last time, Bilal looked at Models—the M in MVC. This time, he explains about Views and Controllers (the V and the C) and how to take advantage of them in PHP Laravel.
-
Building MVC Applications in PHP Laravel: Part 1
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - May/June
Bilal is determined to make you a better coder. This time, he embarks on a deep dive into the M of Model View Controller applications in PHP Laravel.
-
Beginner’s Guide to Deploying PHP Laravel on the Google Cloud Platform: Part 3
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - March/April
Bilal continues his series on the PHP Laravel framework by securing the POST request and the Google Cloud Platform. He introduces two new features: storing files in Google Cloud Storage buckets using Laravel and using a Cloud Build Workflow step to snapshot the Cloud MySQL database as a backup.
-
Beginner’s Guide to Deploying PHP Laravel on the Google Cloud Platform: Part 2
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2022 - January/February
Bilal continues his series on the PHP Laravel framework by connecting the app to a local MySQL database, involving the Google Cloud SQL service, and then running a Laravel database migration from the Cloud Build workflow.
-
Beginner’s Guide to Deploying PHP Laravel on the Google Cloud Platform
Last updated: Wednesday, August 31, 2022
Published in: CODE Magazine: 2021 - November/December
Bilal starts a new series about using the Google Cloud Platform to deploy a PHP Laravel application.