stagerightlabs / bloom
A PHP library for communicating with the Stellar Horizon API.
Requires
- php-64bit: ^8.1
- ext-curl: *
- ext-json: *
- ext-sodium: *
- brick/math: ^0.9.3
- myclabs/deep-copy: ^1.11
- stagerightlabs/phpxdr: ^0.0.15
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.3
- phpstan/phpdoc-parser: ^1.15
- phpstan/phpstan: ^1.2
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-27 23:16:17 UTC
README
Bloom is an unofficial PHP SDK library for the Stellar Horizon API.
I was inspired to create this library after being introduced to Stellar Quest; a remarkable platform for discovering and exploring the building blocks of the Stellar network. I wanted to see if I could solve the exercises in PHP rather than Javascript or Golang. After many months this library is the result of that effort.
There are three guiding principals that have steered the decision making for this project:
- Reduce the number of third party dependencies wherever possible.
- Make objects immutable by default wherever possible.
- Leverage the up and coming type system improvements in PHP 8.* and static analysis tools (like PHPStan) to pursue type safety as much as possible.
Preliminary documentation can be found in the documentation folder. Example usage can be found here.
This project would not have been possible without the tireless effort of developers and companies who have donated their work to the open source community. I am extremely grateful for the building blocks they have put in place. See here for a more specific list of acknowledgments.
Bloom is an independent project that is not affiliated with the Stellar Development Foundation.
Note: This library has not yet reached full functionality; it is not ready for use in production applications.
Installation
You can install the package via composer:
composer require stagerightlabs/bloom
Architecture
Please see ARCHITECTURE for a high level outline of the structure of this repository.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
License
The Apache License 2. Please see License File for more information.