Download the PHP package sifex/sla-timer without Composer
On this page you can find all versions of the php package sifex/sla-timer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sifex/sla-timer
More information about sifex/sla-timer
Files in sifex/sla-timer
Package sla-timer
Short Description A PHP package for calculating & tracking the Service Level Agreement completion timings
License MIT
Homepage https://github.com/sifex/sla-timer
Informations about the package sla-timer
A PHP package for calculating & tracking the Service Level Agreement completion timings.
Features
- 🕚 Easy schedule building
- ‼️ Defined breaches
- 🏝 Holiday & Paused Durations
Installation
You can install the sla-timer
via composer:
Getting Started
The best place to get started with SLA timer is to head over to the ✨ SLA Timer Getting Started Documentation.
Example Usage
To create a new SLA Timer, we can start by defining our SLA Schedule:
We can define out breaches by calling the addBreaches
method on our SLA
Now that our SLA Schedule and SLA Breaches are defined, all we have to do is give our subject "creation time" – or our SLA start time – to either the status
method, or the duration
method.
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
- Alex
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of sla-timer with dependencies
cmixin/enhanced-period Version ^1.2
illuminate/collections Version ^8|^9|^10|^11
nesbot/carbon Version ^2
spatie/period Version ^2