Download the PHP package medeirosdev/arquivei-nfe without Composer
On this page you can find all versions of the php package medeirosdev/arquivei-nfe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package arquivei-nfe
PHP Arquivei NFe API
This is a simple package that allows access to the Arquivei NFe API.
Information
Package create for Arquivei NFe
Documentation - https://docs.arquivei.com.br/?urls.primaryName=Arquivei%20API
Installation
Install the package using composer:
Frameworks
At the moment we only have framework compatibility for Laravel. However, we welcome PRs to add further framework specific behavior as long as it doesn't prevent the package working for others
Laravel
If you are using Laravel then you can use our service provider. If you have Laravel >5.5 then the package
will be auto discovered upon install. Else, add the following to your config/app.php
file:
Facades
If you are using Laravel >5.5 then the facade will
be automatically discovered. Else, you can add it in your config/app.php
file.
Configuration
First, make sure you have copied the configuration file:
This will make a config/arquivei.php
file, this is where your API Key / License information is fetched from.
By default we use the .env
configuration values to get your API key.
Use the App ID and App Code then you should add
the following to your .env
:
Please, make sure you don't store your keys in version control!
Usage
License / API Key
Before making requests you need to create your License object. You will need is your API key, then you can create your license as follows:
Then, you can start making your request:
Basic usage
Basic usage in Laravel
No need to enter license object
Supported Method
request
parse(int $cursor = 0)
store(XmlParser ...$listNfe)
store(XmlParser ...$listNfe)
requestAll
requestAllAndStore
All versions of arquivei-nfe with dependencies
guzzlehttp/guzzle Version ^6.3
symfony/http-foundation Version ^4.3
spatie/url Version ^1.3
ext-json Version *
ext-simplexml Version *