PHPackages                             mintopia/vdfkeyvalue - 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. mintopia/vdfkeyvalue

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

mintopia/vdfkeyvalue
====================

Encoder for Valve Software's KeyValue data format

v1.0.1(9y ago)23.9k1MITPHPPHP &gt;=5.5

Since May 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mintopia/vdfkeyvalue)[ Packagist](https://packagist.org/packages/mintopia/vdfkeyvalue)[ RSS](/packages/mintopia-vdfkeyvalue/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (1)

VDFKeyValue - Valve KeyValue Format Encoder
===========================================

[](#vdfkeyvalue---valve-keyvalue-format-encoder)

[![Total Downloads](https://camo.githubusercontent.com/66d2862767818d398e7cc2b29d6de5e0a2cb09de3b99d564acbb5157b7d49c22/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696e746f7069612f7664666b657976616c75652e737667)](https://packagist.org/packages/mintopia/vdfkeyvalue)[![Reference Status](https://camo.githubusercontent.com/5c854f31d35229eb71c612f7c46cc557e6fa5905068abf8bcc9dd3f4c53ab81e/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f6d696e746f7069613a7664666b657976616c75652f7265666572656e63655f62616467652e737667)](https://www.versioneye.com/php/mintopia:vdfkeyvalue/references)

This library encodes native PHP data in to Valve Software's VDF KeyValue format. This is used by the Source engine and many SourceMod mods.

Installation
------------

[](#installation)

VDFKeyValue is available on [Packagist](https://packagist.org/packages/mintopia/vdfkeyvalue)and installable via [Composer](https://getcomposer.org).

```
$ composer require mintopia/vdfkeyvalue
```

If you do not use composer, you can grab the code from GitHub and use any PSR-4 compatible autoloader.

Basic Usage
-----------

[](#basic-usage)

```
