Download the PHP package sleiman/airtable-php without Composer

On this page you can find all versions of the php package sleiman/airtable-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package airtable-php

Airtable PHP client

A PHP client for the Airtable API. Comments, requests or bug reports are appreciated.

View examples

Get started

Please note that Airtable doesn't allow schema manipulation using their public API, you have to create your tables using their interface.

Once you created your base in the Airtable Interface open the API Docs to get your Base ID.

The Base ID is a code that starts with 'app' followed by a mix of letter or numbers (appsvqGDFCwLC3I10).


Installation

If you're using Composer, you can run the following command:

You can also download them directly and extract them to your web directory.

Add the wrapper to your project

If you're using Composer, run the autoloader

Or include the Airtable.php file

Initialize the class

Get all entries in table

We are getting all the entries from the table "Contacts".

Use params to filter, sort, etc

Create new entry

We will create new entry in the table Contacts

Batch Create now available, documentation available below

Update Contact

Use the entry ID to update the entry

Batch Update now available, documentation available below

Expended Relationships (eager loading)

The response will include all the information of record linked to from another table. In this example, with a single call, the field "Customer Details" will be filled with relations of "Customer Details" table.

When you don't pass an associative array, we assume that the field and the table name are the same.

If for some reasons the name of the field differs from the name of the table, you can pass an associative array instead.

We heard you like to expend your relationships, so now you can expend your expended relationships. The following is possible.

But be aware that loading too many relationships can increase the response time considerably.

Delete entry

Use the entry ID to delete the entry

Batch Delete now available, documentation available below

Quick Check (new)

Find a record or many with one line. It's useful when you want to know if a user is already registered or if the same SKU is used. The response will return "count" and "records".

Batch Create, Update, Delete

Airtable API now allows to create, update, and delete 10 records per API request.

Create

Update

Delete

Credits

Copyright (c) 2019 - Programmed by Sleiman Tanios & Guillaume Laliberté


All versions of airtable-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
davedevelopment/stiphle Version ^0.9.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package sleiman/airtable-php contains the following files

Loading the files please wait ....