for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tapp\Airtable;
class Airtable
{
private $api;
/** @var string */
protected $base;
protected $table;
public function __construct($client, $table)
$this->table = $table;
$this->api = $client;
}
public function find(string $id)
return $this->api->get($id);
public function create($data)
return $this->api->post($data);
public function update(string $id, $data)
return $this->api->put($id, $data);
public function destroy(string $id)
return $this->api->delete($id);
public function get()
return $this->api->get();
public function all()
return $this->api->getAllPages();