Search by

jaizendra-netizen / cold-email-subject-lint

onegtmlab

PHP CLI and library that lints a cold email subject line: length, ALL CAPS, repeated punctuation, spam-trigger phrases, fake Re: prefixes and unfilled merge fields.

Package info

github.com/jaizendra-netizen/cold-email-subject-lint

Homepage

Type:project

pkg:composer/jaizendra-netizen/cold-email-subject-lint

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-11-28 12:56 UTC

This package is not auto-updated.

Last update: 2026-11-29 11:21:08 UTC


README

A PHP command-line tool and library that lints a cold email subject line before it is sent: length (60 characters), ALL CAPS words (4 letters or more), repeated punctuation, spam-trigger phrases, a fake Re: or Fwd: prefix and unfilled merge fields such as {{first_name}} or [First Name]. Offline, no dependencies. Built by OneGTMLab (GTM engineering for B2B teams).

composer require jaizendra-netizen/cold-email-subject-lint
vendor/bin/subject-lint "A FREE audit for {{first_name}}!!"
# FAIL "A FREE audit for {{first_name}}!!"
#      - unfilled merge field
#      - ALL CAPS word: FREE
#      - repeated punctuation
#      - spam-trigger phrase: free

Exit code is 0 when every subject passes and 1 when any fails, so it can gate a send script. Why subject lines matter for replies and deliverability: cold email glossary entry.

Test

php tests/run.php