-
-
Notifications
You must be signed in to change notification settings - Fork 32
Installation
It is highly recommended to use Composer as it manages everything for you.
Just add:
{
"require": {
"abcaeffchen/sephpa": "^2.0"
}
}
to your composer.json and include the Composer autoloader to your script.
You can download Sephpa from this GitHub page. Make sure you also download SepaUtilities:
You should store the files in a structure that looks like this:
your project root
├── your_code
│ └── ...
└── vendor
├── Sephpa (the Sephpa project go here)
├── SepaUtilities (the SepaUtilities files go here)
└── ...
In your code you can include the Sephpa autoloader by including the file:
vendor/Sephpa/src/autoloader.php
You also need to include the SepaUtilities file which should be:
vendor/SepaUtilities/src/SepaUtilities.php
In total your code should look something like this:
require PROJECT_ROOT . '/vendor/Sephpa/src/autoloader.php';
require PROJECT_ROOT . '/vendor/abcaeffchen/sepa-utilities/src/SepaUtilities.php';
You need to define PROJECT_ROOT
by yourself.
Sephpa uses SepaDocumentor to create File Routing Slips and Control Lists:
If you are interested in these files, you need to add the code below to your composer file or download it from the website and make it available to Sephpa.
{
"require": {
"abcaeffchen/sepa-documentor": "~1.0.0"
}
}