Download the PHP package lee-to/laravel-airtable without Composer
On this page you can find all versions of the php package lee-to/laravel-airtable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lee-to/laravel-airtable
More information about lee-to/laravel-airtable
Files in lee-to/laravel-airtable
Package laravel-airtable
Short Description AirTable API client for Laravel
License MIT
Homepage https://github.com/lee-to/laravel-airtable
Informations about the package laravel-airtable
AirTable API client for Laravel
AirTable API client for Laravel. Used library [AirTable PHP)(https://github.com/lee-to/php-airtable)
Installation
The AirTable Client Laravel can be installed with Composer. Run this command:
Publish provider
.env:
config/app.php:
Add alias
Add provider
Usage
Get token and base from AirTable Account and AirTable API
Import.
Get records from that table
- List table records
Or use default table
Or get all records
Get one record from table.
Or use default 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
Or
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.
Update
- Update one record
OR
Update or create
- Update or create record
Create
- Create a new record
First or create
- Create a new record or find first match
Delete
- Delete one record
OR
Get fields of record
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].