Download the PHP package lee-to/php-airtable without Composer
On this page you can find all versions of the php package lee-to/php-airtable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lee-to/php-airtable
More information about lee-to/php-airtable
Files in lee-to/php-airtable
Download lee-to/php-airtable
More information about lee-to/php-airtable
Files in lee-to/php-airtable
Vendor lee-to
Package php-airtable
Short Description AirTable API client for PHP
License MIT
Homepage https://github.com/lee-to/php-airtable
Package php-airtable
Short Description AirTable API client for PHP
License MIT
Homepage https://github.com/lee-to/php-airtable
Please rate this library. Is it a good library?
Informations about the package php-airtable
AirTable API client for PHP
AirTable API client for PHP
Installation
The AirTable Client PHP can be installed with Composer. Run this command:
Usage
Get token and base from AirTable Account and AirTable API
Import.
Init.
- optional param $http_client = "curl" or "guzzle". Default guzzle if exist or curl
Get records from that table
- List table records
Get one record from table.
Filter records
- First argument is the column name
- Second argument is the operator or the value if you want to use equal '=' as an operator.
- Third argument is the value of the filter
Sort records
- First argument is the column name
- Second argument is direction.
Fields
- Only data for fields whose names are in this list will be included in the result. If you don't need every field, you can use this parameter to reduce the amount of data transferred
Max records
- The maximum total number of records that will be returned in your requests. If this value is larger than pageSize (which is 100 by default), you may have to load multiple pages to reach this total.
Page size
- The number of records returned in each request. Must be less than or equal to 100. Default is 100.
Offset
- Set offset ID for next page
Update
- Update one record
OR
Create
- Create a new record
Delete
- Delete one record
OR
Get fields of record
Tests
- Composer is a prerequisite for running the tests. Install composer globally, then run
composer install
to install required files. - Get personal API key and Base AirTable, then create
tests/AirTableTestCredentials.php
fromtests/AirTableTestCredentials.php.dist
and edit it to add your credentials. - The tests can be executed by running this command from the root directory:
See also
- [Laravel Airtable] (https://github.com/lee-to/laravel-airtable)
Contributing
Please see CONTRIBUTING for details.
Credits
- Danil Shutsky
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Security
If you have found a security issue, please contact the maintainers directly at [email protected].
All versions of php-airtable with dependencies
PHP Build Version
Package Version
The package lee-to/php-airtable contains the following files
Loading the files please wait ....