Download the PHP package bogdancondorachi/kirby-table-field without Composer

On this page you can find all versions of the php package bogdancondorachi/kirby-table-field. 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 kirby-table-field

Version Dependency Dependency Downloads

[!NOTE] This flexible yet powerful panel field is designed to effortlessly manage and display large datasets. It enables users to dynamically add, edit, and organize data in rows and columns, offering intuitive controls for adding, removing, duplicating, and rearranging entries. Ideal for handling complex data structures while ensuring a clean and user-friendly interface.

Installation

Composer

Git Submodule

Manual

Download and extract the folder to /site/plugins/table-field

Field Usage

Add the field to your blueprint:

Field Properties:

Name Type Default Description
align string - Set the text alignment of the table
disabled bool - If true, the field is no longer editable and will not be saved
duplicate bool true Toggles duplicating columns and rows in the table
empty string - The placeholder text if no rows exists
help string - Optional help text below the field
index int, bool 1 Specifies the starting index. If set to false, it removes the index column; in this case, sortable would be disabled as well
label string - Set the label above the field
marks bool, array true Set the allowed HTML formats. Activate/deactivate them all by passing true/false
maxColumns int 8 Set the maximum allowed columns in the table
minColumns int 2 Set the minimum required columns in the table
sortable bool true Toggles drag & drop sorting
translate bool true If false, the field will be disabled in non-default languages and cannot be translated. This is only relevant in multi-language setups.

Use the field in your template:

Blocks Usage

Add the block to your blueprint:

Overwrite default blueprint:

To overwrite the default blueprint, place your custom file in /site/blueprints/blocks/table.yml

Snippet:

To overwrite this default snippet, place your custom file in /site/snippets/blocks/table.php

Buy me a coffee ☕

[!NOTE] This plugin is provided free of charge & published under the permissive MIT License. If you're using it for a commercial project or just want to help keep it alive, please consider donating. Your support fuels future development!

License

Bogdan Condorachi


All versions of kirby-table-field with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1.0 <8.4.0
getkirby/cms Version ^4.0
getkirby/composer-installer Version ^1.2
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 bogdancondorachi/kirby-table-field contains the following files

Loading the files please wait ....