PHP code example of rhysnhall / laravel-socketlabs-driver
1. Go to this page and download the library: Download rhysnhall/laravel-socketlabs-driver 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/ */
rhysnhall / laravel-socketlabs-driver example snippets
class Test extends Mailable {
public function build()
{
return $this->from('[email protected]')
->view('emails.html.test')
->text('emails.plain.test')
->attach(storage_path('test_image.png'));
}
}