PHP code example of atmaliance / yii2-atm-keycloak-entity

1. Go to this page and download the library: Download atmaliance/yii2-atm-keycloak-entity 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/ */

    

atmaliance / yii2-atm-keycloak-entity example snippets


return [
    'components' => [
        'keycloakEntityManager' => [
            'class' => \atmaliance\yii2_keycloak_entity\KeycloakEntityManager::class,
        ],
    ],
];

return [
    'components' => [
        'keycloakEntityManager' => [
            'realm' => 'master',
            'baseUrl' => 'http://localhost:8180',
            'username' => 'admin',
            'password' => '1234',
        ],
    ],
];