PHP code example of makeitheady / simplesamlphp-module-mongodb

1. Go to this page and download the library: Download makeitheady/simplesamlphp-module-mongodb 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/ */

    

makeitheady / simplesamlphp-module-mongodb example snippets


php composer.phar 

export DB_DEFAULT_CONNECTION=<database connection>
export DB_MONGODB_DATABASE=<database>

vendor/bin/phpunit --bootstrap vendor/autoload.php --testsuite Store Tests