Skip to content

A laravel package to perform notarization through blockchain

License

Notifications You must be signed in to change notification settings

beliven-it/laravel-notarify

Repository files navigation

Laravel Notarify



Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A laravel package to perform notarization through blockchain.

This package supports notarization on the following providers:

Installation

You can install the package via composer:

composer require beliven-it/laravel-notarify

You can publish the config file with:

php artisan vendor:publish --tag="notarify-config"

Set the ENV variables

NOTARIFY_SERVICE=scalingparrots
// NOTARIFY_SERVICE=iuscribo

// If you use Scaling Parrots
SCALING_PARROTS_ENDPOINT=
SCALING_PARROTS_USERNAME=
SCALING_PARROTS_PASSWORD=

// If you use Iuscribo
IUSCRIBO_ENDPOINT=
IUSCRIBO_USERNAME=
IUSCRIBO_PASSWORD=
IUSCRIBO_COMPANY==

Usage

<?php

use Beliven\Notarify\Facades\Notarify;

$notarization = Notarify::upload($item) // $item is a file
$notarization = Notarify::verify($item); // $item can be a file or a Notarization instance

// The returned value is an instance of Beliven\Notarify\Entities\Notarization::class, which has the following public methods:
$notarization->getId(); // Returns the Notarization ID
$notarization->getHash(); // Returns the Notarization Hash
$notarization->getTimestamp(); // Returns the Notarization timestamp as a Carbon instance (UTC Timezone)
$notarization->getExplorerUrls(); // Returns the Notarization explorer urls as indexed array

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

A laravel package to perform notarization through blockchain

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages