moneroo / moneroo-php
This is simple PHP Package to interact with Moneroo API.
Requires
- php: ^7.4 || ^8.0
- ext-json: *
- guzzlehttp/guzzle: ^7.7
Requires (Dev)
- axazara/php-cs: ^v0.1
- fakerphp/faker: ^1.23
- insolita/unused-scanner: ^2.4
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^9.6
- roave/security-advisories: dev-latest
- spatie/ray: ^1.39
This package is auto-updated.
Last update: 2024-11-08 15:23:04 UTC
README
Moneroo PHP SDK
Slack · Website · Contact · Documentation
The Moneroo PHP SDK provides convenient access to the Moneroo API from applications written with PHP.
Requirements
PHP Requirements: PHP 7.4 and later.
Installation
You can install the package via composer:
composer require moneroo/moneroo-php
Documentation
See the php SDK documentation.
Development
1- Perform the tests
composer test
2- Format and analyze your code before commit and push.
composer format # Format your code with the required code style composer unused # check if there is an unused dependency composer analyze # Analyze your code with phpstan
DEV Mode
You can set devMode
to true
when creating a new instance of the SDK to enable the dev mode.
After enabling the dev mode, you can pass devBaseUrl
to customize the base URL of the Moneroo API you want to use.
In dev mode, the SDK will use the devBaseUrl
instead of the default base URL https://api.moneroo.io
.
Notes
- The project is based on the KISS principle.
- Each time you make a change, you must run the tests and format your code.
- Each time you make a change, you must update the documentation.
- Each time you make a change, you must update the changelog.
- Each time you make a change, you must add test cases.
- Each time you make a change, you must update the version number.
- Each time you make a change, you must update the API documentation.
- Each time you make a change, you must update the README.md file.
Security Vulnerabilities
If you discover a security vulnerability within Moneroo php SDK, please send an e-mail to Moneroo Security via hello@moneroo.io. All security vulnerabilities will be promptly addressed.
License
The Moneroo PHP SDK is open-sourced software licensed under the MIT license.