Download the PHP package rebasesoftware/edm-efatura without Composer

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

EDM E-Fatura Library

A modern PHP library for Turkish E-Invoice (E-Fatura) integration provided by EDM, providing a clean and type-safe interface for SOAP-based e-invoice operations.

Features

Requirements

Installation

Quick Start

API Reference

Client Constructor

__construct(string $url, string $username, string $password, string $hostname, string $reason, string $channel, string $application)

Creates a new EDM E-Fatura client instance.

Parameters:

Authentication

login(): bool

Authenticates with the E-Fatura service and establishes a session using the credentials provided in the constructor.

logout(): bool

Terminates the current session.

getSessionId(): ?string

Retrieves the current session ID.

Invoice Management

sendInvoice(Invoice $invoice): array

Sends an e-invoice to the service.

getInvoice(?string $invoiceNumber = null, ?string $invoiceUUID = null, bool $incoming = false, string $contentType = 'XML'): ?array

Retrieves a single invoice by number or UUID.

Returns an array with invoice details:

getInvoiceStatus(string $invoiceNumber = '', ?string $invoiceUUID = null): array

Retrieves the current status of an invoice.

Error Handling

The library uses exceptions for error handling. All SOAP operations can throw EDMSoapException when communication fails.

Invoice Structure

Creating an Invoice

Code Quality

The library includes comprehensive code quality tools with modern PHP 8.3+ standards:

Code Formatting

Static Analysis

Code Quality Features

Demo

Check out the demo application in doc/demo/index.php for practical examples of all library features.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes following the established patterns:
    • Use proper PHP 8.3+ type hints and return types
    • Follow PSR-12 coding standards
    • Use clean XML generation with heredoc syntax
    • Remove unnecessary variable assignments
  4. Run code quality tools: composer cs:fix && composer stan
  5. Ensure all tests pass
  6. Submit a pull request

Development Guidelines

License

This library is licensed under the MIT License.

Support

For support and questions, please open an issue on GitHub or contact the development team.


All versions of edm-efatura with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-soap Version *
ext-dom 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 rebasesoftware/edm-efatura contains the following files

Loading the files please wait ...