1. Go to this page and download the library: Download artisan-share/laravel 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/ */
artisan-share / laravel example snippets
// config/share.php
'drivers' => [
'relay' => [
'endpoint' => env('SHARE_RELAY_URL'), // e.g. wss://tunnel.example.dev
'token' => env('SHARE_RELAY_TOKEN'), // your instance's token, if set
],
],