PHP code example of rtippin / messenger-faker
1. Go to this page and download the library: Download rtippin/messenger-faker 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/ */
rtippin / messenger-faker example snippets
'paths' => [
'images' => storage_path('faker/images'),
'documents' => storage_path('faker/documents'),
'audio' => storage_path('faker/audio'),
'videos' => storage_path('faker/videos'),
],
'default_image_url' => 'https://source.unsplash.com/random',
'enable_bot' => true,
bash
$ php artisan vendor:publish --tag=messenger-faker