PHP code example of felixdorn / nest
1. Go to this page and download the library: Download felixdorn/nest 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/ */
felixdorn / nest example snippets
[
["starts_at" => "2021-01-01 15:00:00", "ends_at" => "2021-01-01 16:00:00"]
]
composer
\Felix\Nest\Nest::compile(
'everyday for an hour at 12',
\Carbon\CarbonPeriod::create(
\Carbon\Carbon::now(),
\Carbon\Carbon::now()->addWeek()
)
# Optionally, you can also pass the current time as a third parameter.
# \Carbon\Carbon::now()
)