trustenterprises/hashgraph
PHP/Laravel package for interacting with Hedera Hashgraph, wrapping account, token, and transaction operations in a fluent API so you can query and submit data to the Hedera network from your application.
composer require trustenterprises/hashgraph:3.0.1-alpha and pin the exact version — no caret, no tilde. This is a major-version, alpha-tagged release (2.3.0 → 3.0.1) with a new inscription subsystem; treat it as a breaking change until the changelog proves otherwise.2.3.0 and skip this release. The 3.x line is explicitly "alpha, use at your own risk" per the release notes. Make that decision consciously per environment — it's fine to run 3.0.1-alpha in staging and 2.3.0 in production, but never the reverse.php artisan vendor:publish --provider="TrustEnterprises\\Hashgraph\\HashgraphServiceProvider" (verify the provider namespace in composer.json/README first; it may differ). Open config/hashgraph.php and read every key before writing code — that file is the real API surface. Diff it against any previously published config after upgrading, as 3.x likely adds keys.0.0.xxxxx), operator private key, network selection (mainnet vs testnet), and the Trust Enterprises REST API base URL. Most "it doesn't work" reports on wrappers like this come from network/key mismatch, not code.tests/ for inscription examples, which strongly implies the README has not caught up with 3.x. The tests are the de facto API reference for this release.HederaGateway) that exposes only the 5–10 operations your app actually needs, including any inscription operations. Never let package method signatures leak into controllers or models — inscription APIs in an alpha are exactly the kind of surface that will move between patch releases.Http::fake() if the package uses Laravel's HTTP client; if it ships its own Guzzle client, bind a fake implementation of the service class in the container instead. Add fixtures for the REST API's error bodies, not just happy paths. Port the package's own inscription tests into your integration suite as smoke coverage — they encode the expected request shape.compare/2.3.0...3.0.1-alpha), skim README, and check config/hashgraph.php for new keys. Pin 3.0.1-alpha exactly; ^3.0 is dangerous when 3.0.2 could ship anything.0.0.\d+) and formats before sending. The API's validation errors are less clear than a local regex.Http::withToken(...) is a legitimate alternative, and it removes a dependency you'd otherwise have to maintain. Now that the wrapper carries a major-version alpha, this option deserves more weight than it did on 2.x.How can I help you explore Laravel packages today?