Download the PHP package hazzo/laravel-afip-wrapper without Composer
On this page you can find all versions of the php package hazzo/laravel-afip-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-afip-wrapper
Laravel AFIP Web Service Wrapper
AFIP technical documentation for their Web Service AFIP Web Service
Installation
Type in your terminal:
Register AfipWrapper by adding it to the service providers on the app.php
.
Let's add the facade in the bottom of the same file in aliases.
Publish the package configuration file.
Configuration
Config file options:
Option | Default | Values |
---|---|---|
afipTempFolder |
'' (Automatically the package will choose /temp as folder in root directory) | Any string. Ex.: storage_path('app/afip') |
afipEnvironment |
'' (Automatically the package will choose DEV environment) | Two options DEV or PROD , for homologation and production endpoints for AFIP Web Service. |
Usage samples
Generate token and sign to get auth data and perform later actions.
Options array
for method generateLTR
(LoginTicketRequest):
cuit
: Cuit of user that is going to use the web servicecn
: commonName field of user that is going to use the web serviceid
: 32 bit digit that together withgenTime
will be used by the web service to identify the requestprivateKey
: Path where the private key generated by the AFIP site is storedpemCert
: Path where the CSR Certificate used to generate the private key is storedgenTime
: Generation time of the authentication. Must be ISO8601 formatted. If not given the pacakge will set it to todayexpTime
: Expiration time of the authentication. Must be ISO8601 formatted. If not given the pacakge will set it to today + 24hs. The max tolerance for expiration is 24hs from the generation time.
All versions of laravel-afip-wrapper with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
^5.1
The package hazzo/laravel-afip-wrapper contains the following files
Loading the files please wait ....