Download the PHP package synergixe/php-beamzer without Composer
On this page you can find all versions of the php package synergixe/php-beamzer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download synergixe/php-beamzer
More information about synergixe/php-beamzer
Files in synergixe/php-beamzer
Package php-beamzer
Short Description This is a library that provides support for real-time feeds and notifications for PHP web applications
License MIT
Informations about the package php-beamzer
PHPBeamzer
This is a library that adds cross-browser support for real-time feeds and notifications to PHP web applications in an easy way (using Server-Sent Events (SSE) only). It currently supports Laravel version 5.4, 5.5, 5.6 and 5.7 only.
How to Use
Load Up the package from Composer
Publish the config for the package to the Laravel config folder
This will create the package's config file called beamzer.php
in the config
directory of your Laravel Project. These are the contents of the published config file:
Create the event listener to be used with the nofication custom event using the custom command provided by the package
Then create your Laravel Controllers
Create the Laravel Notifications Database Table
Register the route for returning your stream notifications and for create notifications
Update the app config for service provider and alias classes
If you use Laravel 5.5 and above don't bother doing this as it is included automatically
Setup the Controller for read notifications from the DB and return it to PHPBeamzer
Setup the EventServiceProvider to Configure Laravel events for Creating Notifications
Setup Controller to fire Event when something happens within your Application
Add the Modifier Traits (Actionable, Describable) to the Subject of your Notifications
Modify the generated NotificableEventListener to include your own code in the handle method
On the client-side, setup beamzer-client JS libary like so
License
MIT
Requirement
- PHP 5.6.4 +
- Redis Server (Optional)
Support
It isn't absolutely necessary but you can use this library with its front end component library called beamzer-client. This front end library support the follwoing browsers:
- IE 9.0+
- FF 4.0+
- Opera 10.5+
- Chrome 4.0+
- Safari 7.0+
Contributing
You can contribute to this project by setting up a DOCS section or sending in a PR. report bugs and feature requests to the issue tracker
All versions of php-beamzer with dependencies
nesbot/carbon Version ^1.22
illuminate/notifications Version ^5.4
illuminate/support Version ^5.4
illuminate/queue Version ^5.4
illuminate/redis Version ^5.4
illuminate/database Version ^5.4
igorw/event-source Version ~1.0
illuminate/console Version ^5.4
symfony/http-foundation Version ^3.3 || ^4.1