Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 757 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 757 Bytes

Observer Pattern in Laravel With Observers and Events

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.

Installation

Composer Packages

composer install

Configuration

Create .env file from .env.example

Create .env from .env.example and customize it based on your environment.

cp .env.example .env

Generate Laravel App Key

php artisan key:generate

Migrate the Database Migration

php artisan migrate --seed

Run the App

Run local web server

php artisan serve