2017 © Pedro Peláez
 

library sharethisbundle

Share This Symfony Bundle

image

stiti/sharethisbundle

Share This Symfony Bundle

  • Tuesday, October 18, 2016
  • by stitisami
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Using sharethisBundle

Welcome to sharethisBundle - a Symfony bundle to make share This buttons, (*1)

share this, (*2)

Installation

Step 1: Download the Bundle ~~~~~~~~~~~~~~~~~~~~~~~~~~~, (*3)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*4)

$ composer require stiti/sharethisbundle 1.0.x-dev

Step 2: Enable the Bundle ~~~~~~~~~~~~~~~~~~~~~~~~~, (*5)

Then, enable the bundle by adding the following line in the app/AppKernel.php file of your project:, (*6)

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...

            new SharethisBundle\SharethisBundle(),
        );

        // ...
    }

    // ...
}

Step 3: Configure the bundle, (*7)

_sharethis-api: http://tools.sharethis.com/get-sharing-tools/#, (*8)



# app/config/config.yml sharethis: publisher : #Your api key

Usage, (*9)

In your template twig insert this code, (*10)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, (*11)

{{ render(controller('SharethisBundle:Share:share')) }}

The Versions

18/10 2016

dev-master

9999999-dev https://github.com/stitisami/sharethisbundle

Share This Symfony Bundle

  Sources   Download

MIT

The Requires

 

social symfony sharethis