Browse Source

add code highlight

main
ghost 6 months ago
parent
commit
1f02662748
  1. 7
      README.md

7
README.md

@ -12,8 +12,7 @@ To simply interact with Kevacoin API, use PHP library, e.g. @@ -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_')) @@ -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);
}
}
}

Loading…
Cancel
Save