This project shows a practical example code, on how to interact with Fakturirane.bg SOAP Api
Before running the project, ensure you have the following installed:
- PHP 7.2.5 or higher
- Composer (Dependency Manager for PHP)
-
Clone the repository:
git clone https://github.com/your-repo/soap-api-example.git cd soap-api-example -
Install dependencies using Composer:
composer install
-
Copy the
.env.examplefile to.env: -
Update the
.envfile with your API credentials and configuration:
FAKTURIRANE_API_USERNAME=your_username
FAKTURIRANE_API_PASSWORD=your_password
FAKTURIRANE_API_URL=https://fakturirane.bg/api/
FAKTURIRANE_API_EIK=your_eik
php src/index.php