PHP code example of gordesch / cine-carbon-mixin

1. Go to this page and download the library: Download gordesch/cine-carbon-mixin 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/ */

    

gordesch / cine-carbon-mixin example snippets


Carbon::mixin(new \Gordesch\CineCarbonMixin());
Carbon::now()->cine()->startOfWeek()->dayOfWeek;     // 3 (Wednesday)