Download the PHP package label84/laravel-mailviewer without Composer

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

Laravel MailViewer

Latest Stable Version Total Downloads GitHub Workflow Status

Mailviewer enables you to view and filter mail that is sent by your Laravel application in the browser. The Analytics page gives you insight in the amount of mails sent sent by your application grouped by Notification.

Laravel Support

Version Release
11.x ^3.0
10.x ^3.0

Limitations

This package tracks mails sent via Laravel's Mailables and Notifications.

Installation

1. Require package

2. Publish the config file and migration

2.1 Publish the views (optional)

To change the default views, you can publish them to your application.

3. Run migrations

Run the migration command.

Usage

To preview the mails sent by your application visit: /admin/mailviewer. You can change this url in the config file.

You can add MAILVIEWER_ENABLED=true to your .env file.

Filters

You can filter the mails in the overview with query parameters - example /admin/mailviewer?notification=WelcomeMail.

Parameter Value Example
to= email [email protected]
cc= email [email protected]
bcc= email [email protected]
notification= class basename of Notification VerifyEmail
from= Carbon 2 hours ago
till= Carbon yesterday
around= Carbon 2020-12-24 06:00

The 'notification' parameter only requires the class basename (ie. \Illuminate\Auth\Notifications\VerifyEmail = VerifyEmail).

The around parameter show all mails sent around the given time. By default is will show all mails sent 10 minutes before and 10 minutes after the given time. You can customize the number of minutes by adding an additional &d=X parameter where X is the number of minutes.

Analytics

To preview the analytics page visit: /admin/mailviewer/analytics. You can change this url in the config file.

On the analytics page you can view the number of mails sent per Notification and the latest time this notification was sent.

Examples

Example #1

View all VerifyEmail mails to [email protected].

/admin/[email protected]&notification=VerifyEmail

Example #2

View all mails sent in the last 2 hours.

/admin/mailviewer?from=2 hours ago

Exclusion list

In the config file you can add an array of Notification classes and an array of email addresses that should be excluded. Those notifications and email addresses won't be saved to the database.

Tests

License

MIT


All versions of laravel-mailviewer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/auth Version ^10.0|^11.0
illuminate/routing Version ^10.0|^11.0
illuminate/support Version ^10.0|^11.0
illuminate/database Version ^10.0|^11.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 label84/laravel-mailviewer contains the following files

Loading the files please wait ....