As you know, my @superhive project is coded with PHP. I had a problem with the wallet page, I needed to interact with HiveEngine API, but no PHP library existed.
That's why I've started to develop a PHP lib for that : php-he-tools !
PHP HiveEngine Tools is a collection of methods made to interact with HiveEngine API.
Of course, this lib is released under MIT license, and it's fully open-source. You can find it on the official Github repo.
Mainly inspired by @dragosroua work (for his php-hive-tools library), I want to create methods to use HiveEngine API easily, without compromise.
If you have a PHP project which need this, just install this lib with Composer :
composer require fkosmala/php-he-tools
Next, just include the Composer's autoload in your PHP file and call the HiveEngine API :
require __DIR__ . '/vendor/autoload.php';
use FKosmala\PHPHeTools\HeApi as HeApi;
You can create a configuration array if you want to change settings :
$config = [
"debug" => false,
'throw_exception' => false,
"heNode" => "api.hive-engine.com/rpc"
];
Last step, initiate the lib :
$api = new HeApi($config);
Mission successfully completed! You can use all the methods of this lib to your project! If you need a list, you can check the methods.md file.
If you need a small file to test, there is an example file in the example/
folder of the repo
This library is in development state and there are only few methods right now, so I will create methods over time. If you need to add something into this lib, you have three choices :
If you like my work, please upvote or reblog this post, consider to donate, Add a comment or join my Discord server to talk with me.
Have a nice day!
Check my HIVE projects : | ||
---|---|---|
SuperHive | HiveLive | Hive Multi Staker |
Build your own HIVE blog | Streamer's donation app | HiveEngine tokens app |
Great job @bambukah!
G'morning Florent, I sure wish I understood this stuff, but I don't.
So I will support you just the same.
āUpvotedāandāRebloggedā
!LUV
!WINE
Congratulations, @wesphilbin You Successfully Shared 0.100 WINEX With @jerrytsuseer.
You Earned 0.100 WINEX As Curation Reward.
You Utilized 1/5 Successful Calls.
Contact Us : WINEX Token Discord Channel
WINEX Current Market Price : 0.168
Swap Your Hive <=> Swap.Hive With Industry Lowest Fee (0.1%) : Click This Link
Read Latest Updates Or Contact Us
@wesphilbin(1/10) gave you LUV. tools | wallet | discord | community | <><
HiveBuzz.me NFT for Peace
Hey Wessie pooh!
Congratulations, glad to see my work is still useful š.
Congrats on your efforts. Better and better! šš
This is very cool. I am an old php programmer who has been getting involved in some dev work on Hive (backend, using python), and was going to start learning node.js to be able to do frontend work. This will hopefully let me use my old skills to work with Hive.
Thanks for working on this and better yet sharing it!
!LOLZ
lolztoken.com
But not as fast as his brother Sudden Lee.
Credit: manuvert
@bambukah, I sent you an $LOLZ on behalf of @captaincryptic
Use the !LOL or !LOLZ command to share a joke and an $LOLZ
(1/10)
Great to see new integration tools with the Hive blockchain, this is a necessary step to grow this entire ecosystem.
Posted Using LeoFinance Beta
Helping Hive grow! Thank you! ā„ļø
Thank you for all you do here on our blockchain development side.
@tipu curate
Upvoted š (Mana: 20/50) Liquid rewards.
I love this, I use laravel very well and you have just made this so easy. Thank you so muc
Dont understand much of these things but am sure, youre doing great work for our chain :-)
Thanks for such thorough review
Rocket science to me but many thanks for your work for Hive!
Posted Using LeoFinance Beta
Great, I'll use it
!PIZZA !hivebits
Success! You mined .9 HBIT & the user you replied to received .1 HBIT on your behalf. mine | wallet | market | tools | discord | subscribe | <>< daily
The community has spoken. The smallest HBIT unit is the quark!
!PIZZA deserving work
Posted Using LeoFinance Beta
Wow wonderful tool and development in the hive ecosystem. You have done a great job.
@bambukah
You continue to spread positive energy, and elevate the awesomesauce! As many have said, I don't know a lot about this. But I do know you! So... you have my thanks, as well as support!
!LUV
!WINE
!hivebits
Congratulations, @wesphilbin You Successfully Shared 0.200 WINEX With @bambukah.
You Earned 0.200 WINEX As Curation Reward.
You Utilized 2/5 Successful Calls.
Contact Us : WINEX Token Discord Channel
WINEX Current Market Price : 0.168
Swap Your Hive <=> Swap.Hive With Industry Lowest Fee (0.1%) : Click This Link
Read Latest Updates Or Contact Us
@wesphilbin(2/10) gave you LUV. tools | wallet | discord | community | <><
HiveBuzz.me NFT for Peace
Success! You mined .9 HBIT & the user you replied to received .1 HBIT on your behalf. mine | wallet | market | tools | discord | subscribe | <>< daily
The community has spoken. The smallest HBIT unit is the quark!
Great work!
https://twitter.com/joanstewart1/status/1550062324395958272
The rewards earned on this comment will go directly to the people( @joanstewart ) sharing the post on Twitter as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.
@tipu curate
$PIMP
You must be killin' it out here!
@wesphilbin just slapped you with 1.000 PIMP, @bambukah.
You earned 1.000 PIMP for the strong hand.
They're getting a workout and slapped 1/1 possible people today.
Read about some PIMP Shit or Look for the PIMP District
Amazing.
On @hiveland.dapp I am using PHP to get information from Hive Engine blocks.
Can you share the repository link to check if I can contribute with something?
Posted Using LeoFinance Beta
It's in every links about php-he tools, but here's the link : https://github.com/fkosmala/php-he-tools :)
Of course, you can contribute in every way you want :)
Thanks a lot
Posted Using LeoFinance Beta
Pour vous remercier de votre dƩlƩgation BEE
!PIZZA
!CTP
!PGM
!LUV
!ALIVE
@token-thx, sorry! You need more to stake more $PIZZA to use this command.
The minimum requirement is 20.0 PIZZA staked.
More $PIZZA is available from Hive-Engine or Tribaldex
@token-thx, sorry! You need more $ALIVE to use this command.
The minimum requirement is 1000.0 ALIVE staked.
More $ALIVE is available from Hive-Engine or Tribaldex
Pour vous remercier de votre dƩlƩgation BEE
!PIZZA
!CTP
!PGM
!LUV
!ALIVE
BUY AND STAKE THE PGM TO SEND A LOT OF TOKENS!
The tokens that the command sends are: 0.1 PGM-0.1 LVL-2.5 BUDS-0.01 MOTA-0.05 DEC-15 SBT-1 STARBITS-[0.00000001 BTC (SWAP.BTC) only if you have 2500 PGM in stake or more ]
5000 PGM IN STAKE = 2x rewards!
Discord
Support the curation account @ pgm-curator with a delegation 10 HP - 50 HP - 100 HP - 500 HP - 1000 HP
Get potential votes from @ pgm-curator by paying in PGM, here is a guide
I'm a bot, if you want a hand ask @ zottone444
@gestion.alive, sorry! You need more $ALIVE to use this command.
The minimum requirement is 1000.0 ALIVE staked.
More $ALIVE is available from Hive-Engine or Tribaldex
Your content has been voted as a part of Encouragement program. Keep up the good work!
Use Ecency daily to boost your growth on platform!
Support Ecency
Vote for new Proposal
Delegate HP and earn more
PIZZA Holders sent $PIZZA tips in this post's comments:
cryptothesis tipped bambukah (x1)
@arthursiq5(1/5) tipped @bambukah (x1)
You can now send $PIZZA tips in Discord via tip.cc!
La verdad es un excelente post, me agrado, te dejo mi voto y te sigo,, saludos.