Download the PHP package smartlogix/smart-table-block without Composer

On this page you can find all versions of the php package smartlogix/smart-table-block. 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 smart-table-block

Smart Table Block

A WordPress Gutenberg block set for building semantic, styleable tables with nested row and cell blocks. The plugin registers three coordinated blocks: a parent table block, row blocks, and cell blocks that can contain other blocks.

Features

Block Structure

The plugin registers these blocks:

Block Purpose
smartlogix/smart-table The parent table block that controls overall structure and table-wide settings
smartlogix/smart-table-row A nested row block used inside Smart Table
smartlogix/smart-table-cell A nested cell block used inside Smart Table Row

Rows can be configured as:

Header rows render their cells as th; body and footer rows render their cells as td.

Requirements

Requirement Minimum
WordPress 6.5+
PHP 7.4+
Node.js (development only) 20+

Installation

Via Composer

If your project already loads Composer's autoloader, the blocks register automatically through smart-table-block.php.

Manual installation

  1. Download the latest release zip from the GitHub Releases page.
  2. Extract it into your WordPress plugins directory or your project where you manage shared block libraries.
  3. If using it as a library, require the bootstrap file:

If installed as a normal plugin, activate it from the WordPress admin.

Usage

Search for Smart Table in the block inserter.

The default table inserts with starter header and body rows. From there you can:

Table settings

Setting Description
Caption Adds a semantic table caption
Table Layout auto or fixed
Border Collapse collapse or separate
Striped Rows Adds alternating background styling to body rows
Sticky Header Keeps header cells fixed while scrolling
Responsive Horizontal Scroll Wraps the table in a horizontal scroll container

Cell settings

Setting Description
Column Span Sets colspan
Row Span Sets rowspan
Width Accepts any CSS width value
Vertical Align top, middle, or bottom
Header Scope Available on header cells for semantic scope control

Styling Support

All block levels expose WordPress block supports where appropriate.

Table block

Row block

Cell block

Typography support includes options such as:

Development

Build Output

Built assets are generated into build/ and include:

CI and Releases

This repository includes GitHub Actions workflows in .github/workflows/:

Release checklist:

  1. Update versions in package.json, composer.json, smart-table-block.php, and the relevant block.json files.
  2. Run npm run build.
  3. Commit the updated build/ output.
  4. Push to main.
  5. Create a GitHub Release.

License

GPL-2.0-or-later


All versions of smart-table-block with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 smartlogix/smart-table-block contains the following files

Loading the files please wait ...