ziwot/cake-tezos

Tezos plugin for CakePHP

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:cakephp-plugin

v0.0.1 2025-05-11 11:19 UTC

This package is auto-updated.

Last update: 2025-05-17 06:14:17 UTC


README

tests Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Tezos plugin for CakePHP

This plugin provides:

Install with :

composer require ziwot/cake-tezos:dev-main-built

Load the plugin :

bin/cake plugin load CakeTezos

Link assets :

cake plugin assets symlink

Load Authenticator and Indentifier :

// Load Authenticator
$service->loadAuthenticator('CakeTezos.SignedMessage');

// Load identifier
$service->loadIdentifier('CakeTezos.TezosBase');

In a view, load the element to allow connect :

<?= $this->element('CakeTezos.connect') ?>

The statement is configurable :

<?= $this->element('CakeTezos.connect', ['statement' => 'I accept the conditions']) ?>