1. Go to this page and download the library: Download jord-jd/attempt 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/ */
// Retry until this instant. No execution is started at or after the deadline.
attempt($operation)
->until(new DateTimeImmutable('+30 seconds'))
->withGap(5)
->now();
// Wait until this instant, then begin. A past time starts immediately.
attempt($operation)
->at(new DateTimeImmutable('+5 seconds'));
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.