Introducing PHP HiveEngine Tools, your PHP companion to work with HiveEngine API

avatar
(Edited)

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 !

Code image from Pixabay by [Boskampi](https://pixabay.com/photos/programmation-html-css-javascript-1873854/)

What is it?

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.

How to use it?

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

Conclusion

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 :

  • Ask me in comments
  • Fork the php-he-tools repo, add your feature or methods, and make a pull request
  • Add a ticket into the Issues page of the repo.

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 logo HiveLive logo HiveMultiStaker logo
SuperHive HiveLive Hive Multi Staker
Build your own HIVE blog Streamer's donation app HiveEngine tokens app


0
0
0.000
42 comments
avatar

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→

0
0
0.000
avatar

!LUV
!WINE

0
0
0.000
avatar

Congrats on your efforts. Better and better! 👌😎

0
0
0.000
avatar

Great to see new integration tools with the Hive blockchain, this is a necessary step to grow this entire ecosystem.

Posted Using LeoFinance Beta

0
0
0.000
avatar

I love this, I use laravel very well and you have just made this so easy. Thank you so muc

0
0
0.000
avatar

Dont understand much of these things but am sure, youre doing great work for our chain :-)

0
0
0.000
avatar
(Edited)

PIZZA! PIZZA!

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!

0
0
0.000
avatar

Wow wonderful tool and development in the hive ecosystem. You have done a great job.

0
0
0.000
avatar

@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

0
0
0.000
avatar

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

0
0
0.000
avatar

La verdad es un excelente post, me agrado, te dejo mi voto y te sigo,, saludos.

0
0
0.000
avatar

Congratulations, glad to see my work is still useful 🙂.

0
0
0.000
avatar

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

0
0
0.000
avatar

Pour vous remercier de votre délégation BEE

!PIZZA
!CTP
!PGM
!LUV
!ALIVE

0
0
0.000
avatar

Pour vous remercier de votre délégation BEE

!PIZZA
!CTP
!PGM
!LUV
!ALIVE

0
0
0.000
avatar

Sent 0.1 PGM - 0.1 LVL- 1 STARBITS - 0.05 DEC - 15 SBT tokens to @gestion.alive, @bambukah

remaining commands 8

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!

image.png
Discord image.png

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


0
0
0.000