PHP code example of brandonjbegle / nova-4-slack-channel-field
1. Go to this page and download the library: Download brandonjbegle/nova-4-slack-channel-field 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/ */
brandonjbegle / nova-4-slack-channel-field example snippets
use BrandonJBegle\SlackChannel\SlackChannel;
// ....
SlackChannel::make('Slack Channel'),
// Specify channel types https://api.slack.com/methods/conversations.list#arg_types
SlackChannel::make('Slack Channel')
->types('public_channel,private_channel'),
shell
php artisan vendor:publish --provider="BrandonJBegle\SlackChannel\FieldServiceProvider"