Skip to content
Paymenter ToolBox, PTB

Paymenter ToolBox, PTB

A nice little tool to help install and menter themes when they are provided in a nice .paytheme file

Developer

qkingsoftware

Last Updated

July 11, 2025

Price

Free

Installs

39 installs

Categories

extension

About this extension

[CENTER]PTB (Paymenter ToolBox)[/CENTER]

Paymenter ToolBox (PTB) is a command-line utility built to simplify the management of themes in Paymenter. It allows users to easily export, import, rename, list, and validate themes packaged as
.paytheme
files.


PTB is the easiest and most reliable way to manage Paymenter themes with zero hassle!
It is written entirely in Bash, works on any Linux system, and is fully compatible with all Paymenter versions.

Whether you're a developer or a system admin, PTB saves you time by automating theme-related operations.

PTB is open-source and rapidly growing in popularity due to its simplicity and efficiency.
You can find the project on GitHub.

Features

  • <i>Export</i> a Paymenter theme directory into a compressed
    .paytheme
    archive
  • <i>Import</i> a
    .paytheme
    archive directly into your Paymenter themes directory
  • <i>Rename</i> themes inside
    .paytheme
    archives with automatic reference updates
  • <i>List</i> the contents of
    .paytheme
    files for easy inspection
  • <i>Extract</i> archive contents to a target directory
  • <i>Validate</i> the structure of a
    .paytheme
    file
  • <i>Compare</i> two themes or directories with
    diff

  • <i>View</i> detailed info about installed themes


Installation
Install PTB quickly by running the installer script below:
  
curl -fsSL https://raw.githubusercontent.com/QKing-Official/PTB/refs/heads/main/installer | bash

This will download and install the PTB CLI tool to your system.

Usage
  
ptb export -t <theme_path/theme_name> # Export theme directory to .paytheme file
ptb import -t <theme_file> # Import .paytheme file into themes directory
ptb update -t <old_theme_name> <theme_file> # Update a theme with new .paytheme archive
ptb rename -t <theme_file> -n <new_name> # Rename theme inside .paytheme archive
ptb list -t <theme_file> # List contents of .paytheme archive
ptb extract -t <theme_file> <output_dir> # Extract .paytheme to a directory
ptb validate -t <theme_file> # Validate structure of a .paytheme file
ptb diff -t <theme1> <theme2> # Compare two themes or directories
ptb info -t <theme_name> # Display info about an installed theme
ptb --help # Show help menu
ptb --version # Show version info

[I]By default, PTB uses the directory
/var/www/paymenter/themes
.
If you used the installer, PTB is located at
/usr/local/bin/ptb
.
You can also configure a different directory in the ptb file.[/I]

Dependencies

  • <i>tar</i>
  • gzip
  • sed
  • npm

Ensure these dependencies are installed. PTB will notify you if any are missing.

Credits
PTB is designed to support and enhance the Paymenter theme development experience.
Thanks to the original Paymenter developers for creating such a powerful platform.
For more information on Paymenter, visit:
https://github.com/paymenter/paymenter
https://paymenter.org/

License
Licensed under QKOL v3.0 — you are free to use, modify, and share PTB.
Created by QKing with internal depression.