With this library you can call theAfiEsca SOAP methods in a object oriented way.
You can install the package via composer:
composer require filippo-toso/afiesca
This library supports all the requests and responses available. They can be executed in the same way:
- Create the response object
- Execute the request
- Use the methods in the answer to get the information you need
You can browser the library source code to understand which methods are available. Usually the request object has the same name as the method called and response object names end with "Response" (ie. Simulate and SimulateResponse).
You can also use this library in your Laravel applications.
The first step whould be to publish the configuration file:
php artisan vendor:publish --tag=config --provider="FilippoToso\AfiEsca\ServiceProvider"
Then insert your credentials in the config\afiesca.php file.
The current version of this library supports the 1.1 schema version.
If you discover any security related issues, please email filippo@toso.dev instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.