Glossary

ApiTables terms every backend developer should know

Quick reference for terms used across this documentation and in team conversations.

Core terms

TermMeaning
Control tableA registered ApiTables feature identified by tableName (e.g. users, orders)
Table classYour PHP class extending TableAbstract — the main place you write table logic
Table nameConfig key in api-tables-config.tables — also the URL segment in endpoints
TABLENAME constantMust match the config key; passed to parent::__construct()
StructureJSON from load-table — columns, filters, actions (metadata only)
QueryJSON from query-table — paginated row data
Server-driven UIFrontend renders what the backend describes in structure JSON

Configuration

TermMeaning
GuardLaravel auth guard (api, web, spa) — determines route prefix
Default middlewaresApplied to every table (usually auth:sanctum)
Per-table middlewaresExtra auth/authorization for one table only
TablesMiddlewareResolves and runs middleware stack per request

Columns & data

TermMeaning
$TBLColumnsArray property listing raw column definitions on your table class
data_srcField path on the Eloquent model (or relation path with dots)
labelTranslation key segment — becomes api-table.{tableName}.{label}
callBackMethod name on table class to compute cell value at runtime
bindingsDynamic filter option values returned with query response
SortablesColumn fields the client is allowed to sort by

Filters

TermMeaning
filter_nameKey used in query filters[].field — usually matches DB column
advancedFiltersSame filter definitions exposed for expanded filter UI
OperatorComparison: =, like, between, in, etc.

Actions

TermMeaning
Row actionButton on one row (archive, view, toggle)
Bulk actionToolbar action on selection or full filtered set (export)
onSuccessTells frontend what to refresh after action succeeds
isApplicableCallbackMethod that hides an action for specific rows
responseTypeHow bulk action responds: instant, email, notification, websocket

HTTP endpoints (short names)

EndpointPurpose
load-tableGET structure
query-tablePOST filtered/sorted data
bulk-table-actionPOST bulk action
row-table-actionPOST single-row action
row-bulk-table-actionPOST row action on multiple IDs
row-refetchPOST fresh data for one row after mutation

Package identifiers

NameValue
Composer packagestorageitsolutions/api-tables
PHP namespaceStorageitsolutions\ApisTables
Config fileconfig/api-tables-config.php
Artisan scaffoldphp artisan make:api-table {Name}

On this page