PHPackages                             zazimou/cap - 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. zazimou/cap

ActiveLibrary

zazimou/cap
===========

Common Alerting Protocol Version 1.2 reader

1.0.0(4y ago)1238MITPHPPHP &gt;=7.4

Since Apr 1Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Zazimou/Cap)[ Packagist](https://packagist.org/packages/zazimou/cap)[ RSS](/packages/zazimou-cap/feed)WikiDiscussions master Synced 5d ago

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

Common Alerting Protocol Version 1.2 reader
===========================================

[](#common-alerting-protocol-version-12-reader)

CAP is library for reading Common Alerting Protocol Version 1.2

This library is for now developed only for Czech ČHMÚ (Český hydrometeorologický ústav) structures

Documentation of Common Alerting Protocol in czech language
===========================================================

[](#documentation-of-common-alerting-protocol-in-czech-language)

[https://www.chmi.cz/files/portal/docs/meteo/om/vystrahy/doc/Dokumentace\_CAP.pdf](https://www.chmi.cz/files/portal/docs/meteo/om/vystrahy/doc/Dokumentace_CAP.pdf)

Features
========

[](#features)

- You can download this file and read as known object without problems
- some content is modified to objects (string with datetime to \\DateTime, ...)

Modified to objects
===================

[](#modified-to-objects)

- all strings with datetime values to `\DateTime`
- all strings with objectable values (e.g. references, senderName,...)
- arrayed all properties where is possible multiple values, all this properties have plural names

Installation
============

[](#installation)

Composer
--------

[](#composer)

```
{
    "require": {
        "zazimou/cap": "*"
    }
}

```

Usage
=====

[](#usage)

```
use Zazimou\CAP\Cap;

// find Url where is cap file uploaded
$url = "https://www.chmi.cz/files/portal/docs/meteo/om/bulletiny/XOCZ50_OKPR.xml";

// create new instance of Cap
$cap = new Cap;

// download the file
$file = $cap->read($url);
```

Changelog
=========

[](#changelog)

1.0.0
-----

[](#100)

- first version of library

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1505d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/134021cedfde022e443b08f412e53d94238953bdee7ed54fd6b0884f060376c0?d=identicon)[Zazimou](/maintainers/Zazimou)

---

Top Contributors

[![datronjzima](https://avatars.githubusercontent.com/u/114137716?v=4)](https://github.com/datronjzima "datronjzima (1 commits)")

### Embed Badge

![Health badge](/badges/zazimou-cap/health.svg)

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

###  Alternatives

[paynl/sdk

401.5M11](/packages/paynl-sdk)[allyans3/steam-market-api-v2

Steam Market API v2

1937.3k](/packages/allyans3-steam-market-api-v2)[cristal/php-api-wrapper

Work with APIs like with Laravel Eloquent or Doctrine (no longer a dream)

12594.9k](/packages/cristal-php-api-wrapper)[chapter-three/apple-news-api

Push content to Apple News.

38307.5k3](/packages/chapter-three-apple-news-api)[labs64/netlicensingclient-php

PHP wrapper for Labs64 NetLicensing RESTful API

1450.4k1](/packages/labs64-netlicensingclient-php)[zephir/kirby-contentsync

Kirby contentsync plugin

543.0k](/packages/zephir-kirby-contentsync)

PHPackages © 2026

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