Libraries tagged by charm
charm/uuid
30374 Downloads
A very fast and dependency free library to generate UUIDs (GUIDs) version 1 or 4, sortable UUIDs that validates, or 64 bit unique identifiers according to Twitters' Snowflake, Sonyflake or Instaflake algorithms.
sugarcraft/sugar-vterm
435 Downloads
In-memory virtual terminal emulator — parses ANSI byte stream into a cell grid.
sugarcraft/sugar-image
3265 Downloads
Image-to-cell renderer for terminals — PNG/JPEG/GIF/APNG/WebP/BMP decoded via ext-gd and pure-PHP animated-container decoders and rendered through the best available protocol: Sixel, Kitty, iTerm2, the chafa CLI, or Unicode text tiers (half/quarter block, ASCII character ramp, chafa-style symbol coverage).
sugarcraft/sugar-fuzzy
3424 Downloads
Fuzzy string matching with matched character indices plus the match score — Smith-Waterman + Sahilm algorithms. Enables filter-highlighting UIs across the ecosystem.
sugarcraft/sugar-ansi-parser
4559 Downloads
ECMA-48 VT500 state machine — ANSI byte-stream parser with abstract Handler interface. Shared extraction from sugar-vterm.
atk14/translate
47500 Downloads
A PHP class for converting strings between character encodings without relying on iconv
sugarcraft/sugar-style
3974 Downloads
Declarative styling and layout for terminal UIs, inspired by charmbracelet/lipgloss.
sugarcraft/sugar-spring
3337 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/sugar-pty
4558 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/sugar-markdown
3290 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/sugar-forms
3360 Downloads
Canonical form engine (port of charmbracelet/huh) and foundation lib for form primitives (TextInput, TextArea, ItemList, Viewport, FilePicker, Field interface, Confirm, Form); sugar-widgets re-exports it via 22 class_alias shims.
sugarcraft/sugar-colorprofile
3540 Downloads
Terminal color profile detection and color degradation (TrueColor → ANSI256 → ANSI → ASCII), inspired by charmbracelet/colorprofile.
real-media-technic-staudacher/laravel-flatfiles
80651 Downloads
Export and import flatfiles with Laravel like charm
guillaumepotier/pdfxtractor
3340 Downloads
Convert PDFs to JPEG images like a charm!
charm/vector
78 Downloads
A Vector implementation optimized for O(1) performance in operations like random access reads, pop(), push(), shift() and unshift().