PHP code example of vermi0ffh / divia-totem

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

    

vermi0ffh / divia-totem example snippets


$arrets = $ligne->listerArrets();

$horaires = $arret->getHoraires();
foreach($horaires as $horaire) {
    foreach($horaire->passages as $passage) {
        var_dump($passage);
    }
}