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
Requires
- php: >=8.1
- cakephp/authentication: ^3.2
- cakephp/cakephp: ^5.0.1
- ziwot/pezos: ^0.2.0
Requires (Dev)
- cakephp/cakephp-codesniffer: ^5.2
- phpunit/phpunit: ^10.5.5 || ^11.1.3
This package is auto-updated.
Last update: 2025-05-17 06:14:17 UTC
README
Tezos plugin for CakePHP
This plugin provides:
- Authenticator and Identifier for the Authentication plugin.
- Wallet connection via SIWT.
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']) ?>