Download the PHP package picqer/twinfield-php-client without Composer

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

Twinfield

A PHP library for Twinfield Integration. Developed by Remco Tolsma and Leon Rowland from Pronamic.

Use the Twinfield SOAP Service to have your PHP application communicate directly with your Twinfield account.

Why this fork?

This package provides a proper semver-versioned fork of the package, for safe usage with composer in your projects.


Usage

Install this package with composer:

General Usage

Components have Factories to simplify the request and send process of Twinfield. Each factory will require just the \Pronamic\Twinfield\Secure\Config() class with the filled in details.

An example of the usage of the Configuration class.

The current modules

In the following example, we will use the Customer component as showcase. Although this will be the method for all components ( including Invoice currently )

Typically it is as follows, if using the Factories

Add/Edit

Make your Customer object

Customers can have addresses associated with them

Assign that address to the customer

Now lets submit it!

Retrieve/Request

You can get all customers or get a single one currently.

At the moment, listAll will return an array of just name and short name.

The response from get() will be a \Pronamic\Twinfield\Customer\Customer object.

Contribute

You can contribute to the development of this project. Try and keep to the way of doing things as the other 2 components have implemented.

A large requirement is to maintain backwards compatibility so if you have any plans for large restructure or alteration please bring up in an issue first.

Component get() listAll() send() Mapper Namespace
Customer :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: Pronamic/Twinfield/Customer
Sales Invoices :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: Pronamic/Twinfield/Invoice
Transactions: Purchase Sale :white_check_mark: Pronamic/Twinfield/Transaction
Articles Pronamic/Twinfield/Article
Balance Sheets Pronamic/Twinfield/BalanceSheet
Suppliers Pronamic/Twinfield/Supplier
Dimension Groups Pronamic/Twinfield/Dimension/Group
Dimension Types Pronamic/Twinfield/Dimension/Type
Offices :white_check_mark: Pronamic/Twinfield/Office
Vat types :white_check_mark: Pronamic/Twinfield/VatCode

Links

Authors

License

Copyright 2009-2017 Pronamic.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


All versions of twinfield-php-client with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
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 picqer/twinfield-php-client contains the following files

Loading the files please wait ....