PHP code example of hayrican / laravel-codec-fastsms

1. Go to this page and download the library: Download hayrican/laravel-codec-fastsms 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/ */

    

hayrican / laravel-codec-fastsms example snippets


'providers' => [
    ...,
    HayriCan\CodecFastSms\CodecFastSmsServiceProvider::class,
]
bash
$ php artisan vendor:publish --provider="HayriCan\CodecFastSms\CodecFastSmsServiceProvider"
array
[
  'username'=> "CODEC_USERNAME",
  'password'=> "CODEC_PASSWORD",
  'sender'=> "CODEC_SENDER",
]
array
[
  'route_prefix'=> 'api',

  'middleware'=> ['api'],
]
array
[
  'record'=> true
]
bash
$ php artisan migrate