add code highlight

This commit is contained in:
ghost 2024-06-03 23:17:51 +03:00
parent d0f18f2956
commit 1f02662748

View File

@ -12,8 +12,7 @@ To simply interact with Kevacoin API, use PHP library, e.g.
`composer require kevachat/kevacoin`
```
``` php
// Connect kevacoin
$client = new \Kevachat\Kevacoin\Client(
$protocol,
@ -37,8 +36,8 @@ if ($meta = $client->kevaGet($namespace, '_CLITOR_IS_'))
// Grab namespace records from blockchain
if ($pieces = $client->kevaFilter($namespace))
{
// Implement your app logic
echo $reader->data($pieces);
// Implement your app logic
echo $reader->data($pieces);
}
}
}