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

mailkite-forge

v0.1.0

Published

MailKite for Laravel Forge — one command wires MailKite email (SMTP relay or native mailer + inbound webhook route) into a Forge-managed site's .env and deploy script.

Readme

Read-only mirror. This repo is a generated, release-time mirror of the MailKite monorepo (the private source of truth) — development doesn't happen here. Install from npm and open issues against the MailKite docs.

Quick start

npx mailkite-forge \
  --token   <forge-api-token> \
  --server  <serverId> --site <siteId> \
  --mailkite-key mk_live_… \
  --from    [email protected]

That fetches the site's .env from Forge, upserts the MailKite SMTP-relay keys, and writes it back — no code change, works with any Laravel version. Get a Forge token at forge.laravel.com/user-profile/api and a MailKite key in the dashboard. --token also reads FORGE_API_TOKEN; --mailkite-key also reads MAILKITE_API_KEY.

Options

| Flag | Meaning | | --- | --- | | --token | Forge API token (or FORGE_API_TOKEN). Required. | | --server / --site | Forge server + site ids. Required. | | --mailkite-key | MailKite API key (or MAILKITE_API_KEY). Required. | | --from | From address on a verified domain; its domain drives the inbound route. Required. | | --mode smtp\|api | smtp (default) or api (native mailer). See below. | | --inbound <url> | Also create a MailKite inbound webhook route to this URL. | | --dry-run | Print the exact .env diff + the route that would be created; write nothing. | | --help | Usage. |

Two mail paths

| | --mode smtp (default) | --mode api | | --- | --- | --- | | How it sends | SMTP relay smtp.mailkite.dev:587 (STARTTLS) | Native mailkite/laravel mail driver over the API | | .env keys set | MAIL_MAILER=smtp, MAIL_HOST, MAIL_PORT=587, MAIL_USERNAME=apikey, MAIL_PASSWORD=<key>, MAIL_ENCRYPTION=tls, MAIL_FROM_ADDRESS, MAIL_FROM_NAME | MAIL_MAILER=mailkite, MAILKITE_API_KEY=<key>, MAIL_FROM_ADDRESS, MAIL_FROM_NAME | | Deploy script | untouched | ensures composer require mailkite/laravel runs (appended if missing) | | Code change | none | none (the driver auto-discovers) |

MAIL_FROM_NAME defaults to your site's existing APP_NAME, else the from-domain.

Receive inbound email

Add --inbound https://yoursite.com/api/inbound and the CLI also creates a MailKite route (match: "*@<your-domain>", action: webhook, destination: <url>) and stores the signing secret as MAILKITE_WEBHOOK_SECRET in the site .env. Verify the signature in your Laravel app with the mailkite/laravel package.

DNS gating. Sending, receiving and webhooks are gated until the from-domain proves control in the MailKite dashboard — SPF + DKIM to send, MX to receive. The CLI configures everything; delivery starts once the domain verifies.

All MailKite libraries

Same contract, every language (full list: https://mailkite.dev/docs/libraries):

| Library | Repo | Distribution | | --- | --- | --- | | MailKite for Laravel Forge (this repo) | forge | npm | | MailKite for Laravel | laravel | Packagist | | MailKite for PHP | mailkite-php | Packagist | | MailKite for Node.js | mailkite-node | npm | | MailKite for Python | mailkite-python | PyPI | | MailKite for Ruby | mailkite-ruby | RubyGems | | MailKite for Java | mailkite-java | Maven Central | | MailKite for Go | mailkite-go | Go modules | | @mailkite/cli | mailkite-cli | npm |

Docs & links

  • 📚 Documentation: https://mailkite.dev/docs
  • 📦 This library's guide: https://mailkite.dev/docs/libraries
  • 🤖 AI agents (MCP + inbox agents): https://mailkite.dev/docs/ai-agents
  • 🌐 Website: https://mailkite.dev

MIT licensed. © MailKite.