PHPackages                             adigital/eventbrite - 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. adigital/eventbrite

ActiveCraft-plugin[API Development](/categories/api)

adigital/eventbrite
===================

Integration with Eventbrite API

3.0.0(1y ago)21.6k3MITPHP

Since Nov 12Pushed 1y ago3 watchersCompare

[ Source](https://github.com/a-digital/eventbrite)[ Packagist](https://packagist.org/packages/adigital/eventbrite)[ RSS](/packages/adigital-eventbrite/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (20)Used By (0)

Eventbrite plugin for Craft CMS 5.x
===================================

[](#eventbrite-plugin-for-craft-cms-5x)

Integration with Eventbrite API to read information and return it in a variable.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 5.0.0 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require adigital/eventbrite

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Eventbrite.

Eventbrite Overview
-------------------

[](#eventbrite-overview)

Configuring Eventbrite
----------------------

[](#configuring-eventbrite)

The following screenshot of the plugin settings page gives an indication of how it works - you need to provide an Eventbrite API key and organisation ID, and these settings are only editable by admins on environments where the `allowAdminChanges` setting is enabled.

[![Craft CMS Eventbrite Plugin Admin Settings](https://user-images.githubusercontent.com/30312669/66996260-557ea780-f0c8-11e9-9d59-f8b2b46adca0.png)](https://user-images.githubusercontent.com/30312669/66996260-557ea780-f0c8-11e9-9d59-f8b2b46adca0.png)

There's also a settings page which can be accessed by non-admin accounts with the right permission in all environments regardless of the `allowAdminChanges` setting. This page enables users to optionally specify additional event IDs not set up by their organisation to return along with their organisation's events. See screenshots of this settings page and permission below:

[![Craft CMS Eventbrite Plugin User Settings](https://user-images.githubusercontent.com/30312669/66996261-557ea780-f0c8-11e9-853d-4434a1bf6e10.png)](https://user-images.githubusercontent.com/30312669/66996261-557ea780-f0c8-11e9-853d-4434a1bf6e10.png)

[![Screenshot 2019-10-17 at 10 46 24](https://user-images.githubusercontent.com/30312669/66998131-9deb9480-f0cb-11e9-99f4-f53eba9fbc27.png)](https://user-images.githubusercontent.com/30312669/66998131-9deb9480-f0cb-11e9-99f4-f53eba9fbc27.png)

Using Eventbrite
----------------

[](#using-eventbrite)

### The Plugin Variable

[](#the-plugin-variable)

Once configured, data is returned through the plugin variable using the following methods:

`craft.eventbrite.allEvents([expansions] = null, sort = true, time_filter = "current_future", unlistedEvents = false, status = "live")`

This method returns all [events](https://www.eventbrite.com/platform/api#/reference/event/retrieve-an-event) planned by the organisation and specified by the additional event IDs setting. The `expansions` parameter should be a [Twig array](https://twig.symfony.com/doc/3.x/templates.html#literals) where the values correspond to the [additional models that can be returned when querying data](https://www.eventbrite.com/platform/api#/introduction/expansions) from the API. You can see the [expansions that are available for events in the documentation](https://www.eventbrite.com/platform/api#/reference/event). The `sort` parameter will sort events by date by default when organisation and other events are being combined. The `time_filter` parameter defaults to current and future events, but can also be `past` or `all`. The `unlistedEvents` parameter can be set as `true` if you want to return unlisted events. Finally, `status` defaults to only retrieve `live` events, but can also be set as `draft`, `started`, `ended`, `completed`, or `canceled`.

`craft.eventbrite.organisationEvents([expansions] = null, time_filter = "current_future", unlistedEvents = false, status = "live")`

This method returns only [events](https://www.eventbrite.com/platform/api#/reference/event/retrieve-an-event) planned by the organisation, with the parameters working in the same way as the `allEvents` method.

`craft.eventbrite.otherEvents([expansions] = null, sort = true, time_filter = "current_future", unlistedEvents = false)`

This method returns only [events](https://www.eventbrite.com/platform/api#/reference/event/retrieve-an-event) specified by the 'Other Event Ids' setting, with the parameters working in the same way as the `allEvents` method.

`craft.eventbrite.eventById(eventId, [expansions] = null, fullDescription = true, unlistedEvent = false)`

This method returns a single [event](https://www.eventbrite.com/platform/api#/reference/event/retrieve/retrieve-an-event) by its ID, which should be the numeric ID for the event in Eventbrite. Expansions are specified as described above and the full HTML description for the event can be optionally returned and accessed with `eventVariable['htmlDescription']['description']`.

`organisationVenues()`

This method returns all the [venues](https://www.eventbrite.com/platform/api#/reference/venue/list/list-venues-by-organization) belonging to the organisation specified in the plugin settings.

`venueById(venueId)`

This method returns a [venue](https://www.eventbrite.com/platform/api#/reference/venue/retrieve/retrieve-a-venue) by its ID, which should be the numeric ID for the venue in Eventbrite.

`venueEvents(venueId, [expansions] = null, unlistedEvents = false, status = "live" onlyPublic = "true")`

This method returns only [events](https://www.eventbrite.com/platform/api#/reference/event/retrieve-an-event) held at the [venue](https://www.eventbrite.com/platform/api#/reference/event/create/list-events-by-venue) specified by the `venueId` parameter, with the other parameters working in the same way as the `allEvents` method, and the additional `onlyPublic` parameter that states whether the events returned should be filtered by whether they are public.

### Caching

[](#caching)

As the plugin reads live data from the Eventbrite API, you should wrap any use of the variable in your Twig templates within [Craft `cache` tags](https://docs.craftcms.com/v3/dev/tags/cache.html) to reduce your calls to the API and improve page load times.

Eventbrite Roadmap
------------------

[](#eventbrite-roadmap)

Things to do, and ideas for potential features:

- Add methods to write back to Eventbrite so purchasing of tickets can be completed without going offsite
- Explore use of other API methods to expand data returned and possibly add more event stats to Craft

Brought to you by [A Digital](https://adigital.agency/)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance47

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 85.5% 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 ~123 days

Recently: every ~166 days

Total

17

Last Release

398d ago

Major Versions

1.0.6 → 2.0.02022-08-11

1.0.11 → 2.0.22023-09-06

2.0.3 → 3.0.02025-04-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12661198?v=4)[A Digital](/maintainers/a-digital)[@a-digital](https://github.com/a-digital)

---

Top Contributors

[![mark-adigital](https://avatars.githubusercontent.com/u/30312669?v=4)](https://github.com/mark-adigital "mark-adigital (65 commits)")[![matt-adigital](https://avatars.githubusercontent.com/u/15085874?v=4)](https://github.com/matt-adigital "matt-adigital (7 commits)")[![RobMacKay](https://avatars.githubusercontent.com/u/473885?v=4)](https://github.com/RobMacKay "RobMacKay (2 commits)")[![AdamADigital](https://avatars.githubusercontent.com/u/118178820?v=4)](https://github.com/AdamADigital "AdamADigital (1 commits)")[![TonyDeStefano](https://avatars.githubusercontent.com/u/5439786?v=4)](https://github.com/TonyDeStefano "TonyDeStefano (1 commits)")

---

Tags

cmsCraftcraftcmscraft-plugineventbrite

### Embed Badge

![Health badge](/badges/adigital-eventbrite/health.svg)

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

###  Alternatives

[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[craftpulse/craft-typesense

Craft Plugin that synchronises with Typesense

122.7k](/packages/craftpulse-craft-typesense)[jsmrtn/craftagram

Grab Instagram content through the Instagram API

141.3k](/packages/jsmrtn-craftagram)

PHPackages © 2026

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