PHPackages                             adecks/trafficza - 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. adecks/trafficza

ActiveLibrary[API Development](/categories/api)

adecks/trafficza
================

This is a convinient PHP Package that interacts with the https://www.i-traffic.co.za

0.1(4y ago)04MITPHPPHP ^7.4|^8.0

Since Mar 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/AndreKendeck/trafficza)[ Packagist](https://packagist.org/packages/adecks/trafficza)[ Docs](https://github.com/AndreKendeck/trafficza)[ RSS](/packages/adecks-trafficza/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

iTraffic ZA PHP
===============

[](#itraffic-za-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ce815ca3b40e7cc9c88bc6a0e72c64851b3cb947061f40cde0f8d4744e026c6a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616465636b732f747261666669637a612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adecks/trafficza)

[![Total Downloads](https://camo.githubusercontent.com/878d5817c70ee8b25ddf2b370d98366695aa5d19895e691bbe3ab3904b3d2238/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616465636b732f747261666669637a612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adecks/trafficza)

[![Tests](https://github.com/AndreKendeck/trafficza/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/AndreKendeck/trafficza/actions/workflows/main.yml)

This package is creates convenient classes for iTraffic Models. see more @

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

[](#installation)

You can install the package via composer:

```
composer require adecks/trafficza
```

Usage
-----

[](#usage)

```
// Interacting with the iTraffic API
use Adecks\TrafficZA\Traffic;

public function getTrafficEvents() {

	$traffic = new Traffic('YOUR_API_KEY');

	$events = $traffic->getEvents();

	foreach($events as $event) {
		$event->getReported();
	}
}
```

iTraffic Models

```
Adecks\TrafficZA\Alert::class
Adecks\TrafficZA\Camera::class
Adecks\TrafficZA\Event::class
Adecks\TrafficZA\MessageSign::class
Adecks\TrafficZA\Roadway::class
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Andre Kendeck](https://github.com/adecks)

License
-------

[](#license)

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

1509d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c52d9961027b95cbca82c4bd44530950cf246c509ca9a1051b08401b788a61c5?d=identicon)[andrekendeck](/maintainers/andrekendeck)

---

Top Contributors

[![AndreKendeck](https://avatars.githubusercontent.com/u/41024720?v=4)](https://github.com/AndreKendeck "AndreKendeck (9 commits)")

---

Tags

routesSouth Africatrafficadecksitrafficza

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/adecks-trafficza/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[infyomlabs/routes-explorer

Laravel Routes Explorer

3925.6k](/packages/infyomlabs-routes-explorer)[tobion/openapi-symfony-routing

Loads routes in Symfony based on OpenAPI/Swagger annotations

4219.5k](/packages/tobion-openapi-symfony-routing)

PHPackages © 2026

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