PHP code example of webleit / delete-slack-files
1. Go to this page and download the library: Download webleit/delete-slack-files library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
webleit / delete-slack-files example snippets
php
php console slack:deletefiles olderThanXDays --token=yourSlackToken
php
php console slack:deletefiles 365 --token=dsjiadp2831312pnu8sdjafjp8128213jdsaopdj81