LokiCheckout_DevTools
Checkout
Development
PHP
8.1 - 8.4
Magento
2.4.7 | 2.4.8
CSP
Yes
Integration Tests
1
PHPStan
1
Magento PHPCS
9
Latest Release
2.1.3
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.jsonwith 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
titleattribute 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-dev/LokiCheckout_DevTools.git
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_Debugger
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_Tax
Magento_Theme
Magento_Vault
Yireo_CspUtilities
Yireo_ModuleDuplicator
Yireo_TestGenerator
Composer details
Magento module name
LokiCheckout_DevToolsComposer name
loki-checkout/magento2-dev-toolsComposer version
2.1.3
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
magento/module-payment: ^100.4
magento/module-store: ^101.1
nette/php-generator: ^4.0
psr/log: ^1.0 | ^2.0 | ^3.0
symfony/finder: ^5.0 | ^6.0
Releases
| 2.1.3 | 12 June 2026 |
| 2.1.2 | 12 June 2026 |
| 2.1.1 | 12 June 2026 |
| 2.1.0 | 12 June 2026 |
| 2.0.16 | 12 June 2026 |
| 2.0.15 | 12 June 2026 |
| 2.0.14 | 12 June 2026 |
| 2.0.13 | 12 June 2026 |
| 2.0.12 | 12 June 2026 |
| 2.0.11 | 12 June 2026 |
| 2.0.10 | 12 June 2026 |
| 2.0.9 | 12 June 2026 |
| 2.0.8 | 12 June 2026 |
| 2.0.7 | 12 June 2026 |
| 2.0.6 | 12 June 2026 |
| 2.0.5 | 12 June 2026 |
| 2.0.4 | 12 June 2026 |
| 2.0.3 | 12 June 2026 |
| 2.0.2 | 12 June 2026 |
| 2.0.1 | 12 June 2026 |
Changelog
[2.1.3] - 27 March 2026
Fixed
- Add CSP whitelist for Zod
- Add for Zod testing of values
- Add friendly message when saving encrypted value
[2.1.2] - 25 February 2026
Fixed
- Make call to LocalStorage.get async
[2.1.1] - 17 February 2026
- Some housekeeping
[2.1.0] - 12 February 2026
Fixed
- Allow PHP Config to read from current store level
- Add dep with
Loki_Debugger - Move checkout details into
Loki_Debuggertoolbar
Added
- Add search to blocks
- Add output of
Yireo_HtmlHintsto toolbar
[2.0.16] - 28 January 2026
Fixed
- Add quote ID to bottom
[2.0.15] - 12 January 2026
Fixed
- Make sure dev-requirements are installed in CI
- Copy generic CI/CD files
- Rename command
- Fix error when localStorage is not initialized yet
[2.0.14] - 06 January 2026
Fixed
- Document latest version of template
- Sort dependencies of composer.json
[2.0.13] - 30 December 2025
Fixed
- Fix error when localStorage is not initialized yet
- Add CLI to save encrypted config value
- Cleaner output in console.log
- Copy generic CI/CD files
- Prevent empty localStorage from throwing error
- Rename command from loki:checkout to loki-checkout:dev-tools:save-encrypted
[2.0.12] - 21 November 2025
Fixed
- Remove deprecated LokiCheckoutPageTestCase in integration tests
[2.0.11] - 12 November 2025
Fixed
- Rename LokiLocalStorage to LocalStorage
- Update composer keywords
- Update composer keywords
- Update composer keywords
[2.0.10] - 22 October 2025
Fixed
- Quietly exit if module can not be found
- Allow for install under Symfony 5
- Remove int return type from Symfony commands for Symfony 5 compat
- Do not escape
$css()withescapeHtmlAttr()butescapeHtml() - WIP
[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_typesdeclaration - 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*toLoki* - Rename composer package from
yireo/magento2-loki*toloki/magento2* - Bump loki/magento2-components to major 2.0
- Bump
LokiCheckout_Coreto 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: June 1, 2026