PHPackages                             blobaugh/meetup-api-client - 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. blobaugh/meetup-api-client

ActiveLibrary[API Development](/categories/api)

blobaugh/meetup-api-client
==========================

A PHP API wrapper for the Meetup.com API

3548215[10 issues](https://github.com/blobaugh/Meetup-API-client-for-PHP/issues)[2 PRs](https://github.com/blobaugh/Meetup-API-client-for-PHP/pulls)PHP

Since Dec 10Pushed 13y ago8 watchersCompare

[ Source](https://github.com/blobaugh/Meetup-API-client-for-PHP)[ Packagist](https://packagist.org/packages/blobaugh/meetup-api-client)[ RSS](/packages/blobaugh-meetup-api-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Meetup API client for PHP
=========================

[](#meetup-api-client-for-php)

Meetup () is a social networking site based around community groups. Meetup provides an API to access their platform services from remote applications to manage authentication, events, rsvps and more.

Until now a good PHP client for the Meetup API has not existed. This project aims to bridge that gap by providing a high quality stand alone Meetup API PHP client. This client is simple to use through provided classes and also allows powerful advanced usage through direct queries to the API

*NOTE:* This project currently only supports GET requests to the Meetup API

Supported endpoints
-------------------

[](#supported-endpoints)

/2/checkins /2/events /2/event /2/open\_events /2/event\_comments /2/event\_ratings /activity /2/groups /comments /2/members /2/member /2/profiles /2/photo\_comments /2/photo\_albums /2/photos /2/rsvps /topics /2/open\_venues /2/venues

Documentation
=============

[](#documentation)

Full documentation can be found on the Github project wiki at

How to setup the library
========================

[](#how-to-setup-the-library)

- Download the files from Github and place them in the PHP application directory
- - I.E. /var/www/myapp/Meetup-API-client-for-PHP
- Include the Meetup.php file in your application
- - I.E. In /var/www/myapp/index.php
- - Use require\_once('Meetup-API-client-for-PHP/Meetup.php');
- Establish a connection to the API with your Meetup API key, available at [http://www.meetup.com/meetup\_api/key/](http://www.meetup.com/meetup_api/key/)
- - $meetup\_api\_key = '';
- - $connection = new MeetupKeyAuthConnection($meetup\_api\_key);
- Begin using the new Meetup functionality in your application!

Using the pre-built endpoint classes
====================================

[](#using-the-pre-built-endpoint-classes)

The Meetup API client for PHP allows developers to make direct calls to the Meetup API, however for convenience several helper classes have been created. Each class corresponds directly to a grouping of endpoints from the Meetup API documentation. These classes take an associative array of parameters that correspond to the parameters in the Meetup API documentation.

Example: Accessing all Meetup events for user Ben Lobaugh with ID 14508967. See [http://www.meetup.com/meetup\_api/docs/2/events/](http://www.meetup.com/meetup_api/docs/2/events/) for additional parameters and response format

$m = new MeetupEvents($connection); $events = $m-&gt;getEvents( array( 'member\_id' =&gt; '14508967' ) );

$events will be in the form of an associative array

Consult the Meetup API documentation for parameters used by each endpoint [http://www.meetup.com/meetup\_api/docs](http://www.meetup.com/meetup_api/docs)

Direct queries to the Meetup API
================================

[](#direct-queries-to-the-meetup-api)

The Meetup API client for PHP supports direct API queries if a helper class is not available. Queries are sent to the MeetupApiRequest class and data recieved from the Meetup API will be returned in the MeetupApiResponse class. The MeetupApiResponse object will contain the HTTP code and API response. To use the MeetupApiReponse class a developer simply calls the query method with an endpoint and parameters.

Example: Accessing all Meetup events for user Ben Lobaugh with ID 14508967. See [http://www.meetup.com/meetup\_api/docs/2/events/](http://www.meetup.com/meetup_api/docs/2/events/) for additional parameters and response format

$m = new MeetupApiRequest($connection); $events = $m-&gt;query( MEETUP\_ENDPOINT\_EVENTS, array( 'member\_id' =&gt; '14508967' ) );

$events will be a MeetupApiResponse object that can be access like an array (E.G. $events\['results'\]) or used in a loop to view each event entry (E.G. foreach( $events AS $event ) ) The HTTP response code can be checked with $events-&gt;getHttpCode()

Exceptions
==========

[](#exceptions)

Exceptions will usually occur when an invalid API request is recieved. The following is a list of all the Meetup API client for PHP specific exceptions

- MeetupInvalidParametersException - Invalid or missing parameters passed to the API endpoint
- MeetupBadRequestException - Problem with the request
- MeetupUnauthorizedRequestException - Invalid API key
- MeetupInternalServerErrorException - Problem exists with the Meetup API server

Development Roadmap
===================

[](#development-roadmap)

- oAuth integration - High priority
- POST support
- everywhere endpoints implementation

If you would like to see specific new developments please feel free to contribute through code of financial incentives.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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/607c6b260c5e485442be16d8598d288d5e719a5c938dfe3d8ae82f3239b13fa0?d=identicon)[blobaugh](/maintainers/blobaugh)

---

Top Contributors

[![blobaugh](https://avatars.githubusercontent.com/u/806179?v=4)](https://github.com/blobaugh "blobaugh (12 commits)")[![cjlarose](https://avatars.githubusercontent.com/u/954763?v=4)](https://github.com/cjlarose "cjlarose (12 commits)")[![desmondmorris](https://avatars.githubusercontent.com/u/129360?v=4)](https://github.com/desmondmorris "desmondmorris (3 commits)")[![rdohms](https://avatars.githubusercontent.com/u/94331?v=4)](https://github.com/rdohms "rdohms (2 commits)")

### Embed Badge

![Health badge](/badges/blobaugh-meetup-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/blobaugh-meetup-api-client/health.svg)](https://phpackages.com/packages/blobaugh-meetup-api-client)
```

###  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)
