PHP code example of mramsden / tefel

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

    

mramsden / tefel example snippets


$tefel = new Tefel($stationFacilitiesFeedUrl, $appId, $appKey);
/** @var $stations Tefel\Feed\Station[] */
$stations = $tefel->getStations();

'providers' => array(
  // ...
  'Tefel\TefelServiceProvider',
),

'aliases' => array(
  // ...
  'TFL' => 'Tefel\Facade\TefelFacade',
),

/** @var $stations Tefel\Feed\Station[] */
$stations = Tefel::getStations();

php artisan config:publish mramsden/tefel