Download the PHP package filagora/filagora-push without Composer

On this page you can find all versions of the php package filagora/filagora-push. 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 filagora-push

Filagora Push

Web push for Filagora: store people's browser subscriptions with the safety checks they need, clean up the stale ones, include them in privacy exports, and send a push when someone is mentioned, a followed thread has a new post, or a private message arrives. Built on laravel-notification-channels/webpush; requires filagora/filagora-core.

The package is at 0.1: the API may change between 0.x minor versions. There is no frontend: the service worker and the subscribe button are yours.

What it provides

Overview

Web push for Filagora: browser subscriptions with the safety checks, stale clean-up, privacy, and push alerts for mentions, thread updates and private messages.

Tables

push_subscriptions, prefixed filagora_ by default. A site that already has them can run php artisan filagora:adopt instead of migrating.

Commands

Command What it does
filagora:push:prune-stale {--days=} {--dry-run} Delete browser push subscriptions that have not been used in a long time.

Events

This package fires no events.

Access

This package defines no abilities.

Using it

Requirements

PHP 8.4, Laravel 13 and Filament 5. Tested against MariaDB 11.4. Requires filagora/filagora-core.

Install

The web push client needs your VAPID keys and a contact (VAPID_SUBJECT). On the page, subscribe with registration.pushManager.subscribe({ userVisibleOnly: true, applicationServerKey }) and post the result to a route of yours that calls PushSubscriptions::store(); in the service worker, show the message and open data.url on click, and post to a route that calls resync() on pushsubscriptionchange.

Configuration

config/filagora-push.php is merged with the host's copy, so list only what differs. Publish it with php artisan vendor:publish --tag=filagora-push-config.

Extending

Extend through documented contracts, events and registries. Anything not documented is @internal.

Testing

Tests run against a real MariaDB, never SQLite, so engine behaviour (FULLTEXT, ONLY_FULL_GROUP_BY, collation) matches production. Host and credentials come from your environment; the database is always named testing, never your development one.

Local development (DDEV)

.ddev/ is included. ddev start creates both db and testing (run ddev restart once if testing is missing), then ddev exec vendor/bin/pest.

Licence

MIT. See LICENSE.


All versions of filagora-push with dependencies

PHP Build Version
Package Version
Requires filagora/filagora-core Version ^0.2.2
filament/filament Version ^5.0
laravel-notification-channels/webpush Version ^13.0
php Version ^8.4
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 filagora/filagora-push contains the following files

Loading the files please wait ...