SuperHive official blog

Last news (directly taken from blockchain)

Date: 12/08/2022 - Upvotes : 472 - Words : 432

SuperHive 0.4.2 Developer's update

<p>Hello everyone ! It's been a long time, hasn't it ? And this time no new feature but a great refactor about the entire base of <a href="https://github.com/fkosmala/superhive"><strong>SuperHive</strong></a>.</p> <p><img src="https://images.ecency.com/DQmXBiCbcnv1FaAdRMFjm6eQWnftThuKvXvUHJVNvVj4qvY/logosuperhive.png" alt="SuperHive logo" /></p> <h2>PSR coding standards</h2> <p>Every line of code from <a href="https://github.com/fkosmala/superhive"><strong>SuperHive</strong></a> is compliant with PSR-1, PSR-2 and PSR-12 standards from <a href="https://www.php-fig.org/">PHP-FIG</a>. PSR means PHP Standards Recommendations and these standards is here to produce a readable and good code in PHP.</p> <p>SuperHive is now fully compliant with these rules! The code is now more readable, and many bugs will be avoid thanks to that. When you install SuperHive, you will have a new Composer command to check if all PHP files are compliant:</p> <pre><code class="language-bash">composer psr </code></pre> <h2>PHP Skeleton Package</h2> <p>Do you know there is also another standard for package folders in PHP projects ? It's called PHP-PDS and it's a standard for every developer who want to create project with the same logic about folders.</p> <p>You can find more information on the <a href="https://github.com/php-pds/skeleton">php-pds github</a> repository and I use these rules inside the project to make the development easier for new contributors. <a href="https://github.com/fkosmala/superhive"><strong>SuperHive</strong></a> installation is now bundled with a command to check the PDS standards :</p> <pre><code class="language-bash">composer pds </code></pre> <h2>DocBlocks</h2> <p>Yes, it's time! SuperHive ow includes DocBlocks to generate the developer documentation with tools like <a href="https://www.phpdoc.org/">PHPDocumentor</a>. If you find some missing blocks or some new things to add, just add an issue in the <a href="https://github.com/fkosmala/superhive/issues">SuperHive GitHub Issues page</a> or fork the project, update the code ad made a pull request.</p> <h2>New PHP Lib for HIVE</h2> <p>Some people use php-hive-tools or hive-php but I create another lib which contains everything to interact with HIVE and HiveEngine in the same library!</p> <p>Please welcome the <a href="https://github.com/better-bc/hive-toolbox-php"><strong>hive-toolbox-php</strong></a> ! It's very easy to use. Install it with Composer, Create a new object and interact with it ! I'll update this lib in the future to add many more features.(Hive Egine token management, HIVE connection, transfers, ....)</p> <p>About <a href="https://github.com/fkosmala/superhive"><strong>SuperHive</strong></a>, I just remove the old libs and convert all the code to the new <a href="https://github.com/better-bc/hive-toolbox-php"><strong>hive-toolbox-php</strong></a> . If you see some problems, just comment or add a new issue.</p> <h2>Better installation</h2> <p><a href="https://github.com/fkosmala/superhive"><strong>SuperHive</strong></a> have a new Install controller only made for that. It's a way faster, easier and more secure.</p> <p>I've also fix two bug in the installation script.</p> <hr /> <p>I think it's really nice for the future of this project. To finish this year, I'll try to fix many bugs and made the things easier for new contributors. Of course, if you have any feedbacks or request, feel free to join the <a href="https://discord.gg/u2qfuaFMwt">Discord server</a> or just write a comment here!</p> <p>I hope you enjoy tihs update. Have a nice day!</p>

Tags : hive-139531 hivedevs update dev diyhub blog standards engine php tribes

Vote for this article

50%

Comments :

powerpaul :
<p>I look forward to look into the toolbox! Thank you for making it public!</p>
hiq.smartbot :
<div class="pull-left"> <p><img src="https://i.imgur.com/VDg3S7W.gif"></a></p> </div> <div class="pull-right"> <p>@powerpaul, the HiQ Smart Bot has recognized your request (1/5) and will start the voting trail.</p> <p>In addition, @superhive gets !PIZZA from @hiq.redaktion.</p> <p><img src="https://i.imgur.com/plMUJVK.png" alt="" /></p> <p><sub>For further questions, check out https://hiq-hive.com or join our <a href="https://discord.gg/25Fp5wBvQa">Discord</a>. And don't forget to vote <a href="https://vote.hive.uno/@hiq.witness">HiQs fucking Witness!</a> 😻</sub></p> </div>
slothlydoesit :
<p>We were looking at something similar this morning, looking into this! Thanks for the info and I've jumped into the Discord channel! Keep up the great work!</p>
hivebuzz :
<p>Congratulations @superhive! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)</p> <table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@superhive/upvoted.png?202212081834"></td><td>You received more than 900 upvotes.<br>Your next target is to reach 1000 upvotes.</td></tr> </table> <p><sub><em>You can view your badges on <a href="https://hivebuzz.me/@superhive">your board</a> and compare yourself to others in the <a href="https://hivebuzz.me/ranking">Ranking</a></em></sub> <sub><em>If you no longer want to receive notifications, reply to this comment with the word</em> <code>STOP</code></sub></p> <p><strong>Check out the last post from @hivebuzz:</strong></p> <table><tr><td><a href="/hive-102201/@hivebuzz/wc2022-recap-r16-day4"><img src="https://images.hive.blog/64x128/https://i.imgur.com/uNPMgnd.png"></a></td><td><a href="/hive-102201/@hivebuzz/wc2022-recap-r16-day4">HiveBuzz World Cup Contest - Round of 16 - Recap of Day 4</a></td></tr><tr><td><a href="/hive-139531/@hivebuzz/proposal-2324"><img src="https://images.hive.blog/64x128/https://i.imgur.com/RNIZ1N6.png"></a></td><td><a href="/hive-139531/@hivebuzz/proposal-2324">The Hive Gamification Proposal Renewal</a></td></tr><tr><td><a href="/hive-122221/@hivebuzz/pum-202211-delegations"><img src="https://images.hive.blog/64x128/https://i.imgur.com/fg8QnBc.png"></a></td><td><a href="/hive-122221/@hivebuzz/pum-202211-delegations">Our Hive Power Delegations to the November PUM Winners </a></td></tr></table> <h6>Support the HiveBuzz project. <a href="https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22248%22%5D&amp;approve=true">Vote</a> for <a href="https://peakd.com/me/proposals/248">our proposal</a>!</h6>
ecency :
<p><strong>Yay!</strong> 🤗<br>Your content has been <strong>boosted with Ecency Points</strong>, by @bambukah. <br>Use Ecency daily to boost your growth on platform! <br><br><b>Support Ecency</b><br><a href="https://hivesigner.com/sign/update-proposal-votes?proposal_ids=%5B245%5D&amp;approve=true">Vote for new Proposal</a><br><a href="https://ecency.com/hive-125125/@ecency/daily-100-curation-rewards">Delegate HP and earn more</a></p>
seckorama :
<p>Nice progress. Better and better. 💪😎</p>
chrisrice :
<p>Hi @superhive,</p> <p>I only skimmed through the article, but as a non-Dev, could not understand it with a fairly quick read.</p> <ul> <li> <p>Can you summarize in one paragraph what #SuperHive is?</p> </li> <li> <p>It may also help future readers to include that at the bottom of every post.</p> </li> </ul> <p>Let me know what you think.. ~ Chris</p>
stemsocial :
<div class='text-justify'> <div class='pull-left'> <img src='https://stem.openhive.network/images/stemsocialsupport7.png'> </div> <p>Thanks for your contribution to the <a href='/trending/hive-196387'>STEMsocial community</a>. Feel free to join us on <a href='https://discord.gg/9c7pKVD'>discord</a> to get to know the rest of us!</p> <p>Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).</p> <p>You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support. <br /> <br /></p> </div>
hivebuzz :
<p>Dear @superhive,<br>Your support for the current HiveBuzz proposal (#199) is much appreciated but the proposal will expire soon!<br>May we ask you to review and support the new proposal so our team can continue its work?<br>You can support the new proposal (#248) on <a href="https://peakd.com/me/proposals/248">Peakd</a>, <a href="https://ecency.com/proposals/248">Ecency</a>, <a href="https://wallet.hive.blog/proposals">Hive.blog</a> or <a href="https://hivesigner.com/sign/update_proposal_votes?proposal_ids=%5B%22248%22%5D&amp;approve=true">using HiveSigner</a>.<br><br>Thank you!</p>
pizzabot :
<center>🍕 PIZZA ! <p>I gifted <strong>$PIZZA</strong> slices here: @cryptopsycho21<sub>(1/15)</sub> tipped @superhive (x1)</p> <p><sub>Please <a href="https://vote.hive.uno/@pizza.witness">vote for pizza.witness</a>!</sub></center></p>
th4488 :
<p>Wow! Another front-end. Looking forward to check it out. Good job man.</p>
ganjafarmer :
<p>Wow super awesome and congratulations. Having more tools access and abilities here on the blockchain are just going to continue to really help us out.</p> <p>Congratulations on a lot of hard work.</p>