PHP code example of zarbinco / laravel-workdays

1. Go to this page and download the library: Download zarbinco/laravel-workdays 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/ */

    

zarbinco / laravel-workdays example snippets


use Zarbinco\LaravelWorkdays\Facades\Workday;

echo Workday::profile('global')->nextBusinessDay('2026-11-06')->toDateString(), PHP_EOL;
text
2026-11-09