PHP code example of mchampaneri / timeslicer

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

    

mchampaneri / timeslicer example snippets


    php artisan vendor:publish
  

    php artisan migrate
  

   MakeSlices($start_date, $end_date, $start_time, $end_time, $interval, $resource_id)
   

   SliceOfResource($id)
   

   SliceOfResourceDay($id, $on)
   

   BookedSliceOfResourceDay($id, $on)
   

   unBookedSliceOfResourceDay($id, $on)
   

    TimeConverter($string)
    

    rTimeConverter($string)