diff --git a/.claude/skills/adapter-mailer/SKILL.md b/.claude/skills/adapter-mailer/SKILL.md index c3dd875..7c665a5 100644 --- a/.claude/skills/adapter-mailer/SKILL.md +++ b/.claude/skills/adapter-mailer/SKILL.md @@ -39,7 +39,7 @@ All classes under `Handler/` are invokable (`__invoke()`). Only configured handl - `sendBatch()` reuses one SMTP connection across all messages (keepalive + NOOP health-check). - Logging / caching = integration-layer concern — Decorator on `MailerInterface`, never inside the package. -## CONTRACTS (from jardissupport/contract) +## CONTRACTS (from jardissupport/contracts) | Interface | Implementation | |-----------|----------------| | `MailerInterface` | `Mailer` — `send(MailMessageInterface): void` | @@ -172,6 +172,6 @@ MAIL_FROM_ADDRESS, MAIL_FROM_NAME - **Domain:** never imports mailer classes. ## DEPENDENCIES -- `jardissupport/contract ^1.0` — MailerInterface, MailMessageInterface, MailTransportInterface +- `jardissupport/contracts ^1.0` — MailerInterface, MailMessageInterface, MailTransportInterface - `ext-openssl` — TLS / SSL - `ext-mbstring` — UTF-8 header encoding diff --git a/README.md b/README.md index bab06c6..81fcd48 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ **Transactional emails without the bloat.** A lean SMTP mailer for PHP built on raw sockets — covers order confirmations, password resets, and notifications. No Swiftmailer, no Symfony Mailer, no dependency tree. Just SMTP over a socket. -* Zero external PHP packages. Only `ext-openssl` + `ext-mbstring` + `jardissupport/contract` (interfaces only). +* Zero external PHP packages. Only `ext-openssl` + `ext-mbstring` + `jardissupport/contracts` (interfaces only). ---