PHP code example of paysera / fork-eymengunay-passbook-bundle

1. Go to this page and download the library: Download paysera/fork-eymengunay-passbook-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/ */

    

paysera / fork-eymengunay-passbook-bundle example snippets


$ php composer.phar update eo/passbook-bundle


// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Eo\PassbookBundle\EoPassbookBundle(),
    );
}

// Getting pass_factory service is straightforward:
$factory = $this->get('pass_factory');