Download the PHP package digitalicagroup/slack-hook-framework without Composer

On this page you can find all versions of the php package digitalicagroup/slack-hook-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package slack-hook-framework

[!WARNING]

🛑 This Repository is Archived

This project has been archived and is now in a read-only state. It is no longer actively maintained, and we are not accepting issues or pull requests.

Slack Hook Framework

A simple framework to easily build your own command processor for Slack. It can be extended in two ways:

Uses

How does it work?

Whats new

Current Features

TODO

Requirements

Install

Just add the dependency for slack-hook-framework or run:

View the index-example.php to see how to configure the library and how to invoke the command processor. The customs_cmds.json will let you define new commands of your own. You can check vendor/digitalicagroup/slack-hook-framework/lib/SlackHookFramework/CmdHello.php to see what a command should do.

On Slack

On your web server

Install composer in a folder of your preference (should be accessible from your web server) then run:

Edit index-example.php and add the following configuration parameters:

Give permissions to your logs/ and db/ folder to your web server process. If you are using apache under linux, it is usually www-data:

Go to slack and type /bot help.

Adding more Commands.

Troubleshooting

This is a list of common errors:

About Digitalica

We are a small firm focusing on mobile apps development (iOS, Android) and we are passionate about new technologies and ways that helps us work better. This project is an extension of our work to test and play with new things.


All versions of slack-hook-framework with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
ext-curl Version *
katzgrau/klogger Version 1.0.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package digitalicagroup/slack-hook-framework contains the following files

Loading the files please wait ...