PHP code example of binarcode / nova-chat

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

    

binarcode / nova-chat example snippets


php artisan vendor:publish --tag=nova-chat

php artisan migrate

public function tools()
{
    return [
        \Binarcode\NovaChat\Tools\ChatTool::make(),
    ];
}