New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

uams-web/aether-tables

Table sanitizing and pasted-table handling for Statamic editors.
2,830
Install
composer require uams-web/aether-tables
Latest Version:v0.2.0
PHP:^8.4
Laravel:12 · 13
License:MIT
Last Updated:Nov 13, 2026
Links: GitHub  ·  Packagist
Maintainer: joshdaugherty

Aether Tables

Table sanitizing and pasted-table handling for Statamic's editors, by UAMS Web Services. The package is uams-web/aether-tables, in the UAMSWeb\Aether\Tables\ namespace.

What it does

  • The sanitize_table_cell Antlers modifier, which renders a table cell through HTMLPurifier against a small inline allowlist (links and basic emphasis; everything else is stripped).
  • Pasted-table parsing: the table_data_paste_trigger trigger turns pasted HTML, TSV or CSV into the table_data value.
  • Spreadsheet import: the table_data_importer_trigger trigger reads an uploaded spreadsheet asset into table_data.

The Table set's template, script and styles belong to the site's theme and stay in the site.

Requirements

  • PHP 8.4 or later
  • Statamic 6.35 or later

Installation

composer require uams-web/aether-tables

Publish the configuration file to the host application's config/ directory with:

php artisan vendor:publish --tag=aether-tables-config

It merges into the tables config key. The settings are:

  • tables.cell_sanitizer.cache_path: where HTMLPurifier stores its compiled definitions (default storage/app/htmlpurifier).
  • tables.trigger_event: the class name of the event the host dispatches when a trigger field is activated in the Control Panel. The paste and import listeners listen for it. The event carries entry, triggerHandle and formValues properties. The default is App\Events\TriggerActivated.

Statamic runs only allowlisted modifiers on content data. The add-on adds sanitize_table_cell to statamic.antlers.allowedContentModifiers itself, so the host does not have to.

Development and release

License

MIT. See LICENSE.

Related Packages

uams-web/aether-form-settings

Control Panel form settings for Statamic: notification routing and conditions, c...

17,398 0
uams-web/aether-alpine-csp-forms

CSP-safe Alpine form JavaScript driver for Statamic public forms, with a $showFi...

17,391 0
uams-web/aether-search

Search for Statamic sites, part of the Aether ecosystem of UAMS Statamic add-ons...

16,703 0
uams-web/aether-redirects

Redirect rules for Statamic: a redirects global set served on the 404 path, rule...

7,943 0
statamic/cli

Statamic CLI Tool

95,944 77

Version History

Version Released PHP License
v0.2.0 ^8.4 MIT
v0.1.2 ^8.4
v0.1.1 ^8.4
v0.1.0 ^8.4