Flexible SDK for the Airtable API for PHP.
View the Project on GitHub Beachcasts/airtable-sdk-php
Getting Startedrequire_once('../vendor/autoload.php');
use Beachcasts\Airtable\AirtableClient;
use Beachcasts\Airtable\Config;
Dotenv\Dotenv::createImmutable(__DIR__ . '/../')->load();
$baseId = <your_base_id>;
$tableName = <your_table_name>;
$airtableClient = new AirtableClient(Config::fromEnvironment(), $baseId);
$table = $airtableClient->getTable($tableName);
$id = <your_record_id>;
$content = $table->delete($id);
echo $content->getBody()->getContents();