Download the PHP package laravelwudel/laravelwudel-notif without Composer
On this page you can find all versions of the php package laravelwudel/laravelwudel-notif. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravelwudel/laravelwudel-notif
More information about laravelwudel/laravelwudel-notif
Files in laravelwudel/laravelwudel-notif
Package laravelwudel-notif
Short Description A comprehensive Laravel package for web push notifications with VAPID support - 100% Custom Implementation, No External Dependencies
License MIT
Homepage https://github.com/idpcks/laravelwudel_notif
Informations about the package laravelwudel-notif
Laravel Push Notification Package
Package Laravel yang komprehensif untuk web push notifications dengan dukungan VAPID.
Version: 1.0.3 | Release Date: 20 Agust 2025
📖 Documentation: VERSIONING.md
Fitur
- ✅ Dukungan Laravel 11 & 12
- ✅ Web Push Notifications dengan VAPID (Custom Implementation)
- ✅ 100% Custom Code - Tidak bergantung pada library eksternal
- ✅ Service Provider auto-discovery
- ✅ Facade untuk kemudahan penggunaan
- ✅ Model dan Migration yang fleksibel
- ✅ Queue support untuk notifikasi massal
- ✅ Error handling yang robust
- ✅ Logging yang detail
- ✅ Testing support
- ✅ Branding Sendiri - LaravelWudel Notif
Instalasi
1. Install via Composer
2. Publish Configuration dan Migration
3. Jalankan Migration
4. Generate VAPID Keys
Konfigurasi
Environment Variables
⚠️ IMPORTANT: VAPID keys are required for this package to function.
Tambahkan ke file .env:
Note:
WEBPUSH_VAPID_SUBJECTharus dalam formatmailto:[email protected]WEBPUSH_VAPID_PUBLIC_KEYharus 87 karakter (base64)WEBPUSH_VAPID_PRIVATE_KEYharus 43 karakter (base64)- Jika keys tidak dikonfigurasi, package akan error dan memberikan pesan yang jelas
Config File
File config/laravelwudel-notif.php akan otomatis dibuat dengan konfigurasi default.
Penggunaan
Basic Usage
Via Service
Model Relationships
Frontend Integration
JavaScript
Service Worker
Commands
Generate VAPID Keys
Cleanup Old Subscriptions
Testing
Uninstall Instructions
📖 For detailed uninstall guide, see UNINSTALL.md
Automatic Uninstall (Recommended)
Package ini menyediakan uninstall otomatis yang akan membersihkan semua file dan cache secara otomatis:
Manual Uninstall (Jika Automatic Gagal)
Jika uninstall otomatis gagal, ikuti langkah manual berikut:
1. Hapus Package dari Composer
2. Hapus File Konfigurasi
3. Hapus Migration (Jika Sudah Dijalankan)
4. Hapus Model (Jika Sudah Di-publish)
5. Hapus Views dan Assets (Jika Sudah Di-publish)
6. Bersihkan Cache Laravel
7. Rebuild Autoload
Troubleshooting Uninstall Issues
Error: Service Provider Tidak Ditemukan
Jika mengalami error "Service Provider Tidak Ditemukan" setelah uninstall:
Error: Cache Corruption
Jika cache Laravel menjadi corrupt:
Emergency Cleanup Script
Jika semua cara di atas gagal, gunakan script emergency cleanup:
Post-Uninstall Checklist
Setelah uninstall, pastikan:
- [ ] Package sudah dihapus dari
composer.json - [ ] File konfigurasi sudah dihapus
- [ ] Migration sudah di-rollback dan dihapus
- [ ] Model sudah dihapus
- [ ] Views dan assets sudah dihapus
- [ ] Cache Laravel sudah dibersihkan
- [ ] Autoload sudah di-rebuild
- [ ] Aplikasi Laravel bisa dijalankan normal
Support untuk Uninstall Issues
Jika mengalami masalah saat uninstall:
- Buat Issue di GitHub Repository
- Jelaskan Error yang terjadi dengan detail
- Lampirkan Log error jika ada
- Sebutkan Versi Laravel dan PHP yang digunakan
Contributing
- Fork repository
- Create feature branch from
main - Commit changes
- Push to feature branch
- Create Pull Request to
mainbranch
Important: All releases and tags must be created from the main branch to ensure Packagist gets the stable version.
License
The MIT License (MIT). Please see License File for more information.
Repository & Links
- GitHub Repository: https://github.com/idpcks/laravelwudel_notif
- Packagist Package: https://packagist.org/packages/laravelwudel/laravelwudel-notif
Installation via Composer
Package ini sudah tersedia di Packagist dan dapat diinstall dengan mudah:
🚀 Custom Implementation
Package ini menggunakan 100% custom implementation Semua fitur web push notification diimplementasikan dari awal menggunakan:
- Custom VAPID Key Generation - Generate keys menggunakan OpenSSL
- Custom Web Push Service - Implementasi lengkap web push protocol
- Custom JWT Signing - ECDSA signing untuk VAPID authentication
- Custom HTTP Client - Menggunakan Guzzle untuk HTTP requests
- Custom Error Handling - Error handling yang robust dan customizable
Keuntungan Custom Implementation:
✅ Branding Sendiri - Tidak ada dependency eksternal
✅ Full Control - Kontrol penuh atas semua fitur
✅ Performance - Optimized untuk kebutuhan spesifik
✅ Security - Implementasi security yang dapat diaudit
✅ Maintenance - Tidak bergantung pada update library lain
✅ Customization - Mudah disesuaikan dengan kebutuhan
Support
Untuk dukungan, silakan buat issue di repository GitHub atau hubungi tim LaravelWudel.