Libraries tagged by zero dependency

sugarcommerce/mcp-server

0 Favers
1 Downloads

A Model Context Protocol server for plain PHP. Implements the 2026-07-28 revision, and serves 2025-11-25 and 2025-06-18 clients: stateless per-request negotiation, JSON-RPC 2.0 over Streamable HTTP, typed tools with JSON Schema validation, and scope-based authorization. Zero dependencies.

Go to Download


sugarcommerce/mailer

0 Favers
2 Downloads

Transactional email for self-hosted PHP. One Message, many transports: Postmark, Resend, Amazon SES, Cloudflare Email, SMTP, plus log and in-memory for development. Full MIME serialisation with inline images, attachments and RFC 2047 headers. Header-injection safe. Zero dependencies.

Go to Download


sugarcommerce/licensing

0 Favers
1 Downloads

Licence-key seats for software sellers: validate a key (and one installation of it) with a reason a client can show, claim a seat atomically so parallel activations cannot overrun the limit, and release it by an instance id the server issued. Storage is yours, behind one interface. Zero dependencies.

Go to Download


sugarcommerce/image-variants

0 Favers
1 Downloads

Resized image variants for responsive delivery. Returns bytes rather than writing files, corrects EXIF orientation, strips metadata, never upscales, and refuses decompression bombs. Zero dependencies.

Go to Download


sugarcommerce/i18n

0 Favers
3 Downloads

Translation for plain PHP: English source strings as keys, CLDR plural categories, named placeholders, and Accept-Language negotiation. Catalogues are PHP arrays, so they are opcached and need no parser. Zero dependencies.

Go to Download


sugarcommerce/generate

0 Favers
21 Downloads

Identifier generation: UUID v4 and v7, human-readable licence and discount codes, transliterating slugs, and CSPRNG-backed API keys. Zero dependencies.

Go to Download


sugarcommerce/format-utils

0 Favers
29 Downloads

Display formatting: byte sizes, durations, compact numbers, word-safe truncation, deterministic initials avatars, file-type labels and content types, and forgiving search. Parses back what it formats. Zero dependencies.

Go to Download


sugarcommerce/file-inspect

0 Favers
1 Downloads

Look at the bytes a file actually contains: executable signatures refused whatever the name, contents that disagree with the extension, archives carrying what you would not accept directly, and double extensions that hide the real one. Pure functions, no I/O, zero dependencies.

Go to Download


sugarcommerce/env

0 Favers
21 Downloads

Environment configuration for plain PHP: .env parsing that handles quotes and multi-line values, typed accessors that fail loudly on a missing requirement, and no global mutation. Zero dependencies.

Go to Download


sugarcommerce/email-templates

0 Favers
1 Downloads

Declarative transactional email rendering: layouts, operator-editable bodies, and typed components. Tags are escaped for the context they land in, and an unresolved tag never reaches a customer. Zero dependencies.

Go to Download


sugarcommerce/data-subject

0 Favers
2 Downloads

The small, easily-botched pieces of answering a GDPR access or erasure request: the export without the columns a person must not be handed, finding an address in stored payloads however JSON escaped it, an audit trail that does not undo the erasure it records, and plain summaries of what was done. Zero dependencies.

Go to Download


sugarcommerce/countries

0 Favers
2 Downloads

ISO 3166-1 country data: codes, names, emoji flags, EU membership, sanctioned and elevated-risk territories. Zero dependencies.

Go to Download


sugarcommerce/cli

0 Favers
14 Downloads

Command-line plumbing for PHP apps: argument parsing with typed reads, aligned tables and help listings, returned as strings. Zero dependencies.

Go to Download


studiokaizen/framework

0 Favers
7 Downloads

ZenPHP — a modern zero-dependency PHP 8.4 micro-framework

Go to Download


sslah/modal

0 Favers
2 Downloads

🚀 Modern Laravel Modal Package - Zero dependencies, Alpine.js powered, one-line installation

Go to Download


<< Previous Next >>