PHPackages                             zlt/airtable - 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. zlt/airtable

ActiveLibrary

zlt/airtable
============

Easy To Use PHP SDK for Airtable API

v0.2.1(3y ago)0195MITPHPPHP ^8.0

Since Sep 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/w99910/airtable)[ Packagist](https://packagist.org/packages/zlt/airtable)[ Fund](https://zawlintun.me/BinancePayQR.png)[ RSS](/packages/zlt-airtable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (11)Used By (0)

Easy-To-Use PHP SDK for Airtable API
====================================

[](#easy-to-use-php-sdk-for-airtable-api)

> This package also supports easy to use **Search** feature which is implemented under the hood of `filterByFormula`parameter. Check [here](#search) for more details.

Table Of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
    - [Initialize](#initialize)
    - [How To Get appId, tableId and viewId](#how-to-get-appid-tableid-and-viewid)
    - [Setting appId/baseId](#set-appid)
    - [Setting table](#set-tableid)
    - [Create Record](#create-a-record)
    - [Create Multiple Records](#create-multiple-records)
    - [Get Record](#get-a-record)
    - [Get Multiple Records](#get-multiple-records)
    - [Update Record](#update-a-record)
    - [Update Multiple Records](#update-multiple-records)
    - [Delete Record](#delete-a-record)
    - [Delete Multiple Records](#delete-multiple-records)
- [Search](#search)
- [Support Me](#support-me)

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

[](#installation)

```
$ composer require zlt/airtable
```

Usage
-----

[](#usage)

- ### Initialize

    [](#initialize)

    ```
    $client = new Client('token');
    ```

    The base api endpoint is `https://api.airtable.com/v0/` . You can change it by specifying the second parameter of the constructor.

    ```
     $client = new Client('token','custom-endpoint');
    ```
- ### How to get appId, tableId and viewId

    [](#how-to-get-appid-tableid-and-viewid)

    The format of the url is `https://airtable.com/{appId}/{tableId}/{viewId}` .
- ### Set appId

    [](#set-appid)

    ```
    $client->setAppId('appId');
    ```
- ### Set tableId

    [](#set-tableid)

    ```
    $client->setTable('tableId');
    ```
- ### Create a record

    [](#create-a-record)

    ```
    $client->create([
        'field1' => 'value1',
        'field2' => 'value2',
    ]);
    ```
- ### Create multiple records

    [](#create-multiple-records)

    ```
    $client->createMany([[
        'field1' => 'value1',
        'field2' => 'value2',
    ],[
        'field1' => 'value1',
        'field2' => 'value2',
    ]]);
    ```
- ### Get a record

    [](#get-a-record)

    ```
    $client->get('recordId');
    ```
- ### Get multiple records

    [](#get-multiple-records)

    ```
    $client->get(['recordId1','recordId2']);
    ```
- ### Get all records in table

    [](#get-all-records-in-table)

    ```
    $client->all();
    ```
- ### Update a record

    [](#update-a-record)

    ```
    $client->update('recordId',[
        'field1' => 'value1',
        'field2' => 'value2',
    ]);
    ```
- ### Update multiple records

    [](#update-multiple-records)

    ```
    $client->updateMany([
        'recordId1' => [
            'field1' => 'value1',
            'field2' => 'value2',
        ],
        'recordId2' => [
            'field1' => 'value1',
            'field2' => 'value2',
        ],
    ]);
    ```
- ### Delete a record

    [](#delete-a-record)

    ```
    $client->delete('recordId');
    ```
- ### Delete multiple records

    [](#delete-multiple-records)

    ```
    $client->deleteMany(['recordId1','recordId2']);
    ```
- ### Search

    [](#search)

    You can perform operations such as `where`, `whereOr`, `whereNot`, and `and`.

    ```
    $client->search()
            ->whereNot('Name', 'Doe')
            ->whereOr('Name', 'John')
            ->and(function ($search) {
                return $search->where('Status', 'Active');
            })
            ->get()
    ```

Support me
----------

[](#support-me)

I would be really appreciated if you buy me a coffee via **Binance**. 😄😄

[![binancePayQR](https://camo.githubusercontent.com/f6384ca715d7eca74e3d950d1df9f954456e14ae7acea5f516466b5ff67cfbdf/68747470733a2f2f7a61776c696e74756e2e6d652f42696e616e636550617951522e706e67)](https://camo.githubusercontent.com/f6384ca715d7eca74e3d950d1df9f954456e14ae7acea5f516466b5ff67cfbdf/68747470733a2f2f7a61776c696e74756e2e6d652f42696e616e636550617951522e706e67)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Recently: every ~19 days

Total

10

Last Release

1252d ago

PHP version history (2 changes)v0.1PHP ^7.4|^8.0

v0.2PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cc3500e43c9d8366ea5b2b974176026c785ee56a3f93445a5262f155e9d37c9?d=identicon)[zawlintun](/maintainers/zawlintun)

---

Top Contributors

[![w99910](https://avatars.githubusercontent.com/u/65523475?v=4)](https://github.com/w99910 "w99910 (13 commits)")

---

Tags

phplibraryairtableairtable-phpeasy-to-use-airtablephp-sdk-airtable

### Embed Badge

![Health badge](/badges/zlt-airtable/health.svg)

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

###  Alternatives

[quizlet/hammock

Hammock is a stand-alone mocking library for Hacklang.

27445.5k](/packages/quizlet-hammock)[bupy7/xml-constructor

The array-like constructor of XML document structure.

1337.9k](/packages/bupy7-xml-constructor)

PHPackages © 2026

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