Download the PHP package viz-blockchain/viz-php-lib without Composer

On this page you can find all versions of the php package viz-blockchain/viz-php-lib. 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 viz-php-lib

viz-php-lib

Native PHP class for VIZ Keys, Transaction, JsonRPC

Features

Dependencies

One PHP extension from the list:

Most hosting providers have it turned on already, but if not found, check your control panel.

Thanks to third-party class developers:

Examples

Some examples have placeholders for private keys or accounts. Change them for successfull test.

Keys: init from hex, encode to wif, get public key from private, get encoded version, verify signature.

JsonRPC: init with endpoint, api method without parameters, change endpoint, get account, turn on all json result, request a non-existent account.

Transaction: init with endpoint and private key in wif, build simple transaction with award operation and execute it.

Init with endpoint and private key in wif, activate queue mode and add 2 operations, end queue and get result array. Execute transaction json from array. Add additional signature for multi-sig example (can be false if canonical signature was not found).

Create new private key, get public key from it, execute transaction with create_invite operation.

Find shared key from two sides. Simple string encrypt and decrypt with AES-256-CBC. Encode and decode memo with viz-js-lib compability structure for encrypted memo.

Generate data and signature for passwordless authentication and check it for domain auth action with active authority.

Make transaction with custom operation.

Make transaction with account create operation.

Make transaction with proposal operations as array (need to use build_ prefix). Approve that proposal with other account active key.

Utils method for post text object to Voice protocol. Method attributes (* - is optional):

Attribute Description
text Simple text note.
reply* Link to replied context in viz:// url scheme.
share* Link to shared context in any url scheme.
beneficiaries* Array of objects [] contains ["account"=>"committee","weight"=>100] for awarding beneficiaries details.
loop* Block num. Ability to make loop for previous objects, exclude from personal activity feed.

Utils method for post publication object to Voice protocol. Method attributes (* - is optional):

Attribute Description
title Publication title.
markdown Publication text with voice markdown.
description* Publication short description for preview.
image* Link to publication image for preview thumbnail.
reply* Link to replied context in viz:// url scheme.
share* Link to shared context in any url scheme.
beneficiaries* Array of objects [] contains ["account"=>"committee","weight"=>100] for awarding beneficiaries details.
loop* Block num. Ability to make loop for previous objects, exclude from personal activity feed.

Create Voice text object, hide it with Voice Event.

Create Voice text object, check transaction size, split it for add Voice Event.

May VIZ be with you.


All versions of viz-php-lib with dependencies

PHP Build Version
Package Version
No informations.
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 viz-blockchain/viz-php-lib contains the following files

Loading the files please wait ....