Download the PHP package jeremykenedy/slack-laravel without Composer

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

Slack for Laravel

Slack for Laravel

Laravel integration for the Slack, including facades and service providers. This package allows you to use Slack for PHP easily and elegantly in your Laravel app.

Total Downloads Latest Stable Version StyleCI License: MIT

Requirements

Installation

1. From your projects root folder in terminal run:
2a. Register App (Laravel 5.5 +)

Uses package auto discovery feature, no need to edit the config/app.php file.

2b. Register App (Laravel 5.4 and below)

Register the package with laravel in config/app.php under providers with the following:

3. Register App Alias (Laravel 5.4 and below)

Register the package with laravel in config/app.php under aliases with the following:

4. Publish Assets (All)

Publish the config file from your projects root folder in terminal by running:

5. Create Webhook (All)

Create an incoming webhook for each Slack team you'd like to send messages to. You'll need the webhook URL(s) in order to configure this package.

6. Configure .env (All)

Configure Slack for Laravel in your .env file by adding and editing the following:

Configuration

The config file comes with defaults and placeholders. Configure at least one team and any defaults you'd like to change. Default configurations are published into config/slack.php and the values can be set in the .env file like so:

Usage

1. Include Class

2. Trigging Slack Messages

Send to Default Channel
Send to Different Channel
Send to Private Message

Faking in tests

Use the fake method on the Facade

This provides the following

Credits

License

Slack for Laravel is licensed under the MIT license for both personal and commercial products. Enjoy!


All versions of slack-laravel with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
jeremykenedy/slack Version ~2.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 jeremykenedy/slack-laravel contains the following files

Loading the files please wait ....