Download the PHP package rakeshthapac/laratime without Composer
On this page you can find all versions of the php package rakeshthapac/laratime. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rakeshthapac/laratime
More information about rakeshthapac/laratime
Files in rakeshthapac/laratime
Download rakeshthapac/laratime
More information about rakeshthapac/laratime
Files in rakeshthapac/laratime
Vendor rakeshthapac
Package laratime
Short Description Cool laravel package to broadcast database updates using websockets for realtime system
License MIT
Package laratime
Short Description Cool laravel package to broadcast database updates using websockets for realtime system
License MIT
Please rate this library. Is it a good library?
Informations about the package laratime
LaraTime
Provides a cool way to make your system realtime by sending real-time database updates using WebSockets
Installation
- Setup websocket in your application (Pusher, Laravel-Websockets)
-
Require this package in your project
- Now install small npm package laratime-js
Usage
- Just plug one trait into your model and you are ready to go
Usage (Frontend laratime-js)
-
import laratime from laratime-js and pass it the Echo instance
-
Now you are ready to listen for database changes
- Using laratime-js you can listen to updates of a table using db(tableName) and by chaining on(eventName) you can listen to three different events:
- added
- updated
- deleted
- You can hook a callaback which accepts the added (or updated or deleted) model as the first argument as javascript object.
All versions of laratime with dependencies
PHP Build Version
Package Version
No informations.
The package rakeshthapac/laratime contains the following files
Loading the files please wait ....