Download the PHP package xentixar/filament-push-notifications without Composer

On this page you can find all versions of the php package xentixar/filament-push-notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-push-notifications

Filament Push Notifications

Latest Version on Packagist Total Downloads License

A comprehensive Laravel package that provides real-time push notifications for Filament applications. Native notifications use the Web Push API with service workers for persistent delivery, while local notifications provide in-app toast-style alerts. Built with WebSocket technology for instant real-time delivery.

✨ Features

� Documentation

�🚀 Installation

Prerequisites

Step 1: Install the Package

Step 2: Publish Configuration and Migrations

Step 3: Run Migrations

Step 4: Add Plugin to Admin Panel Provider

Add the push notifications plugin to your app/Providers/Filament/AdminPanelProvider.php:

Step 5: Generate VAPID Keys

Generate VAPID keys for web push notifications:

This will generate and add the VAPID keys to your .env file automatically.

Step 6: Publish Service Worker

Publish the service worker to your public directory:

Step 7: Configure Environment Variables

Add the following variables to your .env file:

🔧 Configuration

The package configuration file is located at config/filament-push-notifications.php. You can customize:

Refer to the config file for all available options.

📱 Usage

Starting the WebSocket Server

🎯 Notification Types

Native Notifications (Web Push)

Native notifications use the Web Push API with service workers for persistent delivery:

Users must subscribe to web push notifications by clicking the "Enable Web Push" button that appears in the bottom-right corner of the Filament admin panel.

Local Notifications (In-App)

In-app notifications that appear within the Filament admin panel:

🚀 Production Deployment

SSL/WSS Support

For production HTTPS sites, you need to configure WSS (secure WebSocket). Sockeon supports this through a reverse proxy like Nginx.

1. Create a Subdomain (Recommended) Create a subdomain for your WebSocket server (e.g., ws.your-domain.com).

2. Configure Environment Variables Update your .env file to separate the bind address from the public address:

3. Configure Nginx Point the subdomain to your internal Sockeon server:

Important Notes:

For more details, see Sockeon Reverse Proxy Documentation.

🔧 Troubleshooting

Common Issues

  1. Web Push Not Working

    • Ensure HTTPS is enabled (required for web push in production)
    • Check that VAPID keys are properly configured
    • Verify service worker is registered (check DevTools → Application → Service Workers)
    • Ensure user has granted notification permission
  2. WebSocket Connection Failed

    • Ensure the Sockeon server is running: php artisan sockeon:start
    • Check host and port configuration in .env
    • Verify firewall settings
  3. Notifications Not Appearing
    • Check browser console for errors
    • Verify user is subscribed to web push
    • Check WebSocket connection status

Debug Mode

Enable debug mode in your .env file:

🤝 Contributing

We welcome contributions! Please feel free to submit a Pull Request.

📄 License

This package is open-sourced software licensed under the MIT License.

🙏 Acknowledgments

📞 Support


Made with ❤️ by xentixar


All versions of filament-push-notifications with dependencies

PHP Build Version
Package Version
Requires filament/support Version ^4.0
sockeon/sockeon Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package xentixar/filament-push-notifications contains the following files

Loading the files please wait ...