PHP code example of srwiez / queue-size-health-check

1. Go to this page and download the library: Download srwiez/queue-size-health-check library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

srwiez / queue-size-health-check example snippets


use QueueSizeHealthCheck\QueueSizeCheck;

QueueSizeCheck::new()
    ->queue('static_cache', 3)
    ->queue('default', 100),