1. Go to this page and download the library: Download sammyjo20/wagonwheel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sammyjo20 / wagonwheel example snippets
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Sammyjo20\Wagonwheel\Concerns\SaveForOnlineViewing;
class BookingConfirmed extends Mailable
{
use Queueable, SerializesModels, SaveForOnlineViewing;
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->subject('Booking Confirmed 🎉')
->markdown('emails.bookings.confirmed');
}
}