Download the PHP package joaomfrebelo/saft-pt_4_php without Composer

On this page you can find all versions of the php package joaomfrebelo/saft-pt_4_php. 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 saft-pt_4_php

Rebelo SAFT-PT


Rebelo SAFT-PT is a PHP library/framework to lead with the Portuguese tax audit file. The community edition lets to generate, parse, import and validate programmatically or CLI the Portuguese Tax Audit file SAFT-PT. This library also create the digital signature that is impose by law to all invoice, transport documents and working documents issued im Portugal. The enterprise edition also submit the SAFT-PT file to the Portuguese Tax Authority e-fatura web site.

Install

Examples

https://github.com/joaomfrebelo/Saft-PT_4_PHP/tree/master/examples

Legal documentation, portuguse tax law

https://github.com/joaomfrebelo/Saft-PT_4_PHP/tree/master/legal_documentation

Parse and validate a SAFT-PT file:

Create the signature hash

Validate the hash signature

Create a SAFT-PT file

CLI file validation

To more options like delta, help

Using as stand alone SAFT-PT validator

First clone or download the project

In the project root (php >= 7.4 installed)

Some type of validations

API documentation

https://joaomfrebelo.github.io/Saft-PT_4_PHP/

Professional support:

https://www.pchouse.pt

[email protected]

Features CE EE
Generate SAFT yes yes
Parse SAFT yes yes
Create hash signature yes yes
Validate file programmatically yes yes
Validate file CLI yes yes
Validate hash signature yes yes
Submit file to e-fatura no yes
Create XML file in memory yes yes
Create XML file with StreamWriter to save memory no yes
Integration with DataSource no yes
Easy to integrate with Unit test yes yes
Integration with other languages (With midleware) yes

License

MIT License


All versions of saft-pt_4_php with dependencies

PHP Build Version
Package Version
Requires php Version 8.0.* || 8.1.* || 8.2.*
joaomfrebelo/log4php Version 3.0.0-BETA2 || ^3.0.0
joaomfrebelo/date Version ^2.2
joaomfrebelo/decimal Version ^4.0.0
joaomfrebelo/enum Version ^3.0.0
symfony/console Version ^5.1
spatie/async Version ^1.5
symfony/process Version ^5.1
joaomfrebelo/composer-revision-plugin Version ^2.0.1
ext-simplexml Version *
ext-dom Version *
ext-libxml Version *
ext-openssl 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 joaomfrebelo/saft-pt_4_php contains the following files

Loading the files please wait ....