PHP code example of sgomez / simplesamlphp-module-dbal

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

    

sgomez / simplesamlphp-module-dbal example snippets

[php]
    'store.type'                    => 'SimpleSAML\Modules\DBAL\Store\DBAL',
[php]
$config = array (
    'store.dbal.url'                => 'mysql://user:password@localhost:3306/simplesamlphp?charset=utf8mb4&serverVersion=5.7',
    // 'store.dbal.url'                => 'sqlite:///simplesamlphp.sqlite',
);