Download the PHP package domainvalidity/php-email-signals without Composer

On this page you can find all versions of the php package domainvalidity/php-email-signals. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-email-signals

Doma(in)Validity — Email Signals

A composable signal pipeline for email addresses. Every check emits a signal; you decide what the signals mean.

Then make your own call — the package never makes it for you:

The one idea

A check returns a signal or declines to answer. Every registered check emits exactly one signal, with one of five outcomes:

Matched · Clear · Abstained · Skipped (with a reason) · Errored

So a payload never has silent gaps — "we checked and it was fine" is distinguishable from "we never asked", which a boolean cannot express. That is what makes local-first pipelines work: order your checks cheapest first, and an expensive one reads the context and skips itself, leaving a signal saying so.

What it will not do

Want an opinionated layer? Build it on top. That is the intended shape, and it is why this is MIT.

Documentation

Start with the first two; reach for the rest when you need them. Not sure what exists? Everything it can do is the capability index — costs and budgets, batch inspection, decision provenance, diffing, observability, your own data as signals, and more.

Page What it covers
Getting started Install, your first pipeline, the one-line factories
Concepts Check, Signal, Report, Outcome, Context, scope, facts
Checks Every bundled check, and writing your own
Your own data Your users table, counters and past reports as signals
Decisions Named rules, decision provenance, the payload, diffing
Lists Downloading, caching, refusing a bad list, re-deriving
At scale Batch inspection, cost and budget, observability
Subaddressing What canonical() claims, and the RFCs behind it
Testing The shipped fakes, and the plugin contract
API reference Every public method, exactly as declared
Laravel A worked framework integration

The same pages also work as a browsable docsify site. Serve it locally with either of:

Or host it by enabling GitHub Pages for the docs/ folder — the site then lives at https://domainvalidity.github.io/php-email-signals/.

Also: security policy

Beyond a boolean

A few things the pipeline shape buys you, each covered in the docs:

Requirements

PHP 8.2+. One library — domainvalidity/php-domain-validator for Public Suffix List handling — plus PSR interfaces only, with no implementations: PSR-18/17 (used only by ListFetcher), PSR-16 (only where you pass a cache) and PSR-20 (only if you want inspected_at). You bring your own HTTP client, cache and clock — or let ListFetcher::discover() find the ones already installed (Guzzle, Symfony, Nyholm, Laminas, Slim, symfony/cache), with no discovery dependency: it is built in.

None of those implementations is actually required. With lists read from disk the whole package runs on plain PHP — MX included, since the bundled resolver uses dns_get_record(), and caching included, since the shipped FilesystemCache is itself a PSR-16 implementation. Downloading lists over the network is the one thing that needs a PSR-18 client and PSR-17 factory. See what actually needs a PSR implementation.

License

MIT — see LICENSE.


All versions of php-email-signals with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2.0
domainvalidity/php-domain-validator Version ^3.1
psr/clock Version ^1.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.1 || ^2.0
psr/simple-cache Version ^1.0 || ^2.0 || ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package domainvalidity/php-email-signals contains the following files

Loading the files please wait ...