ziwot/cake-tezos

Tezos plugin for CakePHP

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

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-07-08 21:46:34 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

Load the plugin :

bin/cake plugin load CakeTezos

Link assets :

cake plugin assets symlink

You should also add it to your .gitignore :

# Plugins
/webroot/cake_tezos

Of course, when you deploy to prod, then, copy the assets :

cake plugin assets copy

Load Authenticator and Identifier :

// 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']) ?>