jongotlin/deadmanssnitch-bundle

1.0.1 2017-07-30 19:38 UTC

This package is auto-updated.

Last update: 2024-12-20 20:39:33 UTC


README

This bundle is an extension to dizda/CloudBackupBundle and lets you ping deadmanssnitch.com when a successful backup is completed.

Installation (>=Symfony 2.1)

Composer

Download DeadmanssnitchBundle and its dependencies to the vendor directory. You can use Composer for the automated process:

$ php composer.phar require jongotlin/deadmanssnitch-bundle

Composer will install the bundle to jongotlin/deadmanssnitch-bundle directory.

Adding bundle to your application kernel

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new JGI\DeadmanssnitchBundle\JGIDeadmanssnitchBundle(),
        // ...
    );
}

Configuration

Here is the default configuration for the bundle:

# app/config/config.yml
jgi_deadmanssnitch:
    url: %deadmanssnitch_url%
# app/config/parameters.yml
deadmanssnitch_url: https://nosnch.in/xxxxxxxx