PHP code example of kubill / emay-for-laravel

1. Go to this page and download the library: Download kubill/emay-for-laravel 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/ */

    

kubill / emay-for-laravel example snippets


Kubill\Emay\EmayServiceProvider::class,

'Emay' => Kubill\Emay\Facades\Emay::class,

use Kubill\Emay\Emay;

$emay = new Emay();
$emay->send(138xxxxxxxx,'hello world');

use Kubill\Emay\Emay;
Emay::send(138xxxxxxxx,'hello world');