npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@astrake/lumora-webserver

v0.2.0

Published

Headless PHP 8.2+ Enterprise Website Micro-Kernel, Tailwind CSS v4 Brand Layer Compiler, Zero-Dependency cPanel/aaPanel dist/ Bundler, and 12-Gate Automated Compliance Verifier.

Readme

@astrake/lumora-webserver

Headless PHP 8.2+ Enterprise Website Micro-Kernel, Tailwind CSS v4 Brand Layer Compiler, Zero-Dependency dist/ Bundler, and 12-Gate Automated Compliance Verifier.

Part of the Lumora Ecosystem (@astrake/lumora-server, @astrake/lumora-webserver, @astrake/lumora-ui).


1. Quick Start (Consumer Websites)

mkdir my-brand-website && cd my-brand-website
bun init -y
bun add -D @astrake/lumora-webserver

# 1. Scaffold a new website
bunx lumora-web init \
  --brand-id "acme" \
  --brand-name "Acme Studio" \
  --prefix "ACM" \
  --domain "acme.example.com"

# 2. Start local PHP 8.2+ dev server with live Tailwind v4 + SRI watcher
bunx lumora-web dev --port 8080

# 3. Build zero-dependency dist/ bundle and run all 12 compliance gates
bunx lumora-web build
bunx lumora-web verify

Upgrading Existing Websites (0.1.x → 0.2.0)

bun add -D @astrake/lumora-webserver@^0.2.0
# Core-only upgrade (admin panel stays disabled):
bunx lumora-web sync --force-stubs --with-agents
# OR enable the new Admin Console & Hybrid SQLite CMS in-place:
bunx lumora-web sync --with-admin --force-stubs --with-agents

bunx lumora-web css && bunx lumora-web build && bunx lumora-web verify

See Upgrading Existing Websites (docs/user/UPGRADING.md) for the full agentic upgrade playbook.


2. Documentation Index

User & Site Operator Guides

Architecture & Framework Developer Guides

AI & LLM Context Specifications


3. Core Capabilities

  1. Zero-Dependency PHP 8.2+ Headless Micro-Kernel (Lumora\Core, with legacy Astrake\Lumora\Core class alias):

    • Security (security.php): Emits 8 mandatory OWASP ASVS v4.0 Level 2 HTTP headers, per-request 128-bit CSPRNG CSP nonces, HMAC-derived local storage vaults (storage/vault-<hmac>/), and CGNAT-resilient stateless v2 HMAC-SHA256 CSRF tokens ({tsHex}.{nonceHex}.{mac}). Supports opt-in security.compat_constants.

    • Routing & Discovery (router.php, discovery.php): Enforces canonical trailing slashes (301), subfolder base-path resolution, and configurable discovery endpoints (/health, /robots.txt, /sitemap.xml, /llms.txt with BlogEngine post indexing & content/llms.php overrides, /llms-full.txt, /.well-known/security.txt, /site.webmanifest, and POST /_lumora/outbox/flush).

    • SEO & Schema.org (render.php, schema-graph.php): Deterministic Schema.org JSON-LD @graph builder (Organization, Person, LocalBusiness, optional Brand / SoftwareApplication, WebSite, BreadcrumbList, ContactPage, TechArticle, BlogPosting, WebPage, FAQPage, plus per-route schema_nodes) and automatic SHA-384 Subresource Integrity (SRI) + ?v=<hash8> cache-busting from lumora-lock.json.

    • Declarative Inquiry Engine & SQLite WAL Vault (inquiry-engine.php, inquiry-db.php, hub-client.php): Pre-CSRF rate limiting (5 / 900s), honeypot (reject or fake_receipt), <2s timing guard, app-owned channels (content/channels.php) without core alias injection, first-party UTM & CTA attribution capture (initFirstPartyAttribution()), <1ms SQLite3 WAL + atomic JSONL persistence, configurable PII/log retention pruning ([REDACTED], 0 disables pruning), standalone Edge notifications (native SMTP + self-hosted WAHA/Evolution/Webhook WhatsApp), and optional HMAC-SHA256 webhook outbox sync (schema_version 1.0 / 1.1).

    • App-Driven Legal Registry (legal-registry.php): Globally neutral defaults ('GLOBAL', ['privacy', 'terms']) with opt-in regional compliance templates (IN, EU, UK, US), custom content/legal/{slug}.php documents, configurable legal.slugs, and features.legal_registry = false toggle.

    • Content & Release Engines (docs-engine.php, blog-engine.php, release-server.php): Manifest-jailed Markdown documentation engine (with dist/ manifest inlining), file-based blog engine with localhost draft gating and Atom 1.0 feed, and RFC 9110 Range (206 Partial Content) binary artifact server with X-Checksum-Sha256.

    • Opt-In Admin Console & Hybrid SQLite CMS (admin-db.php, admin-auth.php, admin-sanitizer.php, admin-controller.php, packages/admin): Opt-in (features.admin_panel) Vue 3 + shadcn-vue (reka-ui) + lucide-vue-next SPA with Argon2id auth, RFC 6238 TOTP 2FA, RBAC (owner/editor/viewer), OpenSSL aes-256-gcm settings vault, zero-write public GET fast-path (AdminDb::connectExisting()), stealth admin.path + minimal admin.branding, and lumora-web admin CLI.

  2. Tailwind CSS v4 + Brand Design Layer (runtime/css/lumora-base.css):

    • Compiles lumora-base.css + css/brand-theme.css + css/brand.css into an SRI-locked stylesheet (public/assets/css/lumora.min.css).
  3. Zero-Dependency dist/ Packaging & 12-Gate Verifier (lumora-web CLI):

    • lumora-web init: Scaffolds a new website project (--with-admin enables the opt-in Admin Console & Hybrid SQLite CMS).
    • lumora-web sync: Syncs the locked 17-module PHP/JS/admin runtime and computes SHA-256 + SHA-384 SRI hashes in lumora-lock.json (--force-stubs, --with-agents, --with-admin).
    • lumora-web css: Compiles Tailwind v4 + brand CSS layers.
    • lumora-web dev: Runs php -S dev server with live CSS/SRI watcher.
    • lumora-web build: Produces a 100% standalone dist/ bundle with physical <route>/index.php stubs, .htaccess, and nginx.lumora.conf.
    • lumora-web verify: Runs all 12 compliance gates (source, SQLite WAL smoke, live HTTP headers, and zero-rewrite dist/ server).
    • lumora-web flush: Replays pending SQLite WAL outbox inquiries to a configured webhook/hub endpoint.
    • lumora-web admin: Manages admin users, passwords, 2FA, and active sessions in the site's SQLite vault (create-user, list-users, reset-password, disable-2fa, revoke-sessions, hash-password).

4. Monorepo Commands

bun install
bun run validate      # Runs typecheck, tests, build, 12-Gate verifier on apps/starter, and version sync
bun test              # Runs Bun + PHP integration tests
bun run dev           # Starts local dev server for apps/starter