PHP code example of create-sites / imvk

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

    

create-sites / imvk example snippets


'providers' => [
    ...
    CreateSites\IMVK\IMVKServiceProvider::class,

];

PUSHER_APP_ID=your_pusher_id
PUSHER_KEY=your_pusher_key
PUSHER_SECRET=your_pusher_secret
PUSHER_CLUSTER=your_pusher_cluster

<a class="button-notifications item" href="{{ route('messages.all') }}">All messages</a>

<a href="{{ route('messages.show', $user->id) }}" class="btn green">Write message</a>
bash
php artisan vendor:publish --provider="CreateSites\IMVK\IMVKServiceProvider"
bach
php artisan migrate