Download the PHP package slakbal/slackwipe without Composer

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

Slackwipe for Laravel

Slackwipe is a Laravel package to purge old slack message from your account and keep your channels fresh.

Contributions and Bugs

Please create a pull request for any changes, update or bugs. Thanks!

Requirements

Installation

You can install the package via composer:

Laravel will auto-discover and register the SlackwipeServiceProvider, so no further setup is required.

After installing, you must publish the slackwipe.php configuration file:

it will only publish the config file, or you can alternatively use:

and select the Slackwipe dependency.

Configuration

API Token

In the config\services.php config file set the legacy API token for Slack. You can obtain a token from here.You can also extract it to a .env variable to keep it out of your source-repository.

Channels to wipe

In the config file the channels and the retention period in days can be configured. If the retention period is set to 0 all messages from the channel will be wiped once the command is executed. If the retention period is set to for example 10 days all messages older from (NOW TIMESTAMP - 10 days) will be wiped.

Queue

Per default all jobs will be queued onto the default Redis queue. It is however recommended to keep things separate and have a dedicated queue (tube) for the wipe jobs with a single queue worker that would work the specific queue. In the config file you can set the name of the queue to which the jobs should be dispatched to or add the QUEUE_TUBE_SLACK variable to your environment (.env) file

Execution

You can run the command manually by executing:

Make sure you have a queue working running, otherwise you won't see any effect in Slack.

You may define a scheduled task in the schedule method of the App\Console\Kernel class to queue wipe jobs, eg.:

Your contributions (Pull Requests) or bug fixes are welcome!

Enjoy!

Slakbal


All versions of slackwipe with dependencies

PHP Build Version
Package Version
Requires illuminate/contracts Version ^5.8|^6.0|^7.0
craftyx/slack-api Version ^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 slakbal/slackwipe contains the following files

Loading the files please wait ....