Download the PHP package tabuna/failback without Composer
On this page you can find all versions of the php package tabuna/failback. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tabuna/failback
More information about tabuna/failback
Files in tabuna/failback
Download tabuna/failback
More information about tabuna/failback
Files in tabuna/failback
Vendor tabuna
Package failback
Short Description Small wrapper for creating a branch of inaccessibility
License MIT
Homepage https://github.com/tabuna/fallback
Package failback
Short Description Small wrapper for creating a branch of inaccessibility
License MIT
Homepage https://github.com/tabuna/fallback
Please rate this library. Is it a good library?
Informations about the package failback
Actions for Failback
Actions for Failback is a lightweight wrapper that empowers you to handle unavailability gracefully.
Installation
To install the package, you can use Composer. Simply run the following command:
Usage
Setting a Default Value:
You can create an action with a default value using the following code:
Adding Fallback Actions:
You can define multiple fallback actions using the fail
method:
Utilizing Classes:
To specify a fallback action using a class, create an anonymous class with an __invoke
method:
License
The MIT License (MIT). Please see License File for more information.
All versions of failback with dependencies
PHP Build Version
Package Version
Requires
php Version
~7.1
The package tabuna/failback contains the following files
Loading the files please wait ....