PHP code example of devsfort / laravel-pigeon-chat

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

    

devsfort / laravel-pigeon-chat example snippets


...
/*
* Package Service Providers...
*/
\DevsFort\Pigeon\Chat\ChatServiceProvider::class,
...

...
/*
* Class Aliases
*/
\'DevsFortChat' =>DevsFort\Pigeon\Chat\Facade\Chat::class,
...
sh
php artisan vendor:publish --tag=devschat-config
sh
php artisan migrate
sh
php artisan storage:link