Download the PHP package jkudish/mail-mirror without Composer

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

MailMirror

Mirror Gmail and Fastmail accounts into account-scoped Laravel models and private object storage.

MailMirror provides Gmail and JMAP read adapters, resumable inventory and changed-message imports, reconciliation reports, encrypted credential storage, and integrity-checked RFC 822 and attachment storage. Its only provider write restores one message from provider Trash, and only when the consumer calls it. It does not provide a UI, search, or push transport.

Requirements

SQLite is supported for tests and local development.

Installation

Install the package with Composer, then run its migrations:

Laravel package discovery registers the service provider, configuration, migrations, and built-in Gmail and Fastmail JMAP readers.

Publish the configuration if you need to change the database connection, storage disk, import limits, or provider settings:

Set MAIL_MIRROR_STORAGE_DISK to a private Laravel Filesystem disk before mirroring real mail. Gmail and JMAP network access remain disabled until you enable the matching provider.

Mirror an account

Create a MailAccount, store its credential, then call syncAccount(). This Fastmail example assumes $apiToken came from your application's secret manager:

Set MAIL_MIRROR_JMAP_ENABLED=true before the import. For Gmail, complete the OAuth flow with GmailOAuth, store the returned OAuthTokenSetCredential, and set MAIL_MIRROR_GMAIL_ENABLED=true.

A bounded import returns null when more pages remain. Call syncAccount() again with the same account and owner tuple to resume. A completed scan returns an immutable MailReconciliationReport with mirrored, provider-deleted, transient-error, waived-error, unexplained-missing, and unexpected-active counts.

Imports are idempotent. MailMirror qualifies provider identities by account, commits each page with its checkpoint, and verifies stored object checksums and byte counts before returning content.

Application responsibilities

Your application must:

MailMirror never sends mail, changes mailbox state, or purges local mail on its own. It changes provider state only when your application enables mail-mirror.writes.enabled and calls a write such as MailWriteService::apply(); approving that call is your application's responsibility.

Documentation

See CONTRIBUTING.md for local development and SECURITY.md for reporting vulnerabilities.

License

MailMirror is open source software licensed under the MIT License.


All versions of mail-mirror with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/contracts Version ^12.0||^13.0
illuminate/database Version ^12.0||^13.0
illuminate/filesystem Version ^12.0||^13.0
illuminate/http Version ^12.0||^13.0
illuminate/support Version ^12.0||^13.0
spatie/laravel-package-tools Version ^1.16
zbateson/mail-mime-parser Version ^4.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 jkudish/mail-mirror contains the following files

Loading the files please wait ...