承接 vblinden/laravel-blade-add-to-slack-button 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vblinden/laravel-blade-add-to-slack-button

最新稳定版本:v1.0.1

Composer 安装命令:

composer require vblinden/laravel-blade-add-to-slack-button

包简介

Add to Slack button

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Easily add an "Add to Slack" button to your site.

Installation

You can install the package via composer:

composer require vblinden/laravel-blade-add-to-slack-button

Run the install command

php artisan add-to-slack:install

Add CSS via build tool or simply add with stylesheet link

@import '../../public/vendor/add-to-slack/css/button.css';
<link rel="stylesheet" href="/vendor/add-to-slack/css/button.css">

Optionally, you can publish the views using

php artisan vendor:publish --tag="laravel-blade-add-to-slack-button-views"

Usage

Basic Usage

Use the Blade component to render an "Add to Slack" button:

<x-add-to-slack::button href="your-oauth-flow" />

Customization Options

Large Button

<x-add-to-slack::button href="your-oauth-url" large />

Custom Label

<x-add-to-slack::button href="your-oauth-flow" label="Install App" />

Additional HTML Attributes

You can pass any additional HTML attributes to the button:

<x-add-to-slack::button 
    href="your-oauth-flow"
    target="_blank"
    rel="noopener"
    class="my-custom-class"
/>

Slack Icon Component

You can also use the Slack icon separately:

<x-add-to-slack::icon />

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

Disclaimer

Slack is a trademark of Slack Technologies, LLC, a Salesforce company. This package is not affiliated with, endorsed by, or sponsored by them.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 124
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-01