This project is to provide an integration with the Cryptum backend. This project calls Cryptum API using Clean Architecture and PHP.
- PHP 7.3
- Composer version 2.1.3
- PHP
Open your project
cd cryptum-sdk-php/
Install using composer manager
composer install
Add an alias to run phpunit
alias phpunit='./vendor/bin/phpunit
Open your project
cd my-amazing-project/
Install using composer manager
composer install cryptum-sdk
Below is an short description using code how you can use cryptum-sdk to integrate your amazing application with us.
To configure cryptum-sdk you need only provide an config in format JSON.
const CryptumSDK = require('cryptum-sdk')
const sdk = new CryptumSDK({
config: {
enviroment: 'development',
apiKey: 'my-secret-api-key',
},
})
To see environments available you can see here:
Environments available |
---|
development |
production |
Contributions are what make the open source community an incredible place to learn, inspire and create. Any contribution you make will be much appreciated.
- Make a project Fork
- Create a Branch for your feature (
git checkout -b feature/amazing-feature
) - Insert your changes (
git add .
) - Make a commit with your changes (
git commit -m 'feat(<folder-name>): Inserting a Amazing Feature !
) - Push the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
In order for us to accept your PR, you need to adhere to the following standards.
- Create using the code pattern currently used in cryptum-sdk
- Test your update and show artifacts in PR.
It's all 🤷🏻♂️
Distributed under the MIT license. See LICENSE
for more information.
Blockforce - SITE - [email protected]