PHP code example of kunstmaan / voting-bundle
1. Go to this page and download the library: Download kunstmaan/voting-bundle 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/ */
kunstmaan / voting-bundle example snippets
new Kunstmaan\VotingBundle\KunstmaanVotingBundle(),
KunstmaanVotingBundle:
resource: "@KunstmaanVotingBundle/Resources/config/routing.yml"
prefix: /
kunstmaan_voting:
actions:
up_vote:
default_value: 1
down_vote:
default_value: -1
facebook_like:
default_value: 1
facebook_send:
default_value: 1
linkedin_share:
default_value: 1