5

There's a huge community of developers who build in PHP language. Is there a plan to build PHP SDK apart from JS SDK as well? Especially to pull on-chain data?

Update: Howrare created a PHP SDK to Helius; which is very useful https://github.com/HowRareIs/helius-php-sdk

There's a Solana SDK https://github.com/verze-app/solana-php-sdk

1 Answer 1

10

There is a Solana PHP SDK available that is currently not actively maintained.

You can use it today to pull on-chain transaction and account data.

2
  • 2
    Worth noting that the underlying mechanism to pull data from the chain is the JSON RPC API. This SDK is just a wrapper around that. As such, you can always use the JSON endpoints directly from PHP if the SDK is deficient in certain areas (or contribute to it!).
    – yamen
    Commented Jul 12, 2022 at 22:30
  • @yamen That helps! I'll dig in and start using the API. Not planning to use it for any serious purpose. Just trying to play around. Commented Jul 13, 2022 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.