brandonjbegle/nova-4-slack-channel-field
最新稳定版本:v0.1.4
Composer 安装命令:
composer require brandonjbegle/nova-4-slack-channel-field
包简介
This Nova Package is a searchable select for storing your slack channel information in a database field.
README 文档
README
This Nova Package is a searchable select for storing your slack channel information in a database field.
Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require brandonjbegle/nova-4-slack-channel-field
Now publish config file:
php artisan vendor:publish --provider="BrandonJBegle\SlackChannel\FieldServiceProvider"
Create a Slack App, install it to your workspace, and retrieve your bot token. Complete Instructions Here
Add the key and token to your .env file
SLACK_OAUTH_TOKEN=############################
Usage
Add the field to your Nova Resource:
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'),
统计信息
- 总下载量: 96
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-11-13