Download the PHP package efrost-deltaplan/solana-php-sdk without Composer
On this page you can find all versions of the php package efrost-deltaplan/solana-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download efrost-deltaplan/solana-php-sdk
More information about efrost-deltaplan/solana-php-sdk
Files in efrost-deltaplan/solana-php-sdk
Package solana-php-sdk
Short Description Solana PHP SDK for interacting with the Solana blockchain
License MIT
Homepage https://github.com/efrost-deltaplan/solana-php-sdk
Informations about the package solana-php-sdk
Solana PHP SDK
Simple PHP SDK for interacting with the Transactions, Signatures, Borsh Serialization/Deserialization and RPCs
Forked from the Verze repo: verze-app/solana-php-sdk
Motivations
- To protect RPC API Keys acting as a Hosted Proxy.
- To enable Background Data Processing.
- To enable Descentralized Data & Query Caching.
- To empower PHP Applications to interact with the Solana Network
- To enable Async Jobs and Queries in the Background.
- To enable Decetralized Websockets (Push Notifications & Subscriptions)
- To reduce Client-Sice RPC Polling, aiming at decongesting the mainnet and devnets.
Installation
You can install the package via composer :
From this Repository
With Docker
then
Usage
Using the Solana simple client
You can use the Connection
class for convenient access to API methods. Some are defined in the code:
For all the possible methods, see the API documentation.
Directly using the RPC client
The Connection
class is just a light convenience layer on top of the RPC client. You can, if you want, use the client directly, which allows you to work with the full Response
object:
json "scripts": { "test": "vendor/bin/phpunit tests --coverage-clover=coverage.xml --coverage-filter src/", "format": "vendor/bin/php-cs-fixer fix --allow-risk=yes" }, bash composer test bash /verdor/bin/phpunit tests [options]
## Contributing - Yes Please! :-P
- Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
- I will change my profile pic once we get a 2nd mantainer onboard :-)
## Security
If you discover any security related issues, please email the maintainers (see composer.json) instead of using the issue tracker.
## Credits
- [Matt Stauffer](https://github.com/mattstauffer) (Original creator)
- [Zach Vander Velden](https://github.com/exzachlyvv) (Metadata wizard)
- [Neverything](https://github.com/verze-app/solana-php-sdk/graphs/contributors) (Previous Maintainer)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
All versions of solana-php-sdk with dependencies
ext-sodium Version *
guzzlehttp/guzzle Version ^7.3
paragonie/sodium_compat Version ^2.0
stephenhill/base58 Version ^1.1
vlucas/phpdotenv Version ^5.6