PHPackages                             kodeops/tezos-marketplaces-utils - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kodeops/tezos-marketplaces-utils

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kodeops/tezos-marketplaces-utils
================================

A variety of utils to handle Tezos NFT Marketplaces.

1.0.19(6mo ago)24.0kMITPHPPHP ^7|^8

Since Feb 28Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/kodeops/tezos-marketplaces-utils)[ Packagist](https://packagist.org/packages/kodeops/tezos-marketplaces-utils)[ Docs](https://github.com/kodeops/tezos-marketplaces-utils)[ RSS](/packages/kodeops-tezos-marketplaces-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (21)Used By (0)

```
 _     _  _____  ______  _______  _____   _____  _______
 |____/  |     | |     \ |______ |     | |_____] |______
 |    \_ |_____| |_____/ |______ |_____| |       ______|

```

Laravel Tezos Marketplaces Utils
================================

[](#laravel-tezos-marketplaces-utils)

Coinlayer
---------

[](#coinlayer)

Add `COINLAYER_BASE_URL` and `COINLAYER_API_KEY` to the environment file:

```
COINLAYER_BASE_URL=https://api.coinlayer.com
COINLAYER_API_KEY=api_key

```

Available targets:

A simple wrapper to get exchange rates

### Live exchange rate

[](#live-exchange-rate)

Gets the actual tezos exchange rate.

```
use kodeops\TezosMarketplacesUtils;

$rate = Coinlayer::tezos('EUR');

// $rate => '1.754402'

```

### Dated exchange rate

[](#dated-exchange-rate)

Gets the tezos exchange rate for a given date.

```
use kodeops\TezosMarketplacesUtils;

$rate = Coinlayer::tezos('2021-01-01', EUR');

// $rate => '1.754402'

```

Response:

```
{
  "success": true,
  "terms": "https://coinlayer.com/terms",
  "privacy": "https://coinlayer.com/privacy",
  "timestamp": 1529571067,
  "target": "USD",
  "rates": {
    "611": 0.389165,
    "ABC": 59.99,
    "ACP": 0.014931,
    "ACT": 0.15927,
    "ACT*": 0.14371,
    "ADA": 0.160502,
    "ADCN": 0.001406,
    "ADL": 121.5,
    "ADX": 0.427854,
    "ADZ": 0.02908,
    "AE": 2.551479,
    "AGI": 0.12555,
    "AIB": 0.005626,
    "AIDOC": 0.02605,
    [...]
  }
}

```

Address Utils
-------------

[](#address-utils)

### Name

[](#name)

Uses tzprofiles and Objkt.com indexer to fetch the name of the account (alias or tez domain)

```
use kodeops\TezosMarketplacesUtils;

$name = Address::name('tz1UKozV9Nr7L3AUyFwYbhDvXEXACiLHL9Yk');

// $name => 'tannhauser'

```

### Permalink

[](#permalink)

Get the permalink for a given address.

```
use kodeops\TezosMarketplacesUtils;

$permalink = Address::permalink('tz1UKozV9Nr7L3AUyFwYbhDvXEXACiLHL9Yk');

// $permalink => 'https://tzkt.io/tz1UKozV9Nr7L3AUyFwYbhDvXEXACiLHL9Yk'

```

### Twitter

[](#twitter)

Uses tzprofiles and Objkt.com indexer to fetch the twitter handle of the address (if available)

```
use kodeops\TezosMarketplacesUtils;

$twitter = Address::twitter('tz1UKozV9Nr7L3AUyFwYbhDvXEXACiLHL9Yk');

// $twitter => 'tannhauserxyz'

```

### Shorten address

[](#shorten-address)

Gets first 4 and last 4 digits of an address using a given separator

```
use kodeops\TezosMarketplacesUtils;

$address_short = Address::shorten('tz1UKozV9Nr7L3AUyFwYbhDvXEXACiLHL9Yk', '...');

// $address_short => 'tz1U...L9Yk'

```

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance70

Regular maintenance activity

Popularity23

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~69 days

Recently: every ~286 days

Total

20

Last Release

207d ago

PHP version history (2 changes)1.0PHP ^7.1.3|^8.0

1.0.18PHP ^7|^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/b34a1b8a32bf4ac5538d141ad0aba29c87fbb5d40df68f34305344c5c4511983?d=identicon)[kodeops](/maintainers/kodeops)

---

Tags

pluginlaravelnftkodeopstezos

### Embed Badge

![Health badge](/badges/kodeops-tezos-marketplaces-utils/health.svg)

```
[![Health](https://phpackages.com/badges/kodeops-tezos-marketplaces-utils/health.svg)](https://phpackages.com/packages/kodeops-tezos-marketplaces-utils)
```

###  Alternatives

[pboivin/filament-peek

Full-screen page preview modal for Filament

253319.6k12](/packages/pboivin-filament-peek)[awcodes/filament-table-repeater

A modified version of the Filament Forms Repeater to display it as a table.

262815.1k5](/packages/awcodes-filament-table-repeater)[awcodes/filament-badgeable-column

Filament Tables column to append and prepend badges.

142419.3k3](/packages/awcodes-filament-badgeable-column)[awcodes/recently

Easily track and access recently viewed records in your filament panels.

4224.3k](/packages/awcodes-recently)[tonegabes/filament-better-options

Filament form components for better radio and checkbox options.

155.2k](/packages/tonegabes-filament-better-options)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
