PHPackages                             picatic/php-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. picatic/php-api

ActiveLibrary[API Development](/categories/api)

picatic/php-api
===============

PHP Wrapper to access the Picatic API

v1.0.12(11y ago)183MITPHPPHP &gt;=5.3

Since Jun 27Pushed 11y ago2 watchersCompare

[ Source](https://github.com/picatic/php-api)[ Packagist](https://packagist.org/packages/picatic/php-api)[ RSS](/packages/picatic-php-api/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (14)Used By (0)

Picatic API PHP
===============

[](#picatic-api-php)

What you need to know

- Everything has an interface, everything is pluggable
- We avoid statics for almost everything to make testing easier
- There are some odd wrapping functions/classes as a result of our adversion to static methods
- We break the ideal that static and instance methods operate on those levels.

Our "static" methods are prefixed with "class": classRateLookup

In some special cases, we prefix instance methods with "instance". Usually only when there is a similarly named "class" method.

Composer
========

[](#composer)

You can include the latest version of this package by adding `"picatic/php-api": "dev-master"` to your "require".

How to Use
==========

[](#how-to-use)

Get an instance of the API:

```
$picaticInstance = PicaticAPI::instance();

```

Configure API with your key:

```
$picaticInstance->setApiKey('sk_live_123');

```

Find an Event:

```
$event = PicaticAPI::instance()->factory()->modelCreate('Event')->find(34641);

```

This returns an instance of Picatic\_Event model. If you want to work with it as an associative array, you can call `getValues` to return an associative array.

```
$eventAssoc = $event->getValues();

```

Find a bunch of events:

```
$events = PicaticAPI::instance()->factory()->modelCreate('Event')->findAll(array('user_id'=>6679));

```

Update an event:

```
$event['description'] = 'This is going to rock';
$event->save();

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~53 days

Total

13

Last Release

4037d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2624001?v=4)[Picatic](/maintainers/picatic)[@picatic](https://github.com/picatic)

---

Top Contributors

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

---

Tags

apievent managementpicatic

### Embed Badge

![Health badge](/badges/picatic-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/picatic-php-api/health.svg)](https://phpackages.com/packages/picatic-php-api)
```

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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