jaizendra-netizen / cold-email-subject-lint
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
Type:project
pkg:composer/jaizendra-netizen/cold-email-subject-lint
Requires
- php: >=8.1
- ext-mbstring: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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