Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fajarwz/blog-laravel-observers-events
An implementation of Observer Pattern in Laravel from fajarwz.com/blog
https://github.com/fajarwz/blog-laravel-observers-events
design-patterns example-project laravel laravel-events laravel-observers observer-pattern php
Last synced: 21 days ago
JSON representation
An implementation of Observer Pattern in Laravel from fajarwz.com/blog
- Host: GitHub
- URL: https://github.com/fajarwz/blog-laravel-observers-events
- Owner: fajarwz
- Created: 2024-06-12T13:57:28.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-06-12T13:57:58.000Z (7 months ago)
- Last Synced: 2024-12-06T06:47:20.133Z (28 days ago)
- Topics: design-patterns, example-project, laravel, laravel-events, laravel-observers, observer-pattern, php
- Language: PHP
- Homepage: https://fajarwz.com/blog/observer-pattern-in-laravel-with-observers-and-events/
- Size: 62.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://fajarwz.com/blog/observer-pattern-in-laravel-with-observers-and-events/).## 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
```