PHPackages                             slack-php/slick - 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. [Framework](/categories/framework)
4. /
5. slack-php/slick

ActiveLibrary[Framework](/categories/framework)

slack-php/slick
===============

Simple micro-framework for Slack app development

1.0.0(4y ago)7823MITPHPPHP &gt;=7.3

Since Jun 10Pushed 4y agoCompare

[ Source](https://github.com/slack-php/slack-php-slick)[ Packagist](https://packagist.org/packages/slack-php/slick)[ RSS](/packages/slack-php-slick/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Slick (by slack-php)
====================

[](#slick-by-slack-php)

A *slick*, single-file, dependency-free PHP micro-framework for building simple Slack apps.

**For something more robust, you should use our fully-featured [Slack PHP Framework](https://github.com/slack-php/slack-php-app-framework).**

If you are new to Slack app development, you will want to learn about it on [Slack's website](https://api.slack.com/start).

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

[](#installation)

### Requirements

[](#requirements)

Requires PHP 7.3+ with JSON support.

### Via Composer

[](#via-composer)

We recommend using Composer to install Slick, so that autoloading and keeping it up-to-date are easy.

```
composer require slack-php/slick

```

### Manual

[](#manual)

However, since Slick has no dependencies, you can directly download and require `Slick.php` or copy &amp; paste the code directly into your project.

(If you do end up doing this, let me know, because I will have no other way to track that it's happening.)

Basic Usage
-----------

[](#basic-usage)

This small app responds to the `/cool` slash command by posting a message back to the conversation where the slack command was used.

> Assumptions:
>
> - You have required the Composer autoloader to autoload Slick, OR you have required `Slick.php` directly.
> - You have `SLACK_SIGNING_KEY` set in your environment such that it is present in `$_SERVER`.

```
