create account

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

View this thread on: hive.blogpeakd.comecency.com
· @bambukah ·
$50.01
Hive PHP Lib Update: New logo, HiveEngine tables and more quality
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**](https://gitlab.syncad.com/hive/hive-php-lib) update!

![Hive PHP Lib new logo](https://files.peakd.com/file/peakd-hive/bambukah/EogTCHt6NJas24ne2VSyhGgfM2eCQGx3daMdHBNvSJ49XEtfFjKSTfeqZmV4m2vYDYz.png)

For those who don't know, [**Hive PHP Lib**](https://gitlab.syncad.com/hive/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](https://getcomposer.org/) : `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](https://www.php-fig.org/psr/)), some tools (like [Psalm](https://psalm.dev/) and [PHP_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)) and[ DocBlocks](https://phpdoc.org/) to generate documentation with comments in code.

In this small [**Hive PHP Lib**](https://gitlab.syncad.com/hive/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](https://hive.io/) blockchain and [Hive Engine](https://hive-engine.com/) 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**](https://gitlab.syncad.com/hive/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 !
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 403 others
properties (23)
authorbambukah
permlinkhive-php-lib-update-new
categoryhive-139531
json_metadata"{"image":["https://files.peakd.com/file/peakd-hive/bambukah/EogTCHt6NJas24ne2VSyhGgfM2eCQGx3daMdHBNvSJ49XEtfFjKSTfeqZmV4m2vYDYz.png"],"tags":["hive-139531","hive","dev","php","hiveprojects","hive-engine","code"],"description":"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! For those who don't","app":"ecency/3.0.34-vision","format":"markdown+html","image_ratios":[0]}"
created2023-07-14 16:50:30
last_update2023-07-14 16:50:30
depth0
children10
last_payout2023-07-21 16:50:30
cashout_time1969-12-31 23:59:59
total_payout_value25.040 HBD
curator_payout_value24.966 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,621
author_reputation93,958,910,716,526
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,322,677
net_rshares104,307,602,310,844
author_curate_reward""
vote details (467)
@dhedge ·
Dhedge Call
<center>![1](https://images.hive.blog/u/dhedge/avatar?width=80&height=80)</center><br><br>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):<br> <br>- @dhedge.bonus<br>- @dhedge.bee<br><br>@melinda010100 has 9 vote calls left today.<br><br>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).
properties (22)
authordhedge
permlinkre-hive-php-lib-update-new-20230717t195539z
categoryhive-139531
json_metadata"{"app": "beem/0.24.26"}"
created2023-07-17 19:55:39
last_update2023-07-17 19:55:39
depth1
children0
last_payout2023-07-24 19:55:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length820
author_reputation5,003,962,900,629
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,406,528
net_rshares0
@ecency ·
**Yay!** πŸ€—<br>Your content has been **boosted with Ecency Points**, by @bambukah. <br>Use Ecency daily to boost your growth on platform! <br><br><b>Support Ecency</b><br>[Vote for new Proposal](https://hivesigner.com/sign/update-proposal-votes?proposal_ids=%5B245%5D&approve=true)<br>[Delegate HP and earn more](https://ecency.com/hive-125125/@ecency/daily-100-curation-rewards)
properties (22)
authorecency
permlinkre-2023717t195317840z
categoryhive-139531
json_metadata{"tags":["ecency"],"app":"ecency/3.0.20-welcome","format":"markdown+html"}
created2023-07-17 19:53:18
last_update2023-07-17 19:53:18
depth1
children0
last_payout2023-07-24 19:53:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length378
author_reputation624,379,752,280,270
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,406,477
net_rshares0
@hivebuzz ·
Congratulations @bambukah! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@bambukah/payout.png?202307150942"></td><td>You received more than 2000 HP as payout for your posts, comments and curation.<br>Your next payout target is 3000 HP.<br><sub>The unit is Hive Power equivalent because post and comment rewards can be split into HP and HBD</sub></td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@bambukah) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


**Check out our last posts:**
<table><tr><td><a href="/hive-122221/@hivebuzz/lpud-202307"><img src="https://images.hive.blog/64x128/https://i.imgur.com/pVZi2Md.png"></a></td><td><a href="/hive-122221/@hivebuzz/lpud-202307">LEO Power Up Day - July 15, 2023</a></td></tr></table>
properties (22)
authorhivebuzz
permlinknotify-bambukah-20230715t100658
categoryhive-139531
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2023-07-15 10:07:00
last_update2023-07-15 10:07:00
depth1
children0
last_payout2023-07-22 10:07:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,100
author_reputation369,390,339,508,590
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,343,288
net_rshares0
@melinda010100 ·
$0.02
Making Hive better and better!
!DHEDGE 
πŸ‘  ,
properties (23)
authormelinda010100
permlinkre-bambukah-2023717t145529801z
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","dev","php","hiveprojects","hive-engine","code"],"app":"ecency/3.0.43-mobile","format":"markdown+html"}
created2023-07-17 19:55:30
last_update2023-07-17 19:55:30
depth1
children0
last_payout2023-07-24 19:55:30
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length39
author_reputation1,057,123,673,147,649
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,406,526
net_rshares53,322,492,711
author_curate_reward""
vote details (2)
@mrscryptopanda85 ·
Evolving and improving HIVE awesome! Thank you for your time and dedication
properties (22)
authormrscryptopanda85
permlinkre-bambukah-ry5lmx
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2023.7.1"}
created2023-07-21 15:56:57
last_update2023-07-21 15:56:57
depth1
children0
last_payout2023-07-28 15:56:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length75
author_reputation442,971,981,866
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,516,237
net_rshares0
@pizzabot ·
<center>PIZZA!
 The Hive.Pizza team manually curated this post.

<sub>Learn more at https://hive.pizza.</sub></center>
properties (22)
authorpizzabot
permlinkre-hive-php-lib-update-new-20230714t170132z
categoryhive-139531
json_metadata"{"app": "pizzabot"}"
created2023-07-14 17:01:33
last_update2023-07-14 17:01:33
depth1
children0
last_payout2023-07-21 17:01:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length118
author_reputation7,563,984,529,447
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,322,908
net_rshares0
@russia-btc ·
$0.02
ΠœΠΎΠ»ΠΎΠ΄Π΅Ρ†!
πŸ‘  ,
properties (23)
authorrussia-btc
permlinkrxsrj0
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2023-07-14 17:35:27
last_update2023-07-14 17:35:27
depth1
children0
last_payout2023-07-21 17:35:27
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length8
author_reputation57,707,590,160,430
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,323,708
net_rshares53,580,171,561
author_curate_reward""
vote details (2)
@seckorama ·
$0.02
Great job. Keep going!
πŸ‘  ,
properties (23)
authorseckorama
permlinkre-bambukah-2023714t191337757z
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","dev","php","hiveprojects","hive-engine","code"],"app":"ecency/3.0.34-vision","format":"markdown+html"}
created2023-07-14 17:13:36
last_update2023-07-14 17:13:36
depth1
children0
last_payout2023-07-21 17:13:36
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length22
author_reputation680,872,868,166,669
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,323,239
net_rshares53,625,862,753
author_curate_reward""
vote details (2)
@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
properties (22)
authorszejq
permlinkre-bambukah-ryvcfx
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2023.7.1"}
created2023-08-04 13:35:57
last_update2023-08-04 13:35:57
depth1
children0
last_payout2023-08-11 13:35:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length557
author_reputation140,010,606,925,102
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,934,077
net_rshares0
@weone ·
$0.02
Great job bro. Will check this...
πŸ‘  ,
properties (23)
authorweone
permlinkre-bambukah-2023714t223926170z
categoryhive-139531
json_metadata{"tags":["hive-139531","hive","dev","php","hiveprojects","hive-engine","code"],"app":"ecency/3.0.34-vision","format":"markdown+html"}
created2023-07-14 17:09:30
last_update2023-07-14 17:09:30
depth1
children0
last_payout2023-07-21 17:09:30
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length33
author_reputation8,554,709,796,798
root_title"Hive PHP Lib Update: New logo, HiveEngine tables and more quality"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id125,323,126
net_rshares53,649,048,767
author_curate_reward""
vote details (2)