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

ActiveLibrary[API Development](/categories/api)

davidzadrazil/airtable-api-php
==============================

PHP wrapper for Airtable API

0.0.3(8y ago)81.1k8[2 issues](https://github.com/DavidZadrazil/airtable-api-php/issues)[4 PRs](https://github.com/DavidZadrazil/airtable-api-php/pulls)MITPHPPHP &gt;=7.0.1

Since Nov 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/DavidZadrazil/airtable-api-php)[ Packagist](https://packagist.org/packages/davidzadrazil/airtable-api-php)[ RSS](/packages/davidzadrazil-airtable-api-php/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (2)Versions (4)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

28

—

LowBetter than 52% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~0 days

Total

3

Last Release

3135d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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