Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Mailspfchecker

Mailspfchecker Laravel Package

dietercoopman/mailspfchecker

A Laravel package that validates a domain's SPF record: it checks whether a given IP address or host is authorized to send email, performs the required DNS lookups, and returns clear pass/fail results, helping you debug email deliverability and catch spoofing issues in your app.

View on GitHub
Deep Wiki
Context7

A package to check if you can send e-mail through a given mailserver in name of a given e-mail address

Frequently asked questions about Mailspfchecker
What does dietercoopman/mailspfchecker do?
It is a Laravel package that validates a domain's SPF record for a given IP address or host. It performs the required DNS lookups and returns clear pass/fail results, helping you debug email deliverability and catch spoofing issues. Use it when your app needs to verify whether a sender is authorized to send email in the name of an address.
How do I install dietercoopman/mailspfchecker in Laravel?
Install it with Composer using composer require dietercoopman/mailspfchecker. For Laravel 12, use v1.0.7 and confirm service provider auto-discovery and any publishable configuration in the repository docs. Then run your application tests before using it in production.
Does dietercoopman/mailspfchecker support Laravel 12?
Yes. The v1.0.7 release explicitly adds Laravel 12 compatibility. Confirm that your app's PHP and Illuminate dependency constraints resolve cleanly with the package before adopting it.
Does v1.0.7 still support Laravel 10 or 11?
The public release note for v1.0.7 only mentions Laravel 12 compatibility and does not say whether Laravel 10 or 11 support is retained. Check the package's composer.json constraints and the release diff before upgrading from an earlier version. If you are not yet on Laravel 12, pin the previous version until compatibility is confirmed.
What PHP version and Composer constraints does mailspfchecker require?
The provided context does not list exact PHP or illuminate/* Composer constraints for the package. Laravel 12 itself requires PHP 8.2+, so verify the package's composer.json on Packagist or GitHub before installing. Pay attention to whether it supports your Laravel major version and PHP runtime.
How does mailspfchecker validate a domain's SPF record?
It resolves the domain's SPF record through DNS and checks whether the supplied IP address or host is authorized to send email for that domain. The package returns a pass or fail result you can use for diagnostics or validation in your Laravel app. It focuses on SPF authorization rather than full email authentication.
Can I use mailspfchecker to debug email deliverability and spoofing?
Yes, it is useful for diagnosing why a sending IP or host may be rejected by a domain's SPF policy and for spotting potential spoofing. For a complete deliverability picture, pair SPF checks with DKIM and DMARC validation. The package's pass/fail result helps isolate whether SPF is the cause of the problem.
Does mailspfchecker send a test email or check SMTP connectivity?
No. It validates SPF authorization through DNS lookups instead of sending a real test message or opening an SMTP session. Use separate SMTP connectivity and inbox placement tests if you need to verify actual mail delivery.
How should I test mailspfchecker in CI and production?
Test with known domains and sending IPs or hosts that should pass and fail, and avoid depending on live DNS in CI where possible by stubbing the lookup layer if the package supports it. Run your Laravel test suite after install or upgrade, then validate the checks in staging before production rollout.
Is mailspfchecker actively maintained, and what alternatives should I consider?
The available release information is minimal, with a single-line v1.0.7 note and no detailed changelog or upgrade guide mentioned, so assess issue-tracker responsiveness before relying on it. Alternatives include querying DNS/SPF records directly, using a general DNS library, or adopting a dedicated email authentication service. For Laravel-only SPF authorization checks, compare this package against your existing tooling and support needs.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections