PHPackages                             mickadoo/duolingo-events - 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. mickadoo/duolingo-events

ActiveLibrary[API Development](/categories/api)

mickadoo/duolingo-events
========================

PHP API Wrapper for the Duolingo Events API

0.5.0(4y ago)044MITPHPPHP ^7.4|^8.0

Since Nov 17Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mickadoo/duolingo-events)[ Packagist](https://packagist.org/packages/mickadoo/duolingo-events)[ RSS](/packages/mickadoo-duolingo-events/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (19)Used By (0)

Purpose
-------

[](#purpose)

This package allows calling the Duolingo Events API.

[![PHP Composer](https://github.com/mickadoo/duolingo-events/workflows/PHP%20Composer/badge.svg)](https://github.com/mickadoo/duolingo-events/workflows/PHP%20Composer/badge.svg)

Usage
-----

[](#usage)

First run `composer req mickadoo/duolingo-events` in your project.

To get an instance of the API wrapper use

```
use Mickadoo\DuolingoEvents\ApiFactory;
use Mickadoo\DuolingoEvents\Request\EventsRequest;

$api = ApiFactory::getEventsApi();
// Defaults to any language, events up to 3 days in future
$events = $api->getEvents(new EventsRequest());
```

Filter events by specifying language or time

```
use Mickadoo\DuolingoEvents\ApiFactory;
use Mickadoo\DuolingoEvents\Request\EventsRequest;

$api = ApiFactory::getEventsApi();
// Defaults to any language, events up to 3 days in future
$request = new EventsRequest();
$request->setLanguageCodes(['fr']);
$request->setEndRange(new DateTime('+2 weeks'));
$events = $api->getEvents($request);
```

Each call will return an array of `Event` instances.

Fetch a single event

```
use Mickadoo\DuolingoEvents\ApiFactory;

$api = ApiFactory::getEventsApi();;
$id = 'ac10a8c7-e6e8-4acc-ac0d-5fd0274ab3df';
$event = $api->getEvent($id);
```

*Note:* The `hosts` property of an event is not populated from a collection call, e.g. `getEvents`, it will only be set on a single event call, i.e. `getEvent($id)`

Tests
-----

[](#tests)

To run the test suite clone this repository, run `composer install` and from the project directory run

```
vendor/bin/phpunit
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Recently: every ~27 days

Total

18

Last Release

1805d ago

PHP version history (2 changes)0.1.0PHP ^7.4

0.3.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e45af0cd02dce910bce81d846add2c36d03278cc76663af9ded7b91ebdeda4e?d=identicon)[michael.devery](/maintainers/michael.devery)

---

Top Contributors

[![mickadoo](https://avatars.githubusercontent.com/u/6374064?v=4)](https://github.com/mickadoo "mickadoo (51 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mickadoo-duolingo-events/health.svg)

```
[![Health](https://phpackages.com/badges/mickadoo-duolingo-events/health.svg)](https://phpackages.com/packages/mickadoo-duolingo-events)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M339](/packages/api-platform-core)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)[fschmtt/keycloak-rest-api-client-php

PHP client to interact with Keycloak's Admin REST API.

49108.6k2](/packages/fschmtt-keycloak-rest-api-client-php)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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