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

ActiveLibrary[API Development](/categories/api)

digiti/airtable-api-php
=======================

PHP wrapper for Airtable API

0.0.5(2y ago)05.6k3MITPHPPHP &gt;=7.0.1

Since Nov 23Pushed 2y ago7 watchersCompare

[ Source](https://github.com/digiti/airtable-api-php)[ Packagist](https://packagist.org/packages/digiti/airtable-api-php)[ RSS](/packages/digiti-airtable-api-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

Airtable API Wrapper
====================

[](#airtable-api-wrapper)

PHP wrapper for Airtable API.

Getting started
---------------

[](#getting-started)

Airtable API does not allow to manipulate with bases or with fields in tables. So you must create tables and its fields manually in Airtable interface.

**Important**

Every base has own documentation where you find `base` identificator (starts with `app` e.g. `appGYr9gxkAk0wKNk`), which is required parameter. `API Key` is located in [account settings](https://airtable.com/account).

Instalation
-----------

[](#instalation)

The best way to install davidzadrazil/airtable-api-php is using [Composer](http://getcomposer.org/):

```
$ composer require davidzadrazil/airtable-api-php
```

Usage
=====

[](#usage)

Initialize
----------

[](#initialize)

First of all, you must initialize Airtable class and Request handler:

```
$airtable = new DavidZadrazil\AirtableApi\Airtable('API_KEY', 'BASE_ID');
$request = new DavidZadrazil\AirtableApi\Request($airtable, 'TABLE_NAME');
```

Fetching records
----------------

[](#fetching-records)

**Important**: Airtable limits response with maximum 100 records.

```
$tableRequest = $request->getTable();
do {
  foreach ($tableRequest->getRecords() as $record) {
    echo $record->getName();
    echo $record->getEmail();
    echo $record->getAnotherValue();
  }
} while ($tableRequest = $tableRequest->nextPage());
```

`getRecords()` returns array of [AirtableApi\\Record](https://github.com/DavidZadrazil/airtable-api-php/blob/master/src/Record.php).

### Filtration &amp; Other parameters

[](#filtration--other-parameters)

Fetching records from table can be used with available parameters like `filterByFormula`, `maxRecords`, `pageSize`, `sort` or `view`.

```
$request->getTable(['pageSize' => 50, 'filterByFormula' => '{Name} = "test"']);
```

Creating records
----------------

[](#creating-records)

```
$response = $request->createRecord(
  [
    'Name' => 'This appears in Name field',
    'Email' => 'john@doe.com',
    'LinkToAnotherTable' => ['recsH5WYbYpwWMlvb']
  ]
);

$response->isSuccess(); // true / false
$response->getRecords(); // returns newly created record with ID
```

Updating records
----------------

[](#updating-records)

Updates specific record with given record ID.

```
$response = $request->updateRecord('recsH5WYbYpwWMlvb', ['Name' => 'Updated value']);
$response->isSuccess(); // true / false
```

Deleting records
----------------

[](#deleting-records)

Delete specific record with given record ID.

```
$response = $request->deleteRecord('recsH5WYbYpwWMlvb');
$response->isSuccess(); // true / false
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~568 days

Total

5

Last Release

827d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7bde8ea727b26a95b4545a48c11bfa494883d8728bb716962a6bd6d03264c59?d=identicon)[lammensj](/maintainers/lammensj)

---

Top Contributors

[![davidzadrazil](https://avatars.githubusercontent.com/u/1330026?v=4)](https://github.com/davidzadrazil "davidzadrazil (6 commits)")[![lammensj](https://avatars.githubusercontent.com/u/1155612?v=4)](https://github.com/lammensj "lammensj (4 commits)")[![TheRealJanJanssens](https://avatars.githubusercontent.com/u/28360647?v=4)](https://github.com/TheRealJanJanssens "TheRealJanJanssens (1 commits)")[![tylerzey](https://avatars.githubusercontent.com/u/30305023?v=4)](https://github.com/tylerzey "tylerzey (1 commits)")

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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