Published July 14th at 6:50pm - 467 ♥ - 1 min read

Hive PHP Lib Update: New logo, HiveEngine tables and more quality

Hive-139531 Hive Dev Php Hiveprojects Hive-engine Code

As you know, my HIVE projects are coded in PHP. I've built a library 6 months ago and it's time to update it. After TokenDistrib and MultiStaker, please welcome the Hive PHP Lib update!

Hive PHP Lib new logo

For those who don't know, Hive PHP Lib is a open-source library that allows to interact with HIVE blockchain using PHP. Its mission is to facilitate the development of HIVE projects in PHP in order to attract new devs.

If you already use it on your project, just go to your project folder and update this lib with Composer : composer update hive/hive-php-lib

What's new?

I have a new logo for this project but there's more !

This update is made to add many methods to interact with [Hive Engine](https://hive-engine.com/. I added so many functions:

Tokens

  • balances
  • delegations
  • pendingUnstakes
  • pendingUndelegations
  • contractsBalances
  • params

Market

  • buyBook
  • sellBook
  • tradesHistory
  • metrics

Nft

  • params
  • nft
  • pendingUndelegations
  • SYMBOLinstances

Code Quality

I want to make an "Enterprise Class" library and that's why I use some Standards (like PSR), some tools (like Psalm and PHP_CodeSniffer) and DocBlocks to generate documentation with comments in code.

In this small Hive PHP Lib update, I've also fixed some syntax warnings and add more and more quality in HiveLayer and HeLayer.

What's next ?

In the future, I want to add every function to read HIVE blockchain and Hive Engine sidechain. Some people ask me to create some "Shortcut functions" to made interactions easier.

Also, I really want to add all the cryptographic part to add all the functions of the blockchain (like transaction broadcasting), but I really need to avoid external dependencies. This library must be installed on every server (shared or dedicated) without library like GMP. It's a great challenge I'd like to take on.

Conclusion

Hope you'll enjoy this Hive PHP Lib update. As usual, if you like my work, don't forget to upvote and/or share this post. Also, if you have some feedback, question or ideas, fell free to comment.

Have a nice day !


Vote for this article

50%

Comments :

pizzabot :
PIZZA! The Hive.Pizza team manually curated this post.

Learn more at https://hive.pizza.

weone :

Great job bro. Will check this...

seckorama :

Great job. Keep going!

russia-btc :

Молодец!

hivebuzz :

Congratulations @bambukah! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 2000 HP as payout for your posts, comments and curation.
Your next payout target is 3000 HP.
The unit is Hive Power equivalent because post and comment rewards can be split into HP and HBD

You can view your badges on your board and compare yourself to others in the Ranking If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Check out our last posts:

LEO Power Up Day - July 15, 2023
ecency :

Yay! 🤗
Your content has been boosted with Ecency Points, by @bambukah.
Use Ecency daily to boost your growth on platform!

Support Ecency
Vote for new Proposal
Delegate HP and earn more

melinda010100 :

Making Hive better and better! !DHEDGE

dhedge :
![1](https://images.hive.blog/u/dhedge/avatar?width=80&height=80)


This post has been selected for upvote from our token accounts by @melinda010100! Based on your tags you received upvotes from the following account(s):

- @dhedge.bonus
- @dhedge.bee

@melinda010100 has 9 vote calls left today.

Hold 10 or more DHEDGE to unlock daily dividends and gain access to upvote rounds on your posts from @dhedge. Hold 100 or more DHEDGE to unlock thread votes. Calling in our curation accounts currently has a minimum holding requirement of 100 DHEDGE. The more DHEDGE you hold, the higher upvote you can call in. [Buy DHEDGE on Tribaldex](https://tribaldex.com/trade/DHEDGE) or earn some daily by joining one of our many delegation pools at [app.dhedge.cc](https://app.dhedge.cc).
mrscryptopanda85 :

Evolving and improving HIVE awesome! Thank you for your time and dedication

szejq :

Hello 😊 I started using your library for my HE project. I've made some changes, improved it, if it's an open project and I can collaborate, I'll send you some Commits - if you find them valuable, you can join the library.

I tried to send but I don't have access, share it for Szejq? 🙂

Username for 'https://gitlab.syncad.com': Szejq Password for 'https://Szejq@gitlab.syncad.com': remote: You are not allowed to push code to this project. fatal: unable to access 'https://gitlab.syncad.com/hive/hive-php-lib.git/': The requested URL returned error: 403