DEV Community

Sarfraz Ahmed
Sarfraz Ahmed

Posted on

1

Laravel EmailWatch

I was looking for a package that would automatically open sent email in default email client so that it becomes easier while testing and developing an application. So I built one.

GitHub logo sarfraznawaz2005 / emailwatch

Laravel package to open sent emails in default email client directly.

Latest Version on Packagist Total Downloads

Laravel EmailWatch

Laravel package to open sent emails in default email client directly whenever an email is sent useful for local testing.

Note: You should have default email client set to open eml format files by default otherwise it won't work. Normally most email clients open .eml files by default.

Requirements

  • PHP >= 5.6
  • Laravel 5.5 or greater

Installation

Via Composer

$ composer require sarfraznawaz2005/emailwatch

Publish package's config file by running below command:

$ php artisan vendor:publish --provider="Sarfraznawaz2005\EmailWatch\ServiceProvider"

It should publish config/emailwatch.php config file. Now make sure package is enabled by setting enabled value in config/emailwatch.php.

Credits

License

Please see the license file for more information.




Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay