Download the PHP package masterro/laravel-mail-viewer without Composer

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

Latest Stable Version Total Downloads License

StandWithUkraine

Mail logger and viewer for Laravel

Easily log, view and search in browser all outgoing emails.

preview

This package gives an ability to log all outgoing emails to a database and view them all from a browser like they will be shown in a modern mail clients (gmail, etc.).

Version Compatibility

Laravel Mail Viewer
5.5.x - 8.* 1.3.x
9.x - 10.x 2.x.x

Upgrade from v1 to v2

Version 2 has been almost totally rewritten and brings totally new fresh UI build with Vue.js 3 and TailwindCss 3.
It works only with Laravel 9+ as of Symfony Mailer replacement for previously used Swift Mailer.

Upgrade Steps

Composer Dependencies

You should update the dependency in your application's composer.json file:

masterro/laravel-mail-viewer to ^2.0

Database migrations

Run package migrations (requires doctrine/dbal to be installed):

Publish assets

Run publish command:

Update configs

V2 uses separate date format for date and time, update these in your config/mail-viewer.php file

Data pruning

V2 allows prune old records easily using mail-viewer:prune command. You can add it to your Scheduler.

You can specify how many days data will be stored before pruning using config. Default value is 31 days.

Installation

Step 1: Composer

From the command line, run:

Step 2: Publish assets and configs

You have to publish assets, and views, configs are optional.

Step 3: Run migrations

Step 4: View emails

All ongoing emails you can find on /_mail-viewer page.

Configuration

You can review and change all the default configuration values in published config/mail-viewer.php file.

Data pruning (v2+)

The package allows you to prune old records easily using mail-viewer:prune command. You can add it to your Scheduler.


All versions of laravel-mail-viewer with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ^9.0|^10.0|^11.0
illuminate/events Version ^9.0|^10.0|^11.0
illuminate/database Version ^9.0|^10.0|^11.0
illuminate/routing Version ^9.0|^10.0|^11.0
illuminate/view Version ^9.0|^10.0|^11.0
illuminate/mail Version ^9.0|^10.0|^11.0
doctrine/dbal Version ^3.5 | ^4.0 | ^5.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 masterro/laravel-mail-viewer contains the following files

Loading the files please wait ....