Download the PHP package crea/php-graphene-node-client without Composer

On this page you can find all versions of the php package crea/php-graphene-node-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-graphene-node-client

php-graphene-node-client

PHP client for connection to CREA node

Install Via Composer

For readonly, without broadcast

with broadcast (sending transactions to blockchain)

(details are here) and actual dockerfile and requests examples see in branch "debug"

install components

install extensions

Basic Usage

Implemented Commands List

Single Commands

All single commands can be called through Commands Class as methods (example: (new Commands)->get_block()->execute(...) )

broadcast operations templates

namespace GrapheneNodeClient\Tools\ChainOperations

Implemented Connectors List

namespace: GrapheneNodeClient\Connectors\WebSocket OR GrapheneNodeClient\Connectors\Http;

Switching between connectors

Creating Own Connector

Or use GrapheneNodeClient\Connectors\WebSocket\WSConnectorAbstract for extending

Creating Own Command

You have to update $map properties in CreaApiMethods classes as shown below

Tools

Transliterator

Reputation viewer

Bandwidth

Sometimes you can't send transaction to blockchain because your account has not enough bandwidth. Now you can check this before sending transaction to blockchain as shown below

Transaction for blockchain (broadcast)

WARNING

Transactions are signing with spec256k1-php with function secp256k1_ecdsa_sign_recoverable($context, $signatureRec, $msg32, $privateKey) and if it is not canonical from first time, you have to make transaction for other block. For searching canonical sign function have to implement two more parameters, but spec256k1-php library does not have it. It is was solved with php-hack in Transaction::sign()

Tests

You need to install PhpUnit in your system (https://phpunit.de/manual/3.7/en/installation.html)


All versions of php-graphene-node-client with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
textalk/websocket Version ^1.2
bitwasp/secp256k1-php Version ^0.1.2
stephenhill/base58 Version ^1.1
t3ran13/bytebuffer Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package crea/php-graphene-node-client contains the following files

Loading the files please wait ....