Download the PHP package gupalo/browser-notifier without Composer
On this page you can find all versions of the php package gupalo/browser-notifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gupalo/browser-notifier
More information about gupalo/browser-notifier
Files in gupalo/browser-notifier
Download gupalo/browser-notifier
More information about gupalo/browser-notifier
Files in gupalo/browser-notifier
Vendor gupalo
Package browser-notifier
Short Description Extension of Symfony Notifier for browsers
License MIT
Package browser-notifier
Short Description Extension of Symfony Notifier for browsers
License MIT
Please rate this library. Is it a good library?
Informations about the package browser-notifier
BrowserNotifier
Simple use of Symfony Notifier.
Install
Composer
composer require gupalo/browser-notifier
Create config/packages/browser_notifier.yaml
imports:
- {resource: '../../vendor/gupalo/browser-notifier/config/services.yaml'}
Usage
Controller
public function ...(..., BrowserNotifier $notifier): Response
{
...
$notifier->send('Something');
$notifier->success('Something');
$notifier->warning('Something');
$notifier->error('Something');
...
}
Twig
{{ app.request.hasPreviousSession ? app.flashes('info')|browser_notifications|raw : '' }}
Use BrowserLogger
as logger implementing LoggerInterface
.
All versions of browser-notifier with dependencies
PHP Build Version
Package Version
The package gupalo/browser-notifier contains the following files
Loading the files please wait ....