websioux / nxt-php-client

PHP Command line tool for the NXT network + Startup PHP Client Library
Other
5 stars 3 forks source link

Request: make package available for install via composer #1

Open innobrig opened 7 years ago

innobrig commented 7 years ago

First of all, thank you very much for this package, been looking for something like this.

Could you register this on packagist so that interested parties can install it via composer? Thanks a lot.

websioux commented 7 years ago

Thank you for your interest. If I would know how to do it, If I could do it such it doesn't add confusion for those who do not know either, I certainly would. So far I never used composer. If you want to help, I'm open.

​​ Free Blockchain Notary Bot : https://notbot.me https://notbot.me/

B27 Les Emeraudes 83420 La Croix Valmer

RCS Toulon 500 870 225

2016-12-19 17:43 GMT+01:00 innobrig notifications@github.com:

First of all, thank you very much for this package, been looking for something like this.

Could you register this on packagist so that interested parties can install it via composer? Thanks a lot.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/websioux/nxt-php-client/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AEEzxMgEGAWUeR6q9qCRRFZmf2K74Xe-ks5rJrQkgaJpZM4LQ7zP .

innobrig commented 7 years ago

If you're programming PHP I highly recommend you look at composer ... it is the modern way of including libraries and I could not imaging working with PHP without it.

Basically it involves 1) Changing your code to be namespaced 2) Cutting a release on github 3) Creating a packagist account where you register your package

In principle this is it and it will allow other users to easily include your code without having to manually include files.

My advice is to invest 1-2 hours into learning this workflow; it will change your perspective on PHP programming and help you become a more productive PHP programmer.