PHPackages                             developermarius/eventim-public-api - 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. developermarius/eventim-public-api

ActiveProject[API Development](/categories/api)

developermarius/eventim-public-api
==================================

Wrapper for the Eventim public api

05PHP

Since Oct 1Pushed 1y ago2 watchersCompare

[ Source](https://github.com/DeveloperMarius/eventim-public-api)[ Packagist](https://packagist.org/packages/developermarius/eventim-public-api)[ RSS](/packages/developermarius-eventim-public-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Eventim Public Api
==================

[](#eventim-public-api)

This is a simple wrapper for the Eventim Public Api. It is written in PHP and provides a simple way to access the Eventim Public Api.
The Eventim Public Api is a RESTful API that provides access to the Eventim products through its search functionality.
After I did some simple analysis on the Eventim Public Api, I documented some components of the API in a gist. You can find the gist [here](https://gist.github.com/DeveloperMarius/7e8aff4c69ccbf59238d76163c86d9c9).

> **Disclaimer** before using this client: please ensure that you have the permissions from the Website Owner.

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

[](#installation)

To install this library, you need to have Composer installed on your system. If you don't have it installed, you can download it from [here](https://getcomposer.org/).

Once you have Composer installed, you can install the library by running the following command in your terminal:

```
composer require developermarius/eventim-public-api
```

Usage
-----

[](#usage)

### Initialization

[](#initialization)

First, you need to import the `EventimClient` class and create a new instance of it.

```
use developermarius\eventim\publicapi\EventimClient;

$client = new EventimClient();
```

### Searching for Products

[](#searching-for-products)

To search for products, you can use the `search` method. This method accepts an optional `EventimSearchQuery` object. If no query object is provided, a default one will be used.

```
use developermarius\eventim\publicapi\models\EventimSearchQuery;

$query = EventimSearchQuery::new()->categories(array(
    EventimCategoryType::HUMOR,
    EventimCategoryType::CONCERT
))->cityNames(array(
    'Frankfurt am Main'
));

$response = $client->search($query);
```

The `search` method returns an `EventimSearchResponse` object, which contains the search results.

### Paginating Search Results

[](#paginating-search-results)

To paginate through search results, you can use the `paginateSearch` method. This method accepts a callback function, an optional `EventimSearchQuery` object, and an optional sleep time between requests.

```
$allProducts = $client->paginateSearch(function($response) {
    // Process each page of results here
}, $query, 2);
```

Limitations
-----------

[](#limitations)

Please note that due to limitations on the Eventim side, this library cannot handle page numbers greater than 102. If you try to access a page number greater than 102, an exception will be thrown.

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

[](#contributing)

Contributions are welcome! Please feel free to submit a pull request.

License
-------

[](#license)

This library is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4967d56d82cd73c6266e20ddd3c3e29756e04dcd0ae6dee00cb8d2cffbb43e4f?d=identicon)[DeveloperMarius](/maintainers/DeveloperMarius)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/developermarius-eventim-public-api/health.svg)

```
[![Health](https://phpackages.com/badges/developermarius-eventim-public-api/health.svg)](https://phpackages.com/packages/developermarius-eventim-public-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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