# CodeIgniterが動作しているパスに移動
cd /path/to/ci
# composerがインストールされていない場合は先にインストール
curl -sS https://getcomposer.org/installer | php
composer.json の require項目に追記
"bshaffer/oauth2-server-php": "~1.8"
composerの実行
php composer.phar update
php index.php migrate index
php index.php initialize index