Assalamualaikum, It’s been awhile since my last blog post. Today, just want to share something simple, an enhancement of LARAVEL: CREATE HASHED ID FOR A RESOURCE USING OBSERVER. Going to refactor a bit. First, let’s modify the app/Observers/Kernel.php, to be like the following: Next, add new config file for our observer – config/observers.php: And that’s… Read More »
From previous post, we extend the usage of Notifications, Event and Listener to have a mechanism where user need to activate their account in order to use the application. In this Part 1, we just setup the Notification, Event and Listener. Part 2 will be about how do we check if user already activate their… Read More »
A quick post on how to setup a welcome email on user registration. Make sure you have a mailtrap.io account for testing purpose, or production you may use SparkPost, or GMail SMTP, or any provider should work with proper .env on mail configuration.
Solution: Use `changelayer` event to capture layer visibility changes.