PHPackages                             toolstud-io/nowtricity - 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. toolstud-io/nowtricity

ActiveLibrary[API Development](/categories/api)

toolstud-io/nowtricity
======================

PHP Library for Nowtricity API

1.0.0(2y ago)06MITPHPPHP ^8.1

Since Oct 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/toolstud-io/nowtricity)[ Packagist](https://packagist.org/packages/toolstud-io/nowtricity)[ Docs](https://github.com/toolstud-io/nowtricity)[ RSS](/packages/toolstud-io-nowtricity/feed)WikiDiscussions master Synced 2d ago

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

PHP Library for Nowtricity API
==============================

[](#php-library-for-nowtricity-api)

Github: [![GitHub tag](https://camo.githubusercontent.com/f15df0be441268f46bc539ec8d77dca3f5532a6adde27a7dfeca26ab1e74ca16/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f746f6f6c737475642d696f2f6e6f7774726963697479)](https://camo.githubusercontent.com/f15df0be441268f46bc539ec8d77dca3f5532a6adde27a7dfeca26ab1e74ca16/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f746f6f6c737475642d696f2f6e6f7774726963697479)[![Tests](https://github.com/toolstud-io/nowtricity/workflows/Run%20Tests/badge.svg)](https://github.com/toolstud-io/nowtricity/workflows/Run%20Tests/badge.svg)

Packagist: [![Packagist Version](https://camo.githubusercontent.com/01da3490d78a6f9bbf677615cd6a6a4d318b6eba4b8108d5455026cce8f63a96/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f6f6c737475642d696f2f6e6f77747269636974792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/toolstud-io/nowtricity)[![Packagist Downloads](https://camo.githubusercontent.com/a4b8cd261f66e1a92aa8b83fb6a40f7dac295960e913c348425494213d8b1ffd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f6f6c737475642d696f2f6e6f77747269636974792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/toolstud-io/nowtricity)

[![](assets/unsplash.electricity.jpg)](assets/unsplash.electricity.jpg)

PHP Library for Nowtricity API - based on

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

[](#installation)

You can install the package via composer:

```
composer require toolstud-io/nowtricity
```

Usage
-----

[](#usage)

```
$obj = new ToolstudIo\Nowtricity\Nowtricity($apiKey);
$countries = $obj->countries();
$current = $obj->current('belgium');
$last24 = $obj->last24('belgium');
$year = $obj->year('belgium', '2022');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Peter Forret](https://github.com/toolstud-io)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~0 days

Total

3

Last Release

980d ago

Major Versions

0.2.0 → 1.0.02023-10-28

PHP version history (2 changes)0.1.0PHP ^7.4

0.2.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/474312?v=4)[Peter Forret](/maintainers/pforret)[@pforret](https://github.com/pforret)

---

Top Contributors

[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (28 commits)")

---

Tags

co2-emissionsnowtricitytoolstud-ionowtricity

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/toolstud-io-nowtricity/health.svg)

```
[![Health](https://phpackages.com/badges/toolstud-io-nowtricity/health.svg)](https://phpackages.com/packages/toolstud-io-nowtricity)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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