PHP code example of larbrary / tawk

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

    

larbrary / tawk example snippets


'providers' => [
//  ...,
    Larbrary\Tawk\TawkServiceProvider::class
];

//  ...

'aliases' => [
//  ...,
    'Tawk' => Larbrary\Tawk\Facades\Tawk::class
];
ini
TAWK_TO_PROPERTY_ID=XXXXXXX
ini
TAWK_TO_WIDGET_ID=5bc4ae1275bef
ini
TAWK_TO_API_KEY=your_tawk_api_key_goes_here
shell script
php artisan view:clear