PHPackages                             brightfish/dcptoolkit - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. brightfish/dcptoolkit

ActiveLibrary[File &amp; Storage](/categories/file-storage)

brightfish/dcptoolkit
=====================

PHP Package to read and write DCP Digital Cinema packages

1.0.1(1y ago)373[3 PRs](https://github.com/brightfish-be/DcpToolkit/pulls)MITPHPPHP ^8.1CI passing

Since Sep 13Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/brightfish-be/DcpToolkit)[ Packagist](https://packagist.org/packages/brightfish/dcptoolkit)[ Docs](https://github.com/brightfish-be/dcptoolkit)[ GitHub Sponsors](https://github.com/brightfish-be)[ RSS](/packages/brightfish-dcptoolkit/feed)WikiDiscussions main Synced 1mo ago

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

PHP Package to read and write DCP Digital Cinema packages
=========================================================

[](#php-package-to-read-and-write-dcp-digital-cinema-packages)

[![Latest Version on Packagist](https://camo.githubusercontent.com/365975826e49d950de4c370992645807fe66abbf0708f94540458ea788d28181/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f627269676874666973682f646370746f6f6c6b69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/brightfish/dcptoolkit)[![Tests](https://github.com/brightfish-be/DcpToolkit/actions/workflows/run-tests.yml/badge.svg)](https://github.com/brightfish-be/DcpToolkit/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/edcbd8e135dbf14f424f94a3ab241ab46753acdc3e0a36c028950ace24996876/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f627269676874666973682f646370746f6f6c6b69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/brightfish/dcptoolkit)

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

[](#installation)

You can install the package via composer:

```
composer require brightfish/dcptoolkit
```

Usage
-----

[](#usage)

```
use Brightfish\DcpToolkit\Folders\AnalyzeDcp;

$dcp = AnalyzeDcp::simple($inputFolder);

/*
 * Brightfish\DcpToolkit\Folders\File\SimpleDcp Object
(
    [cplFile] => Brightfish\DcpToolkit\Folders\File\DcpFile Object
        (
            [name] => cpl_f2d8589c-b42e-4a99-8fca-9d992f7c77c3.xml
            [path] => [folder]/cpl_f2d8589c-b42e-4a99-8fca-9d992f7c77c3.xml
            [type] => Brightfish\DcpToolkit\Folders\File\Type Enum
                (
                    [name] => CPL
                )

            [bytes] => 16253
        )

    [pklFile] => Brightfish\DcpToolkit\Folders\File\DcpFile Object
        (
            [name] => pkl_b61c6bff-7dce-454d-af3a-e92f285e19af.xml
            [path] => [folder]/pkl_b61c6bff-7dce-454d-af3a-e92f285e19af.xml
            [type] => Brightfish\DcpToolkit\Folders\File\Type Enum
                (
                    [name] => PKL
                )

            [bytes] => 8957
        )

    [AssetMap] => Brightfish\DcpToolkit\Folders\File\DcpFile Object
        (
            [name] => ASSETMAP.xml
            [path] => [folder]/ASSETMAP.xml
            [type] => Brightfish\DcpToolkit\Folders\File\Type Enum
                (
                    [name] => MAP
                )

            [bytes] => 1825
        )

    [mxfAudio] => Brightfish\DcpToolkit\Folders\File\DcpFile Object
        (
            [name] => pcm_20631b02-f23c-4422-91fc-f891228d0782.mxf
            [path] => [folder]/pcm_20631b02-f23c-4422-91fc-f891228d0782.mxf
            [type] => Brightfish\DcpToolkit\Folders\File\Type Enum
                (
                    [name] => Sound
                )

            [bytes] => 25986426
        )

    [mxfVideo] => Brightfish\DcpToolkit\Folders\File\DcpFile Object
        (
            [name] => j2c_cf1893bf-b994-4552-b704-f65bb2abc7c6.mxf
            [path] => [folder]/j2c_cf1893bf-b994-4552-b704-f65bb2abc7c6.mxf
            [type] => Brightfish\DcpToolkit\Folders\File\Type Enum
                (
                    [name] => Picture
                )

            [bytes] => 688606846
        )

)
 */
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Peter Forret @ BF](https://github.com/brightfish-be)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance71

Regular maintenance activity

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.2% of commits — single point of failure

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 ~21 days

Recently: every ~47 days

Total

11

Last Release

398d ago

Major Versions

0.3.2 → 1.0.02025-03-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/337ba8a7b95f42ae856defba4b85180291c8d12c33eb99011ccb9d58294e2be7?d=identicon)[brightfish](/maintainers/brightfish)

---

Top Contributors

[![cinemapub](https://avatars.githubusercontent.com/u/1841829?v=4)](https://github.com/cinemapub "cinemapub (46 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (19 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (14 commits)")

---

Tags

cinemadcidcpbrightfishdcpdcptoolkit

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/brightfish-dcptoolkit/health.svg)

```
[![Health](https://phpackages.com/badges/brightfish-dcptoolkit/health.svg)](https://phpackages.com/packages/brightfish-dcptoolkit)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15161.6M2.6k](/packages/illuminate-filesystem)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)[madnest/madzipper

Easier zip file handling for Laravel applications.

1382.3M6](/packages/madnest-madzipper)

PHPackages © 2026

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