PHP code example of bryanjamesmiller / laravel-inky
1. Go to this page and download the library: Download bryanjamesmiller/laravel-inky 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/ */
bryanjamesmiller / laravel-inky example snippets
Mail::send('emails.welcome', ['name' => $user->name], function ($m) use ($user) {
$m->from('[email protected]', 'Your Application');
$m->to($user->email, $user->name)->subject('Welcome!');
});
blade
<container>
<row>
<columns>Welcome, {{ $name }}</columns>
</row>
</container>