Download the PHP package hnhdigital-os/php-slack-api without Composer

On this page you can find all versions of the php package hnhdigital-os/php-slack-api. 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 php-slack-api

Access your Slack Team's API through PHP objects.

Latest Version Total Downloads Software License

This package has been adapted from cleentfaar/slack by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.

1.0.0 release

Please note that from the 1.0.0 release this package's namespace (and folder structure) will change from CL\Slack to HnhDigital\SlackApi.

From v1.0.0 all the payloads and responses will be matched with the Slack API and missing api methods (listed below) will be completed.

Documentation

Features

Unit testing

Currently unit testing is broken (as per imported repo cleentfaar/slack). This will be updated to the latest version shortly.

Feel free to fix with a PR.

Up-to-date methods

The following methods have been reviewed and updated:

Feel free to review a method and update the README with a PR.

Missing API methods

The following methods have not been implemented.

Feel free to add a PR.

Methods that need removing

The following methods no longer exist in the API:

Related packages

FAQ

Why am I getting a cURL 60 error when attempting to connect to the Slack API?

Under the hood this library uses Guzzle to connect to the Slack API, and Guzzle's default method for sending HTTP requests is cURL.

The full error code is CURLE_SSL_CACERT: Peer certificate cannot be authenticated with known CA certificates and may be due, especially on Windows or OS X, to Guzzle not being able to find an up to date CA certificate bundle on the operating system.

To fix this you first create the Guzzle client manually using an alternative CA cert bundle, or disabling peer verification (not recommended for security reasons), and pass it to the API Client.

If you get a different error code you can look at the list of cURL error codes, or consult the Guzzle documentation directly.

Contributing

Please see CONTRIBUTING for details.

Credits

License

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


All versions of php-slack-api with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
ext-curl Version *
jms/serializer Version ^1.0|^2.0|^3.0
guzzlehttp/guzzle Version ^6.0|^7.0
symfony/event-dispatcher Version ^4.0|^5.0
symfony/yaml Version ^2.3|^3.0|^4.0|^5.0
doctrine/collections Version ^1.2
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 hnhdigital-os/php-slack-api contains the following files

Loading the files please wait ....