This is the AgoraDynamicKey library for php. This repository forks from AgoraIO/Tools/DynamicKey.
- php >= 5.6
See sample codes or some testcases.
$ ./vendor/bin/phpunit
Require composer install
before test.
$ php-cs-fixer fix .
$ prettier *.md --write
Require install php-cs-fixer and prettier before format.
tools-extract-dynamic-key-php
branch is extract DynamicKey/AgoraDynamicKey/php directroy from fork repository.
this branch is used to check AgoraIO/Tools
repository change
git remote add tools https://github.com/AgoraIO/Tools
git fetch tools
git switch -c working-branch tools/master
git filter-branch --subdirectory-filter DynamicKey/AgoraDynamicKey/php HEAD
git rebase tools-extract-dymic-key-php
git switch tools-extract-dynamic-key-php
git merge --ff working-branch
git push origin tools-extract-dynamic-key-php
git branch -d working-branch