Download the PHP package kompendium-llc/factom-php-client without Composer

On this page you can find all versions of the php package kompendium-llc/factom-php-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 factom-php-client

PHP JSON-RPC client for Factom API

Build Status Coverage Status Packagist Version License

A JSON-RPC Php client for the Factom protocol. Each response has unique type that automatically converted from JSON response and suitable for further usage in business logic. All responses are available in Response directory along with convinient converters.

Installation

Composer:

Git:

Config

You can change default node url or ports
Add this lines after this -
require_once __DIR__ . '/../vendor/autoload.php';

// Set Custom host of node
define('walletHost', 'https://dev.factomd.net/v2');
define('host', 'https://dev.factomd.net/v2');
define('debugHost', 'http://localhost:8088/debug');

Usage

Retreiving a balance

Reading Entry Data

Writing an Entry

Note: Ensure data in the entry fields is hex-encoded. This includes the content section.

Block Height and Current Minute

Sending A Transaction

Testing

Additionally, tests are executed by Travis CI with config pointing at Factom's Open Node (https://factomd.net).

Examples

Found in the examples folder

Support

Additional support for the Factom Protocol or library usage can be found on discord

Development

To contribute to the factom-php-client library, clone the repository, create a feature branch and submit a PRfor review.

Learn

Contributions

The Library developed by Kompendium, LLC in partnership with Kelecorix, Inc and Sergey Bushnyak for the good of the Factom community. While we see the usage of the libraries over the months, the Factom community decided not to support this work in the form of a grant either upfront or as backpay on multiple occasions (1, 2, 3)

If you're an active user or find it useful we strongly encourage you to support our efforts and ensure long maintenance by contributing a small donation to one of the following cryptocurrency addresses:

BTC: 39oVXpsgsyW8ZgzsnX3sV7HLdtXWfT96qN
ETH: 0x9cDBA6bb44772259B3A3fb89cf233A147a720f34
FCT: FA38cwer93mmPw1HxjScLmK1yF9iJTu5P87T2vdkbuLovm2YXyss


All versions of factom-php-client with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
vaderangry/php-json-rpc Version dev-master
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 kompendium-llc/factom-php-client contains the following files

Loading the files please wait ....