PHPackages                             beachcasts/airtable-sdk-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. beachcasts/airtable-sdk-php

ActiveLibrary

beachcasts/airtable-sdk-php
===========================

Flexible PHP SDK for the Airtable API.

0.5.0(5y ago)6326[1 issues](https://github.com/Beachcasts/airtable-sdk-php/issues)MITPHPPHP ~7.2

Since Mar 26Pushed 5y ago3 watchersCompare

[ Source](https://github.com/Beachcasts/airtable-sdk-php)[ Packagist](https://packagist.org/packages/beachcasts/airtable-sdk-php)[ Docs](https://github.com/beachcasts/airtable-sdk-php)[ GitHub Sponsors](https://github.com/beachcasts)[ RSS](/packages/beachcasts-airtable-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (4)Used By (0)

airtable-sdk-php
================

[](#airtable-sdk-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ed20d73849da40f08c8219273fa74cbca7a6eaa25bce1beb0813ff8f39a0cb27/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626561636863617374732f6169727461626c652d73646b2d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/beachcasts/airtable-sdk-php)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/b66f78b5d231191a3946e3e3a236f15f54ab24f0a44d2ceb3866aebcc53df6f5/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f626561636863617374732f6169727461626c652d73646b2d7068702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.com/beachcasts/airtable-sdk-php)[![Coverage Status](https://camo.githubusercontent.com/8049c486789b38f58b86197dfb6c617b3cf100b695bdce2a2e2c19ec866eb910/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f626561636863617374732f6169727461626c652d73646b2d7068702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/beachcasts/airtable-sdk-php/code-structure)[![Quality Score](https://camo.githubusercontent.com/7676f79f8ec83fd61c1383f11c32b7ee282a7ddff7c10e7ec29d8818d7e2b7ad/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f626561636863617374732f6169727461626c652d73646b2d7068702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/beachcasts/airtable-sdk-php)[![Total Downloads](https://camo.githubusercontent.com/afc3f26ba1d208b6935cf853c9489139393672f260a43cf9bdfaaf0b4490129b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626561636863617374732f6169727461626c652d73646b2d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/beachcasts/airtable-sdk-php)

This Airtable SDK for PHP makes it easier to leverage the Airtable API leveraging popular PHP conventions.

NOTE: This project is under active development, and is NOT ready for use.

Documentation
-------------

[](#documentation)

Go to:

Prerequisites
-------------

[](#prerequisites)

- Composer installed globally
- PHP v7.2+

Install
-------

[](#install)

Via Composer

```
$ composer require beachcasts/airtable-sdk-php
```

Quick Start
-----------

[](#quick-start)

Base usage requires instantiation of the AirtableClient, as shown below:

```
require_once('vendor/autoload.php');

use Beachcasts\Airtable\AirtableClient;
use Beachcasts\Airtable\Config;

// Add details to your environment - see documentation for recomendations

$airtableClient = new AirtableClient(Config::fromEnvironment(), );
$table = $airtableClient->getTable();
```

##### NOTES:

[](#notes)

1. Update `` and `` as needed.
2. the `Config::fromEnvironment`

For more details of how to use the AirtableClient, see the [/docs](https://beachcasts.github.io/airtable-sdk-php/), where examples highlight using `create()`, `read()`, `update()`, `delete()`, and `list()` methods on/with Airtable data.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

Airtable-SDK has 3 Test Suites: Full, Unit and Integration, we include a Dev requirement against PHPUnit. Please make sure you run the composer install to get all dependencies.

```
$ composer install
```

#### Unit Tests

[](#unit-tests)

Running the unit tests is simply telling phpunit to run the "unit" testsuite

```
$ vendor/bin/phpunit --testsuite=unit
```

#### Integration Tests

[](#integration-tests)

Running the integration tests will require an actual account and details from Airtable.

1. Copy the file `tests\.env.default` to `tests\.env`
2. Log into your Airtable account
3. `Add a base` using the `Start from scratch` method. Let the new base creation retain the default `Untitled Base` name.
4. Visit [Airtable API docs](https://airtable.com/api) and select your `Base`
5. Copy the Base ID from the Introduction section. Look for `The ID of this base is`Add this to the `tests\.env` under the `TEST_BASE_ID` key
6. Go to [Your account](https://airtable.com/account) and copy your API Key. Add this to the `tests\.env` under the `AIRTABLE_API_KEY` key
7. If you have changed the default Table name away from `Table 1` - update the `TEST_TABLE_NAME` in the `tests\.env`

Once the .env is configured, tests can be run with the following command:

```
$ vendor/bin/phpunit --testsuite=integration
```

#### Full Test Suite

[](#full-test-suite)

To run the full Test Suite, you will need to follow the steps outlined for Integration testing. To Exceute, run the following command:

```
$ vendor/bin/phpunit --testsuite=full
```

or

```
$ vendor/bin/phpunit
```

Quality Control
---------------

[](#quality-control)

To maintain quality control, we maintain use of the following standards:

- [PSR-2](https://www.php-fig.org/psr/psr-2/) Coding Standard,
- [PSR-4](https://www.php-fig.org/psr/psr-4/) standard for Autoload locations (via composer)
- [PSR-7](https://www.php-fig.org/psr/psr-7/) standard for HTTP messages (via GuzzleHttp implementation)

We provide a `phpcs.xml.dist` within the codebase to validate the Coding standard using Code Sniffer (included as dev dependency in our composer.json manifest)

To run the codesniffer against the codebase, use the following command.

```
$ vendor/bin/phpcs --standard=phpcs.xml.dist src
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Beachcasts](https://github.com/beachcasts)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.9% 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 ~28 days

Total

3

Last Release

2178d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8281b60294e081b5c4dc1143d2217bac5b53451a9d690a6dcd54c4042e20e90f?d=identicon)[adamculp](/maintainers/adamculp)

---

Top Contributors

[![adamculp](https://avatars.githubusercontent.com/u/284451?v=4)](https://github.com/adamculp "adamculp (160 commits)")[![BinaryKitten](https://avatars.githubusercontent.com/u/67553?v=4)](https://github.com/BinaryKitten "BinaryKitten (49 commits)")[![Tpojka](https://avatars.githubusercontent.com/u/1076191?v=4)](https://github.com/Tpojka "Tpojka (19 commits)")[![chapeupreto](https://avatars.githubusercontent.com/u/834048?v=4)](https://github.com/chapeupreto "chapeupreto (1 commits)")

---

Tags

airtableairtable-apiairtable-clientphpphp-librarysdksdk-phpphpclientsdkguzzlehttppsr7airtablebeachcastsairtable-sdk-php

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/beachcasts-airtable-sdk-php/health.svg)

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

###  Alternatives

[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M467](/packages/saloonphp-saloon)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)

PHPackages © 2026

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