Download the PHP package owowagency/laravel-nofitication-bundler without Composer

On this page you can find all versions of the php package owowagency/laravel-nofitication-bundler. 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 laravel-nofitication-bundler

Release shield Workflow shield Downloads shield

A package for Laravel that bundles notifications sent within a specified delay for a single user.

๐Ÿ“– Table of contents

  1. Installation
  2. Usage
    1. Limitations
    2. Changing the delay
    3. Specify the channels to bundle Contributing
  3. License
  4. OWOW

โš™๏ธ Installation

Installing this package can be done by using Composer:

๐Ÿ› ๏ธ Usage

Here is a simple example of how to use this package.

Limitations

Because of limitations in Laravel, the database channel must implicitly use the toArray, or toDatabase method. To get the notifications in those functions, you can use the getBundle() method.

When you want to add custom middleware, it is important to always apply the bundle middleware first. If you don't do this, your notification could be bundled with a another notification later on, which can cause unexpected results.

Changing the delay

By default, the delay is set to 30 seconds. You can change this delay by publishing the config file and changing the bundle_notifications_after_seconds value.

To change it per notification, the bundleDelay() method can be used.

To take even more control, you can use the withDelay() method to specify a delay per channel.

Specify the channels to bundle

By default, all channels are bundled. You can change this by using the bundleChannels() method.

๐Ÿซถ Contributing

Please see CONTRIBUTING for details.

๐Ÿ“œ License

The MIT License (MIT). Please see License File for more information.


This package has been brought to you with much love by the wizkids of OWOW. Do you like this package? Weโ€™re still looking for new talent and Wizkids. So do you want to contribute to open source, while getting paid? Apply now.


All versions of laravel-nofitication-bundler with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/bus Version ^9.18|^10.0
illuminate/conditionable Version ^9.18|^10.0
illuminate/console Version ^9.18|^10.0
illuminate/database Version ^9.18|^10.0
illuminate/pipeline Version ^9.18|^10.0
illuminate/support Version ^9.18|^10.0
symfony/console Version ^6.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 owowagency/laravel-nofitication-bundler contains the following files

Loading the files please wait ....