Download the PHP package atanenl/twinfield without Composer

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

Twinfield Build Status

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.


Autoloading

The classes follow the PSR2 naming convention.

Usage

General Usage Information

Components will 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.

Now, to 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.

Notes

Advanced documentation coming soon. Detailing usage without the Factory class. Giving you more control with the response and data as well as more in-depth examples and usage recommendations.

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
Project :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: Pronamic/Twinfield/Project
Sales Invoices :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: Pronamic/Twinfield/Invoice
Transactions: Purchase :white_check_mark:
browse code 020
:white_check_mark: Pronamic/Twinfield/PurchaseInvoice
Transactions: 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 :white_check_mark: :white_check_mark: :white_check_mark: :white_check_mark: Pronamic/Twinfield/DimensionType
Offices :white_check_mark: Pronamic/Twinfield/Office
Vat types :white_check_mark: Pronamic/Twinfield/VatCode

Build

Links

Authors

License

Copyright 2009-2013 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 with dependencies

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

Loading the files please wait ....