loki/magento2-admin-components

N/A

Fund package maintenance!
yireo
www.paypal.me/yireo

Installs: 18

Dependents: 4

Suggesters: 0

Security: 0

Stars: 7

Watchers: 1

Forks: 2

Open Issues: 0

Type:magento2-module

0.2.8 2025-09-04 11:23 UTC

This package is auto-updated.

Last update: 2025-09-05 10:12:36 UTC


README

This Magento 2 module allows for developers to build admin grids and admin forms in the Magento 2 Admin Panel in a faster way. No more ugly UiComponents that nobody understands. Create grids and forms quickly. And gradually add features to them, without getting stuck.

The LokiAdminComponents are based on the Loki Components module which is also used in the LokiCheckout. However, this admin tool shows that the Loki Extension suite can be applied in many more places.

Note that this library makes use of Alpine.js in the Magento Admin Panel. However, TailwindCSS is not used: We stick to the native Magento Admin Panel classes instead.

Installation

composer require loki/magento2-admin-components
bin/magento module:enable Loki_AdminComponents Loki_Components

Examples

As a demo, you could opt to install the following examples:

Screenshot of YireoTraining_ExampleLokiAdminProducts

Features

Grid features

  • Autodetection of columns
  • Search
  • Pagination
  • Sorting columns
  • Custom cell templates
  • Inline editing
  • Filters
  • Mass Actions
  • Custom cell templates
  • ... (more docs coming soon)

Grid provider handlers

  • repository
  • collection
  • array

Form features

  • Autodetection of columns
  • Field-types (select, text, number, datetime, etc) with option to configure more
  • Form actions (Back, Save and Close, Save and Continue, Delete, etc)
  • ... (more docs coming soon)

Documentation

See loki-extensions.com/docs/admin-components

Todo

  • Extension Attributes
  • Filesystem navigation
  • Tiles instead of grid layout
  • Delete add confirmation
  • Add custom SearchCriteriaBuilder via repository addons
  • Switch field for enabled/disabled column within grid
  • Export selected to CSV, JSON, XSLX