PHP code example of daworks / ncloud-mailer-for-laravel5

1. Go to this page and download the library: Download daworks/ncloud-mailer-for-laravel5 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/ */

    

daworks / ncloud-mailer-for-laravel5 example snippets


'providers' => [
    // ...
    Daworks\NcloudMailer\NcloudMailerServiceProvider::class,
],

'ncloud' => [
    'auth_key' => 'your-ncloud-auth-key',
    'service_secret' => 'your-ncloud-service-secret',
],

'driver' => 'ncloud',

Mail::to($request->user())->send(new OrderShipped($order));

Notification::route('mail', '[email protected]')->notify(new TestNotification());