| Feature | Event | Job | Notification |
|---|---|---|---|
| Purpose | Represents something that happened | Performs a task | Sends a message to the user |
| Meaning | Trigger | Background work | User alert/message |
| Used For | User Registered, Order Placed | Send Email, Generate PDF, Resize Image | Welcome Email, Order Update, Password Reset |
| Runs | Immediately when fired | Immediately or through a Queue | Immediately or through a Queue |
| Queue Support | Via queued listeners | Yes | Yes |
| Created By | php artisan make:event | php artisan make:job | php artisan make:notification |
| Example | event(new UserRegistered()) | SendEmailJob::dispatch() | $user->notify(new WelcomeNotification()) |
×
Laravel Tutorial
Install & Structure
Routing & Middleware
Controller
View
Migration
Advance Laravel
- Laravel - File Uploading
- Laravel - Request
- Observer In Laravel
- Gates and Policies in Laravel
- Laravel Work Flow
- Service Container and Provider
- Event & Listner
- Job & queue
- Notification
- Scheduling & Broadcasting
- Laravel Command
- API Authentication
- Exception Handling
- Soft Delete
- File Storage
- Testing
- Laravel Guard
Laravel Reading Section
Eloquent Laravel
Laravel Tutorial
Install & Structure
Routing & Middleware
Controller
View
Migration
Advance Laravel
- Laravel - File Uploading
- Laravel - Request
- Observer In Laravel
- Gates and Policies in Laravel
- Laravel Work Flow
- Service Container and Provider
- Event & Listner
- Job & queue
- Notification
- Scheduling & Broadcasting
- Laravel Command
- API Authentication
- Exception Handling
- Soft Delete
- File Storage
- Testing
- Laravel Guard