kura-lab / base64url
Base64url Encoding/Decoding Library
Installs: 2 718
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.3
Requires (Dev)
- fabpot/php-cs-fixer: 1.7.*
- phpunit/phpunit: 4.6.*
- squizlabs/php_codesniffer: 2.*
This package is not auto-updated.
Last update: 2024-11-10 02:29:50 UTC
README
Base64url Encoding/Decoding
Requirements
- PHP 5.3.3 or higher.
Install
At first, install composer.
$ mkdir workspace
$ cd workspace
$ curl -s http://getcomposer.org/installer | php
Create composer.json.
{
"require": {
"kura-lab/base64url": "1.*"
}
}
Install jose library.
$ php composer.phar install
Development
Check coding style with CodeSniffer.
$ vendor/bin/phpcs --standard=PSR2 src/
Execute unit test with PHPUnit.
$ vendor/bin/phpunit
Fix source code with PHP Coding Standards Fixer.
$ vendor/bin/php-cs-fixer fix --config-file .php_cs --verbose --diff --dry-run
$ vendor/bin/php-cs-fixer fix --config-file .php_cs --verbose --diff