PHP code example of markant-norge / php-bring-api

1. Go to this page and download the library: Download markant-norge/php-bring-api 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/ */

    

markant-norge / php-bring-api example snippets


cd example/
export BRING_UID="[email protected]" && export BRING_API_KEY="xxxxxx-xxxxx-xxx-xxxx" && export BRING_CUSTOMER="BRING__CUSTOMER_NUMBER" && php booking-api.php