LokiCheckout_DevTools

Development
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Integration Tests 1
PHPStan 5
Magento PHPCS 9
Latest Release 2.0.9

A DevTools module for internal purpose mostly. Do not use this in production.

Features

  • Autocompletion Todo Command: A CLI command to extend a given LokiCheckout module its TODO.json with meta-data including LokiComponents and configuration options;
  • Simulate VIES VAT validation SOAP: SOAP extension is disabled, timeout occurs, exception occurs;
  • Automatically add to cart: If the cart is empty, automatically add a product in the cart;
  • Add payment code to payment icons: Add a title attribute with the payment code to each payment icon;
  • Extend upon Yireo_TestGenerator: Allow generating LokiComponent-specific tests;
  • Log AJAX requests: Log AJAX data to var/log/loki_checkout.log;

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/LokiCheckout_DevTools

Configuration Options

The following options of this module can be configured via the Store Configuration:

Dev Tools > Sticky cart
loki_checkout/dev_tools/sticky_cart
Automatically add a product to cart if the cart is empty.
Dev Tools > Log AJAX requests
loki_checkout/dev_tools/log_ajax_requests
Log AJAX requests or not. Make sure to enable this only temporarily, to avoid flooding your logs.
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

LokiCheckout_Core Loki_Base Loki_Components Loki_CssUtils Loki_FieldComponents Loki_MapComponents Magento_Backend Magento_Catalog Magento_CatalogInventory Magento_Checkout Magento_CheckoutAgreements Magento_Cms Magento_Config Magento_Customer Magento_Directory Magento_Eav Magento_Indexer Magento_Newsletter Magento_Payment Magento_Quote Magento_Sales Magento_Shipping Magento_Store Magento_Theme Magento_Vault Yireo_CspUtilities Yireo_HyvaThemeAutoRegistration Yireo_ModuleDuplicator Yireo_TestGenerator
Composer details
Magento module name
LokiCheckout_DevTools
Composer name
loki-checkout/magento2-dev-tools
Composer version
2.0.9
Default branch
main
Requirements
ext-json: *
ext-pcre: *
loki-checkout/magento2-core: ^2.0
loki/magento2-components: ^2.0
loki/magento2-css-utils: ^1.0
magento/framework: ^103.0
magento/module-catalog: ^103.0 | ^104.0
magento/module-checkout: ^100.0
magento/module-config: ^101.0
nette/php-generator: ^4.0
psr/log: ^1.0 | ^2.0 | ^3.0
symfony/finder: ^6.0
Releases
dev-main#08ff3e7c997044a79c9f724530179b01078883bf 20 October 2025
2.0.9 20 October 2025
2.0.8 20 October 2025
2.0.7 20 October 2025
2.0.6 20 October 2025
2.0.5 20 October 2025
2.0.4 20 October 2025
2.0.3 20 October 2025
2.0.2 20 October 2025
2.0.1 20 October 2025
2.0.0 20 October 2025
1.0.0 20 October 2025
0.0.9 20 October 2025
0.0.8 20 October 2025
0.0.7 20 October 2025
0.0.6 20 October 2025
0.0.5 20 October 2025
0.0.4 20 October 2025
0.0.3 20 October 2025
0.0.2 20 October 2025
0.0.1 20 October 2025
Changelog

[2.0.9] - 24 September 2025

Fixed

  • Change containers into blocks to allow for caching
  • Rename loki-components to loki.script.component
  • Listen to specific events

[2.0.8] - 04 September 2025

Fixed

  • Fix unexisting variable
  • Add recursive module list for use in CI
  • Remove dep with LokiCheckout_EuVat
  • Add GitLab CI files
  • Prepare release
  • Remove EuVat devtools logic to LokiCheckout_EuVatDevTools

[2.0.7] - 02 September 2025

Fixed

  • Add CI files
  • Replace yireo/opensearch with yireo/opensearch-dummy in Gitlab CI

[2.0.6] - 26 August 2025

Fixed

  • Add dependency with loki/magento2-css-utils
  • Declare used PHP namespaces
  • Add missing strict_types declaration
  • Lower requirements to PHP 8.1

[2.0.5] - 15 August 2025

Fixed

  • Move config from Yireo tab to Loki tab

[2.0.4] - 11 August 2025

Fixed

  • Add config option sticky_cart
  • Fix escaping in template
  • Remove old Mollie tricks
  • Remove mollie info

[2.0.3] - 7 August 2025

Fixed

  • PHP 8.2 compat

[2.0.2] - 01 August 2025

Fixed

  • Make strings translatable

[2.0.1] - 28 July 2025

Fixed

  • Update CI file

[2.0.0] - 22 July 2025

Fixed

  • Rename PHP namespace from Yireo_Loki* to Loki*
  • Rename composer package from yireo/magento2-loki* to loki/magento2*
  • Bump loki/magento2-components to major 2.0
  • Bump LokiCheckout_Core to 2.0.0
  • Include correct Playwright test count

[1.0.0] - 17 May 2025

Fixed

  • Fix issue when module.xml has no deps
  • Add template modus for usage with Yireo ModuleDuplicator
  • Improve mechanism to detect tests
  • Update admin settings with tooltip and regenerate new MODULE.json
  • Add tooltip and groupname to config data used in MODULE.json
  • Generate new MODULE.json with simple test count
  • Refactor mechanism to fetch tests from folders
  • Move autoaddtocart from DevTools to FunctionalTests
  • Allow PHP 8.4 in CI
  • Loosen support for magento/module-catalog
  • Update composer and module deps

[0.0.9] - 25 April 2025

Fixed

  • Allow upgrading to LokiFieldComponents and LokiCheckout 1.0
  • Remove default params

[0.0.8] - 16 April 2025

Fixed

  • Move scripts from "before.body.end" to new "loki-scripts" container
  • Change profile name

[0.0.7] - 09 April 2025

Fixed

  • Move addtocart button

[0.0.6] - 08 April 2025

Fixed

  • Add icon to quickly addtocart

[0.0.5] - 04 April 2025

Fixed

  • Move profiles to dedicated LokiCheckoutDevProfiles module
  • Allow switching between currency as well
  • Log incoming requests
  • Autofill emulation
  • Remove StoreView commands
  • Implement LokiCheckoutRepositoryTestCase
  • Add test generators for unit tests and integration

[0.0.4] - 11 March 2025

Fixed

  • Return empty icon rightaway
  • Just print the payment method itself
  • Make vendor appear on mouseover only
  • Accessibiity fixes
  • Add vendor prefix

[0.0.3] - 24 February 2025

Fixed

  • Add CLI commands for creating and editing Store View

[0.0.2] - 22 February 2025

  • Fill billing address details when quote is virtual
  • Change deps
  • New profile switcher
  • Handling of timeout to EU VIES service
  • Handle SOAP errors during EU VAT validation properly
  • Rename from StickyCart to DevTools
  • Config options to simulate VAT validation issues
  • Update requirements
  • Replace TODO.md with TODO.json
  • Add CHANGELOG and TODO
  • Increment dep
  • Ignore md5 warning
  • Add module definition

[0.0.1] - 21 January 2025

  • Initial release

Last modified: September 26, 2025