webpush
webpush copied to clipboard
Webpush notifications channel for Laravel.
PHP : 8.1 Laravel 9 When installing, I'm getting the followig warning and error `PHP Warning: "resource" is not a supported builtin type and will be interpreted as a class...
To support Firefox Android, automatic padding applied by WebPush has to be disabled: https://github.com/web-push-libs/web-push-php#how-can-i-disable-or-customize-automatic-padding This PR just applies the default 3052 bytes but you can set `automatic_padding` to false to...
Thanks for the library. It is working well for Chrome/Firefox for MAC/Windows. Also, working well with Edge for Windows and Android Chrome. However, it is giving me a problem when...
The notification does not appear if you are going to use the angular/pwa package as a service worker because in the payload, the main requirement is it should have one...
Whenever I run vendor: publish it creates new migration for push_subscription table even though it exists in migration I check the code and I found this condition is getting fail...
I followed the steps described on documentation to send notifications in an API Controller with webpush, but I keep receiving this message output: "message": "Target [NotificationChannels\\WebPush\\ReportHandlerInterface] is not instantiable while...
Hi, I have this error on web push with laravel 9. Please help me TypeError: get_object_vars(): Argument #1 ($object) must be of type object, array given in /home/.../vendor/pusher/pusher-php-server/src/Pusher.php:459 Thank you
I'd like to return `['webpush']` in the `via()` method instead of `WebPushChannel::class`. I based on https://medium.com/@sirajul.anik/laravel-notifications-part-2-creating-a-custom-notification-channel-6b0eb0d81294 and tried to register it in the `AppServiceProvider.php` with: ```php Notification::extend('webpush', function ($app) {...
Hi, I develop Laravel App with your packages. This is my route ```php Route::post('/save-subscription', 'NotificationController@subscribe')->name('subscription.save'); ``` That route is to save the JSON I just save the `endpoint` and don't...