PHPackages                             olifanton/boc - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. olifanton/boc

Abandoned → [olifanton/interop](/?search=olifanton%2Finterop)ArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

olifanton/boc
=============

BOC (Bag of Cells) PHP serialization library

0.4.1(3y ago)441MITPHPPHP &gt;=8.1

Since Jul 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/olifanton/boc)[ Packagist](https://packagist.org/packages/olifanton/boc)[ Docs](https://github.com/olifanton/boc)[ RSS](/packages/olifanton-boc/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

---

⚠️⚠️⚠️ This package is outdated and will not be updated! Use [`olifanton/interop`](https://github.com/olifanton/interop) instead.
=================================================================================================================================

[](#️️️-this-package-is-outdated-and-will-not-be-updated-use-olifantoninterop-instead)

---

BOC (Bag of Cells) PHP serialization library
--------------------------------------------

[](#boc-bag-of-cells-php-serialization-library)

[![Code Coverage Badge](./.github/badges/coverage.svg)](./.github/badges/coverage.svg)[![Tests](https://github.com/olifanton/boc/actions/workflows/tests.yml/badge.svg)](https://github.com/olifanton/boc/actions/workflows/tests.yml/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/aca19bc6d0f96d2d02c70117ca85a425daf4c00bb6216bbe2989ec621dacba86/68747470733a2f2f706f7365722e707567782e6f72672f6f6c6966616e746f6e2f626f632f762f737461626c65)](https://packagist.org/packages/olifanton/boc)[![Total Downloads](https://camo.githubusercontent.com/cf0a15acea953c47ebf71558e2dfca98cca7990e265dbc643ba2c01a7380d07d/68747470733a2f2f706f7365722e707567782e6f72672f6f6c6966616e746f6e2f626f632f646f776e6c6f616473)](https://packagist.org/packages/olifanton/boc)

PHP port of [`tonweb-boc`](https://github.com/toncenter/tonweb/tree/master/src/boc) JS library

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

[](#installation)

```
composer require olifanton/boc
```

Documentation
-------------

[](#documentation)

### Getting started

[](#getting-started)

Install [`olifanton/boc`](https://packagist.org/packages/olifanton/boc) package via Composer and include autoload script:

```
