LaravelPackages.net
Acme Inc.
Toggle sidebar
brandonjbegle/nova-4-slack-channel-field

This Nova Package is a searchable select for storing your slack channel information in a database field.

99
0
v1.0.0
About brandonjbegle/nova-4-slack-channel-field

brandonjbegle/nova-4-slack-channel-field is a Laravel package for this nova package is a searchable select for storing your slack channel information in a database field.. It currently has 0 GitHub stars and 99 downloads on Packagist (latest version v1.0.0). Install it with composer require brandonjbegle/nova-4-slack-channel-field. Discover more Laravel packages by brandonjbegle or browse all Laravel packages to compare alternatives.

Last updated

Nova Slack Channel Select Field Package

This Nova Package is a searchable select for storing your slack channel information in a database field.

Compatibility

| Package version | Nova | Laravel | PHP | |-----------------|------|---------|------| | ^2.0 | 5.x | 10.x+ | 8.1+ | | ^1.0 | 4.x | 8.x+ | 8.0+ |

The package name keeps the nova-4- prefix for backwards compatibility with existing installs — it is not limited to Nova 4.

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'),
Comments