IO

Codacy Badge StyleCI License Total Downloads Latest Stable Version

IO process monitoring dependency for Laravel-Enso.

This package works exclusively within the Enso ecosystem.

The front end assets that utilize this api are present in the ui package.

For live examples and demos, you may visit laravel-enso.com

Installation

Comes pre-installed in Enso.

Features

  • provides a series of classes useful when working with long running IO operations
  • includes the reusable IOEvent broadcastable event class
  • is already used in the Data Import and Data Export packages
  • comes with Enums for the events, statuses and types
  • provides an observer that can be used on models that perform IO operations

Usage

When wishing to broadcast IO events you need to:

  • add the HasIOStatuses on the desired model
  • the model must implement the IOOperation interface
  • in AppServiceProvider, set the IOObserver to observe the model

Whenever the model will be created, or updated, an event will be dispatched.

The Enso front end assets are designed to display the progress information available in the dispatched events.

Contributions

are welcome. Pull requests are great, but issues are good too.

License

This package is released under the MIT license.