Download the PHP package pauloak/nfse-lajeado without Composer

On this page you can find all versions of the php package pauloak/nfse-lajeado. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package nfse-lajeado

Brief

This package currently supports creating, retrieving and canceling NFS-e (RPS) in the WebService of the city of Lajeado/RS - Brazil.

Package

You can install it through composer

Observation

To be able to use the package, you'll need to have a valid .pfx certificate and the password to access it, it's used to sign the XML before sending it to the city WebService.

Usage

You can check some usage examples in the examples folder, but here's a quick overview.

Create NFS-e

Needs a .pfx certificate

Retrieve NFS-e

Does NOT need a .pfx certificate

After you create an NFS-e, you'll receive a protocol number which you can use to retrieve the NFS-e. Currently, this package only returns the NFS-e number and the verification code.

Cancel NFS-e

Needs a .pfx certificate

To cancel an NFS-e, you'll need the NFS-e number and the certificate.

Responses

All the above requests return a PauloAK\NfseLajeado\Helpers\Response::class instance, the object looks like this:

Create Response

In case of success, the data variable in the response object should look like this:

Retrieve Response

In case of success, the data variable in the response object should look like this:

You can see all the other info from the NFS-e XML in $response->responseXml;

Cancel Response

The cancel request doesn't return data info in the response, use the $response->success variable to check if it was successfully canceled or not.


All versions of nfse-lajeado with dependencies

PHP Build Version
Package Version
Requires php Version >=7
guzzlehttp/guzzle Version ^7.5
spatie/array-to-xml Version ^3.1
nfephp-org/sped-common Version ^5.1
ext-dom Version *
ext-soap Version *
ext-openssl Version *
ext-mbstring Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pauloak/nfse-lajeado contains the following files

Loading the files please wait ....