PHP code example of sms77 / krayin

1. Go to this page and download the library: Download sms77/krayin 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/ */

    

sms77 / krayin example snippets



return [
    // ...
    'providers' => [
        // ...
        Seven\Krayin\Providers\SevenServiceProvider::class,
    ],
        // ...
];

return [
    // ...
    'seven' => [
        'api_key' => env('SEVEN_API_KEY'), // must match the key from .env file added in the previous step
    ],
];

php artisan cache:clear
php artisan migrate