Download the PHP package hydrakit/mail without Composer

On this page you can find all versions of the php package hydrakit/mail. 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 mail

Hydra Mail

Part of the Hydra PHP framework. Documentation: hydra.williamhleucka.com/docs.

Read-only mirror. hydrakit/mail is developed in hydra-foundation/hydra under packages/mail, and republished here on every push. A commit pushed to this repository is overwritten by the next one; issues are disabled for that reason, and a pull request opened here cannot be merged. Both belong upstream.

Outgoing mail behind one transport contract. SmtpTransport delivers; LogTransport writes each message to the log with its links intact; ArrayTransport keeps them in memory. Only the first sends anything, so tests and local development never do.

A message with no sender gets MAIL_FROM_ADDRESS. Every recipient must be accepted before the message is sent, so a refused address fails the whole send rather than delivering to some recipients. TLS is never skipped: with MAIL_ENCRYPTION=tls a server that does not offer STARTTLS is an error, and credentials are refused outright with MAIL_ENCRYPTION=none.

Setting Default
MAIL_TRANSPORT smtp smtp, log or array
MAIL_HOST required for smtp
MAIL_PORT 587
MAIL_ENCRYPTION tls tls (STARTTLS), ssl (implicit TLS) or none
MAIL_USERNAME, MAIL_PASSWORD AUTH PLAIN, or LOGIN when PLAIN is not offered
MAIL_FROM_ADDRESS, MAIL_FROM_NAME the default sender
MAIL_TIMEOUT 10 seconds, for the connection and each reply
MAIL_EHLO_DOMAIN localhost the name this client greets the server with

When the app binds a PSR-14 EventDispatcherInterface, every message a transport accepts is announced as Events\MessageSent, carrying the message as sent (sender filled in) and the transport's name. A send that throws announces nothing. The package stores nothing; an app that wants a log of sent mail listens:

A listener that throws reaches the caller of send() after the mail went out, so one that records should catch and log its own failures. FakeMailer dispatches nothing.

In tests, register Testing\FakeMailServiceProvider after MailServiceProvider and assert on the FakeMailer it binds:

Not yet: attachments, custom headers, and SMTPUTF8 (addresses are ASCII; names and subjects may be anything).


All versions of mail with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
hydrakit/core Version ^0.31
psr/log Version ^3.0
psr/clock Version ^1.0
psr/event-dispatcher Version ^1.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 hydrakit/mail contains the following files

Loading the files please wait ...