Download the PHP package appoly/mail-web without Composer
On this page you can find all versions of the php package appoly/mail-web. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download appoly/mail-web
More information about appoly/mail-web
Files in appoly/mail-web
Package mail-web
Short Description Catch your outgoing emails within your project making it easier to test and share
License MIT
Informations about the package mail-web
MailWeb
MailWeb is a Laravel package designed to help developers with emails. With MailWeb you can effortlessly catch and view your application's outgoing emails. This allows developers to quickly see, debug and share emails.
Features
- Outgoing Email Capture: Intercept outgoing emails from your Laravel application seamlessly.
- Tailwind UI: Enjoy a sleek and responsive user interface crafted with Tailwind CSS.
- Email Viewing: Easily view captured emails within the Mail Web dashboard.
- Shareable Links: Generate shareable links for email previews, facilitating collaboration and debugging.
- Search Functionality: Quickly search through your emails to find the information you need.
Installation
Use the package manager composer to install Mail Web.
Usage
Run the migration
Publish the assets to your project using
Publish the config to your project using
For ease, you can publish the assets by adding the following to your composer.json
Register the routes using the mailweb macro
To use Mail Web you need to add a Gate to your AuthServiceProvider. If you would like to limit the users that can access the route then use
Should you want to allow access to all users then change the above code to
Although it can be dangerous, should you want to allow access to anyone (regardless of authentication) then change the above code to
In your local environment, it's advised to set your mail driver to LOG to prevent SMTP errors.
To view emails then go to
Migrating to v5
If you previously used MailWeb you will notice a new archived table. This is because we have changed to data structure making it easier to pull out the email data we need rather than storing the whole email object. We are working on a command to migrate any stored emails over but for the time being these emails will no longer be viewable.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
All versions of mail-web with dependencies
illuminate/console Version *
illuminate/support Version ^9.21|^10.0|^11.0
livewire/livewire Version ^3.2