Libraries tagged by charm
charm/error
178 Downloads
Just an interface, a trait and two exception classes. Ancestor of all charm/* exception classes.
charm/composer-pie
12 Downloads
PIE (the PHP Foundation's extension installer), per project: install PHP extensions into vendor/ and run PHP with them loaded.
charm/testing
204 Downloads
A tool for running regression and unit testing with very little scaffolding.
charmypatel/user-discounts
13 Downloads
User-level discounts package for Laravel
sugarcraft/sugarcraft
0 Downloads
PHP ports of the Charmbracelet TUI ecosystem (umbrella monorepo) — install the SugarCraft libraries at once.
sugarcraft/sugar-widgets
76 Downloads
Pre-built terminal UI components for SugarCraft — text input, dynamic-height textarea, list, table with per-cell styleFunc, tree, viewport, file picker, progress, spinner (originally inspired by charmbracelet/bubbles).
sugarcraft/sugar-spark
12 Downloads
ANSI escape-sequence inspector — decodes SGR / CSI / OSC / DCS / APC / SS3 sequences into human-readable labels, modeled on the charmbracelet/sequin Go tool.
sugarcraft/sugar-bits
1616 Downloads
Pre-built terminal UI components for SugarCraft — text input, dynamic-height textarea, list, table with per-cell styleFunc, tree, viewport, file picker, progress, spinner (originally inspired by charmbracelet/bubbles).
sugarcraft/honey-bounce
6152 Downloads
Damped spring physics for PHP — spring core mirrors charmbracelet/harmonica, extended with projectile simulation, easing/Bezier timing curves, spring chains, collections and reduced-motion snapping for spring-driven types; pure math, no terminal dependency.
sugarcraft/candy-sprinkles
10859 Downloads
Declarative styling and layout for terminal UIs, inspired by charmbracelet/lipgloss.
sugarcraft/candy-shine
4006 Downloads
Markdown → ANSI renderer for PHP terminals — word-wrap, OSC 8 hyperlinks, syntax highlighting, 9 stock themes (notty aliases plain); originally inspired by charmbracelet/glamour.
sugarcraft/candy-pty
20255 Downloads
PHP pseudo-terminal primitives (open / spawn / resize) inspired by creack/pty and charmbracelet/x/xpty for SugarCraft. Linux + macOS via FFI to libc, Windows via ConPTY.
sugarcraft/candy-palette
5875 Downloads
PHP port of charmbracelet/colorprofile — magical terminal color profile detection and color degradation (TrueColor → ANSI256 → ANSI → ASCII).
sugarcraft/candy-log
12 Downloads
PHP port of charmbracelet/log — minimal, colorful leveled logging with structured human-readable output, text/JSON/logfmt formatters, and stdlog adapter.
sugarcraft/candy-kit
37 Downloads
Opinionated CLI presentation helpers shaped after charmbracelet/fang's output layer: StatusLine (✓/✗/⚠/ℹ), Banner, Section header, Stage step, HelpText page, Frame, Logo, and stock themes (ansi/plain/charm/dracula/nord/catppuccin, plus terminal-adaptive auto).