PHP code example of cube-agency / arbory-mail

1. Go to this page and download the library: Download cube-agency/arbory-mail 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/ */

    

cube-agency / arbory-mail example snippets

  
'menu' => [
    ...
    \CubeAgency\ArboryMail\Http\Controllers\Admin\MailTemplatesController::class
]
  
Admin::modules()->register(\CubeAgency\ArboryMail\Http\Controllers\Admin\MailTemplatesController::class);

'templates' => [
    \App\Mail\UserRegistered::class,
]

$message = new UserUpdated();
Mail::to('[email protected]')->send($message);
bash
php artisan vendor:publish --provider="CubeAgency\ArboryMail\Providers\MailServiceProvider"
bash
php artisan migrate
bash
php artisan arbory-mail:generate