Download the PHP package sammyjo20/wagonwheel without Composer
On this page you can find all versions of the php package sammyjo20/wagonwheel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sammyjo20/wagonwheel
More information about sammyjo20/wagonwheel
Files in sammyjo20/wagonwheel
Package wagonwheel
Short Description Offer an online version of your Laravel emails to users.
License MIT
Informations about the package wagonwheel
⚠️ 07/08/2022 This project has officially been abandoned
Thank you everyone for downloading Wagonwheel, however I am going to be formally abandoning the project.
This is was a collaborative project with Ryan Chandler. Please consider supporting him for the hard work he put into this package!
Help support the maintenance of this package by buying me a coffee.
Wagonwheel
Offer an online version of your Laravel emails to users.
-
Uses Laravel's built-in temporary signed URLs to create the URL for the online version. This means it's secured by your app's encryption key, as well as making it difficult to guess.
-
Highly customisable.
-
Easy to install.
- Supports Laravel 8
Installation
-
Install Wagonwheel using composer with the command below:
-
Publish the migrations
-
Run the migrations
- Add the "SaveForOnlineViewing" trait to any of your Mailables.
Configuration
If you would like to customise how Wagonwheel works. Run the following command to publish Wagonwheel's configuration file.
component_placement - This configuration variable defines if the banner should be rendered at the start of the email content or at the end of the email content. The available values are start and end.
message_expires_in_days - This configuration variable defines how long Wagonwheel should keep the online version of an email in days. If you would like the online version of your emails to never expire, set this to 0. The default is 30 days.
Customisation
If you would like to customise how the banner looks inside the email, just publish Wagonwheel's views with the following command.
Testing
Run all tests
Run a specific test
Thanks
- Ryan Chandler (@ryangjchandler) helped out massively with some great code improvements and overall making Wagonwheel better!
- Gareth Thompson (@cssgareth) helped out with coming up with a cool name!
All versions of wagonwheel with dependencies
illuminate/support Version ^8.0
illuminate/mail Version ^8.0
illuminate/database Version ^8.0
illuminate/http Version ^8.0
illuminate/routing Version ^8.0
illuminate/console Version ^8.0
paquettg/php-html-parser Version ^3.1
swiftmailer/swiftmailer Version ^6.2.1