2017 © Pedro Peláez
 

library ynab-bunq-connector-bundle

A Symfony 3.4 LTS compatible Bundle for uploading payments from the bunq Bundle to YNAB

image

jorijn/ynab-bunq-connector-bundle

A Symfony 3.4 LTS compatible Bundle for uploading payments from the bunq Bundle to YNAB

  • Sunday, June 10, 2018
  • by jorijn
  • Repository
  • 1 Watchers
  • 2 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 5 % Grown

The README.md

YNAB bunq Connector Bundle

A Symfony 3.4 LTS compatible Bundle for uploading payments from the bunq Bundle to YNAB, (*1)

Realtime connection between bunq and YNAB

Uses symfony-bunq-bundle to subscribe to bank account mutation events and creates transactions in YNAB., (*2)

More documentation coming soon, work in progress, (*3)

Instructions

Environment

I used to make this instructions an ubuntu machine from Amazon EC2., (*4)

Maybe you you need to change something to get it working., (*5)

Make sure you have SSH access to the machine you are trying to access. It will need a HTTPS web server with PHP installed (PHP-cli also). And you will need a DNS to allow Bunq to send you the notifications., (*6)

Steps

  1. Install apache + php;, (*7)

    You can follow the instructions from: https://www.vultr.com/docs/how-to-install-apache-mysql-and-php-on-ubuntu-16-04, (*8)

  2. Enable HTTPS support:, (*9)

    Create a new certificate and follow the instructions from: https://www.sslforfree.com/, (*10)

  3. Create the symfony project that will hold the bundle:, (*11)

    $ composer create-project symfony/framework-standard-edition bunq-ynab
    
  4. Require the bundle:, (*12)

    $composer require jorijn/ynab-bunq-connector-bundle
    

    Maybe you will need to use --ignore-platform-reqs, (*13)

  5. Configure the symfony installation, (*14)

    Take care, maybe you will need to override some configuration and choose the best place to put it. Below the list of files that need to be updated and the key=>values., (*15)

    1. /app/config/services.yml, (*16)

      parameters:
        router.request_context.host: 'www.your-url-here.com'
        router.request_context.scheme: 'https'
      
    2. /app/config/routing.yml, (*17)

      symfony_bunq.callback_url:
        path:     /bunq/callback
        defaults: { _controller: JorijnSymfonyBunqBundle:Bunq:callback }
      
    3. /app/config/config.yml, (*18)

      jorijn_ynab_bunq_connector:
        connections:
        -
            bunq_account_id:      **change_me**
            ynab_budget_id:       **change_me**
            ynab_account_id:      **change_me**
        api_key: **change_me**
      
  6. Enable the symfony bundles:, (*19)

    /app/AppKernel.php :, (*20)

    <?php
    //Inside the method registerBundles() of the class AppKernel:
       $bundles[] = new \Jorijn\SymfonyBunqBundle\JorijnSymfonyBunqBundle;
       $bundles[] = new \Jorijn\YNAB\BunqConnectorBundle\JorijnYNABBunqConnectorBundle;
    
  7. Run the bin/console commands to configure the bunq connector:, (*21)

    This first command you will have to inform the API key (get it into the Bunq app);, (*22)

    <project>$ php bin/console bunq:initialize
    

    Set the callback url for bunq, (*23)

    <project>$ php bin/console bunq:callback-url
    

    You can see other availables commands by running:, (*24)

    <project>$ php bin/console list
    
  8. Done!, (*25)

The Versions

10/06 2018

dev-master

9999999-dev

A Symfony 3.4 LTS compatible Bundle for uploading payments from the bunq Bundle to YNAB

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jorijn Schrijvershof

10/06 2018

v1.0.0

1.0.0.0

A Symfony 3.4 LTS compatible Bundle for uploading payments from the bunq Bundle to YNAB

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jorijn Schrijvershof

17/04 2018

v0.1.1

0.1.1.0

A Symfony 3.4 LTS compatible Bundle for uploading payments from the bunq Bundle to YNAB

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jorijn Schrijvershof

17/04 2018

v0.1.0

0.1.0.0

A Symfony 3.4 LTS compatible Bundle for uploading payments from the bunq Bundle to YNAB

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jorijn Schrijvershof