spoort / symfony2-economic-bundle
Integration between Symfony2 and e-conomic.dk
Installs: 306
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=7.0.0
- ext-soap: *
- symfony/symfony: 2.8.*
This package is not auto-updated.
Last update: 2025-01-18 20:52:10 UTC
README
Step 1: Download the Symfony2EconomicBundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require symfony2-economic
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new Spoort\Bundle\Symfony2EconomicBundle\Symfony2EconomicBundle(), ); // ... } // ... }
Step 3: Set configuration
In config.yml add following:
symfony2_economic:
wsdl_url: <economic-wsdl-url>
# If you like to connect with username/password then set agreement_numbe, username and password
agreement_number: <economic-agreement-number>
username: <economic-username>
password: <economic-password>
# or
# If you would like to connect via token then set token and app_token
token: <economic-token>
app_token: <economic-app-token>