Download the PHP package i3or1s/efakture without Composer

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

Library for "Sistem elektronskih faktura"

List of services that make use of SEF API to send invoices.

Installation

Contributing

EFakture is an Open Source library that will remain free. You are most welcomed to create issues and pull requests on github.

Licence

At this moment there is no special licence attached to this product. This will be addressed in the future. There is no intention to limit or in any way disrupt the usage of the library.

Code organization

System depends on the UBL standard to create the objects that are to be sent to SEF.
UBL implementation that library depends on.
All responses from the SEF are built as objects in the Model directory. Storing response results from the SEF is currently done in file system. Support for other types of storage is covered through the use of StorageInterface
Cache folder is by default in location /tmp/sefStorage.
Some of SEF responses are large so API can take some time to cache.

UBL directory contains adapters over standard UBL formats for the purpose of constructing the UBL for SEF and removing the complexity of class instantiation.

Example usage

Initial setup before every API call

Retrieve available units

Retrieve available companies

Find company

For this call to work you should have generated list of companies in the cache.

Retrieve TAX exemption reasons

For this call to work you should have generated list of companies in the cache.

Create and send invoice

Note: Company data should be valid in SEF in order for this to work


All versions of efakture with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
i3or1s/ubl Version 0.0.3
react/http Version ^1.8
react/async Version ^4
react/promise-timer Version ^1.9
ramsey/uuid Version 4.x-dev
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 i3or1s/efakture contains the following files

Loading the files please wait ...