PHPackages                             silktide/capiture - 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. [API Development](/categories/api)
4. /
5. silktide/capiture

AbandonedArchivedLibrary[API Development](/categories/api)

silktide/capiture
=================

A very simple interface to track API calls.

1.2.13(6y ago)016.6k1GPL-2.0-or-laterPHPPHP &gt;=7.0

Since Apr 23Pushed 6y ago4 watchersCompare

[ Source](https://github.com/silktide/capiture)[ Packagist](https://packagist.org/packages/silktide/capiture)[ RSS](/packages/silktide-capiture/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (17)Used By (1)

cAPIpture
=========

[](#capipture)

[![CircleCI](https://camo.githubusercontent.com/418408c17e9e05917a4f066f3ea086c1684532db0170cb87c03f166561b1c41f/68747470733a2f2f636972636c6563692e636f6d2f67682f73696c6b746964652f63617069747572652e7376673f7374796c653d737667)](https://circleci.com/gh/silktide/capiture)

A very simple interface to track API calls.

**cAPIpture** is used in various Silktide API client libraries with a simple goal of collecting data.

There is no implementation here but this data could be used for various purposes including billing, usage reporting etc.

---

### Getting started

[](#getting-started)

**Install from composer**

```
composer require silkitde/capiture

```

**Trait usage**

There is an optional trait which can make life slightly easier by setting up the scaffolding.

Don't forget to set your implementation through the `setApiUsageTracker()` method.

```
