1. Go to this page and download the library: Download aurawindsurfing/messenger 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/ */
aurawindsurfing / messenger example snippets
" "aurawindsurfing/messenger": "~1.0"
}
'firstUserId' => 1,
'secondUserId' => 2,
use Aurawindsurfing\Messenger\Messagable;
class User extends Authenticatable {
use Messagable;
'controller_namespace' => 'App\Http\Controllers',
// customise controller method names if you choose to overwrite default controller
'controller_index' => 'index',
'controller_create' => 'create',
'controller_store' => 'store',