Download the PHP
package angelo8828/slack without Composer
On this page you can find all versions of the php package
angelo8828/slack. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
Vendor angelo8828 Package slack Short Description A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax. Future-proofed version of https://github.com/maknz/slack License
BSD-2-Clause
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
Slack for PHP
A simple PHP package for sending messages to Slack with incoming webhooks, focussed on ease-of-use and elegant syntax.
This version was directly forked from Maknz's Slack Library for PHP. The original project is no longer maintained and not working anymore for PHP projects having Guzzle below version 7.0.
Please see this comparison tool to check the changes I made. Please see original repository to see how it works. I will not change nor add to any of the functionalities of the original source code
Usage Notes
Please use Angelo8828 on namespaces instead of Maknz. For example, use Angelo8828\Slack\Client instead of Maknz\Slack\Client
Releases/Requirements
The project will contain 2 releases
1.9.0 - for PHP versions above 5.5 or HHVM.
2.0 - for PHP versions above 7.2
For the functionalities, there should be no difference between 1.9.0 and 2.0. The only difference between the two is that 2.0 has updated PHPUnit, to have the package's automated test modernized and updated
Installation
You can install the package using the Composer package manager. You can install it by running this command in your project root:
Requiresphp Version
>=7.2 guzzlehttp/guzzle Version
>=4.0 ext-mbstring Version
*
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 angelo8828/slack contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.