PHPackages                             vblinden/laravel-blade-add-to-slack-button - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. vblinden/laravel-blade-add-to-slack-button

ActiveLibrary[Templating &amp; Views](/categories/templating)

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

Add to Slack button

v1.0.1(9mo ago)2124[4 PRs](https://github.com/vblinden/laravel-blade-add-to-slack-button/pulls)MITPHPPHP ^8.3CI passing

Since Aug 1Pushed 1mo agoCompare

[ Source](https://github.com/vblinden/laravel-blade-add-to-slack-button)[ Packagist](https://packagist.org/packages/vblinden/laravel-blade-add-to-slack-button)[ Docs](https://github.com/vblinden/laravel-blade-add-to-slack-button)[ GitHub Sponsors](https://github.com/vblinden)[ RSS](/packages/vblinden-laravel-blade-add-to-slack-button/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (12)Versions (7)Used By (0)

Add to Slack button
===================

[](#add-to-slack-button)

[![Latest Version on Packagist](https://camo.githubusercontent.com/dcd3d695b750bab57311aacf9e74ec87ccc6703c105f9fcc6c67311650646011/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76626c696e64656e2f6c61726176656c2d626c6164652d6164642d746f2d736c61636b2d627574746f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vblinden/laravel-blade-add-to-slack-button)[![GitHub Tests Action Status](https://camo.githubusercontent.com/3de12688499be26e82ce9a3c274dd979c359f5399b1c61f167e7d15babd526a0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f76626c696e64656e2f6c61726176656c2d626c6164652d6164642d746f2d736c61636b2d627574746f6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/vblinden/laravel-blade-add-to-slack-button/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/28670db433ceea8c81ddd12114b95f493e7045a7f491cafc9c375c561219551f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f76626c696e64656e2f6c61726176656c2d626c6164652d6164642d746f2d736c61636b2d627574746f6e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/vblinden/laravel-blade-add-to-slack-button/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/46718bd38b4e803eb92a9744a35c7727e729ba99754d2fd2f96c3bf9598031af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76626c696e64656e2f6c61726176656c2d626c6164652d6164642d746f2d736c61636b2d627574746f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vblinden/laravel-blade-add-to-slack-button)

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

Installation
------------

[](#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';
```

```

```

Optionally, you can publish the views using

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

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

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

```

```

### Customization Options

[](#customization-options)

#### Large Button

[](#large-button)

```

```

#### Custom Label

[](#custom-label)

```

```

#### Additional HTML Attributes

[](#additional-html-attributes)

You can pass any additional HTML attributes to the button:

```

```

### Slack Icon Component

[](#slack-icon-component)

You can also use the Slack icon separately:

```

```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [vblinden](https://github.com/vblinden)
- [All Contributors](../../contributors)

Disclaimer
----------

[](#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
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance76

Regular maintenance activity

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

285d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8bc88f1693a37d180d9fcbd5434d6077ce5613dce8c15d42e0ee35aeffe494e?d=identicon)[vblinden](/maintainers/vblinden)

---

Top Contributors

[![vblinden](https://avatars.githubusercontent.com/u/1420356?v=4)](https://github.com/vblinden "vblinden (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelbladevblindenlaravel-blade-add-to-slack-buttonadd-to-slack

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/vblinden-laravel-blade-add-to-slack-button/health.svg)

```
[![Health](https://phpackages.com/badges/vblinden-laravel-blade-add-to-slack-button/health.svg)](https://phpackages.com/packages/vblinden-laravel-blade-add-to-slack-button)
```

###  Alternatives

[spatie/laravel-blade-comments

Add debug comments to your rendered output

177325.5k](/packages/spatie-laravel-blade-comments)[ryangjchandler/blade-capture-directive

Create inline partials in your Blade templates with ease.

8222.2M12](/packages/ryangjchandler-blade-capture-directive)[daikazu/laravel-glider

Start using Glide on-the-fly instantly in your Laravel blade templates.

882.3k](/packages/daikazu-laravel-glider)[angus-mcritchie/blade-boost-directive

Lightning-Fast Blade Components with `@boost` Directive

3910.0k](/packages/angus-mcritchie-blade-boost-directive)[combindma/dash-ui

A streamlined and stylish UI component library for Laravel Blade, crafted with TailwindCSS and AlpineJs for simplicity and elegance.

631.4k](/packages/combindma-dash-ui)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
