PHP code example of safan-lab / oauth2
1. Go to this page and download the library: Download safan-lab/oauth2 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/ */
safan-lab / oauth2 example snippets
return [
// Safan Framework default modules route
'Safan' => 'vendor/safan-lab/safan/Safan',
'SafanResponse' => 'vendor/safan-lab/safan/SafanResponse',
// Write created or installed modules route here ... e.g. 'FirstModule' => 'application/Modules/FirstModule'
'Oauth2' => 'vendor/safan-lab/oauth2/Oauth2',
'GapOrm' => 'vendor/gap-db/orm/GapOrm',
'GapOrmCache' => 'vendor/gap-db/orm-cache/GapOrmCache'
];