Installation
How to install and migrate the database.
composer require trustenterprises/hashgraph
- PHP 7.4
- Laravel 7.*
This package will have releases that will support Laravel 5.8.* projects, the version of Guzzle needed to be lowered to meet these requirements.
Run these commands in your terminal to publish and migrate your new tables.
php artisan vendor:publish --provider="Trustenterprises\LaravelHashgraph\LaravelHashgraphServiceProvider" --tag="migrations"
php artisan migrate
Publish your config file with this command.
php artisan vendor:publish --provider="Trustenterprises\LaravelHashgraph\LaravelHashgraphServiceProvider" --tag="config"
Update these environment variables in your .env file with your client URL and secret key.
- HASHGRAPH_NODE_URL
- HASHGRAPH_SECRET_KEY
Don't forget to reset your server to update the config.
By default the callback webhook route in the app ends with /hashgraph this can be changed by updating the HASHGRAPH_WEBHOOK_ROUTE in your Laravel App.