This is an implementation of Observer Pattern in Laravel with Observers and Events. A blog about this can be found here: Observer Pattern in Laravel With Observers and Events | Fajarwz.
composer install
Create .env
from .env.example
and customize it based on your environment.
cp .env.example .env
php artisan key:generate
php artisan migrate --seed
Run local web server
php artisan serve