Download the PHP package barth/slacknewsletter without Composer

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

Slack Newsletter Preview

Slack Newsletter

CI Version

This application allows you to generate a newsletter from your Slack channels. It goes through the channels looking for links, combines them into a html file, and sends it by email. It's ideal for keeping track of your finds when the historical Slack reaches its limit.

Installation & Configuration

  1. Clone the project and launch composer install inside.

  2. Generate a Token on your slack workspace

  3. In your .env.local, complete your smtp configuration, the receivers, and your Slack token like that :

  4. Choose your channels to browse and add them in config/channels.json. You can check out the config/channels.json.dist to see how add a new channels

  5. (OPTIONNAL) : Pimp your newsletter by altering parameters in config/package/parameters.yaml

  6. Configure your cron to execute command to browse, build, and send newsletter.

For example :

Build With

Thank to theirs awesome work.

Customize the newsletter

If you want to customize the newsletter, all templates are in templates folder.

Before testing rendering, you have to retrieve some messages :

The -d or --days is to specified how many days to retrieve. You can have lots of data by this way.

To test the view in web-browser, launch a web server :

and go to http://127.0.0.1:8000/test/mail

But you probably have to send emails to test compatibility with emails viewer.

You can launch theses commands to avoid archivation of messages and builded news.

Contribute

First of all, thank you for contributing ♥

If you find any typo/misconfiguration/... please send a PR or open an issue.

Also, while creating your PR, please write a description which gives the context and/or explains why you are creating it.

TODOs


All versions of slacknewsletter with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1.3
ext-iconv Version *
embed/embed Version ^3.3
frlnc/php-slack Version ^1.0
league/flysystem Version ^1.0
nesbot/carbon Version ^1.24
symfony/console Version *
symfony/flex Version ^1.0
symfony/framework-bundle Version *
symfony/swiftmailer-bundle Version ^3.2
symfony/twig-bundle Version ^4.0
symfony/dotenv Version *
symfony/yaml 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 barth/slacknewsletter contains the following files

Loading the files please wait ....