PHP code example of scandesignsdk / enetpulse-parser

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

    

scandesignsdk / enetpulse-parser example snippets



$events = (new \SDM\Enetpulse\Generator($config))
    ->getEventProvider()
    // Lets find the latest 10 finished events
    ->getFinishedEvents(10)
    // We could also get upcoming, live, yesterdays, today, tomorrow,
//    ->getUpcomingEvents()
//    ->getLiveEvents()
//    ->getYesterdayEvents()
//    ->getTodayEvents()
//    ->getTomorrowEvents()
;


 foreach ($events as $event):