Download the PHP package finnwiel/shazzoo-notify without Composer

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

Shazzoo Mobile Notifications

A Laravel package to manage Expo push notifications with per-device preferences for the Shazzoo mobile app.

Packagist Version Laravel PHP

Features

Installation

Publish the migrations

Ensure the Laravel API and broadcasting stack are installed:

Make sure to add the HasApiTokens to the user model.

Also check if your .env file contains the correct settings for reverb.

Usage

Authentication

In the mobile app you can login with any user that has a profile on your laravel website. This package then stores the Expo token in a database together with the device type. This expo token is needed to send notifications.

For the desktop app you can also login using a profile that is registered in your app. This wil set a uuid to identify the pc and also set the device type to desktop.

Upon login your prefrences will all be set to enabled, if you want to disable them you will need to do so in the mobile app.

Sending Notifications

The notifications to desktop are sent via a websocket connection. So make sure to start reverb.

The command also accepts some tags:

Tag Description
--user= Takes in the email or id of a user
--type= Sets the type of notificaition you want to send.
--title= Sets the title of the notification
--body= Sets the body of the notification

Notification Types

You can define your own notification types. This package provides a notification_types table, where each type includes:

These types help organize and filter which notifications are sent and managed.

Queue

By default laravel uses a queue to send the events, so you will have to run:

If you dont want the notifications to be sent on a queue you can set the QUEUE_CONNECTION to sync in the .env file.

License

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


All versions of shazzoo-notify with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0
spatie/laravel-package-tools Version ^1.92
laravel/reverb Version ^1.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 finnwiel/shazzoo-notify contains the following files

Loading the files please wait ....