We are very pleased to announce a new product (and new product category) to our line-up.
We are today announcing a complete Kashflow API class for PHP5. We love Kashflow so much we’ve connected our internal admin systems to it. When we did that we wrote a class that acts as a middle man between our back end systems and KF.
We thought we were on to a winner, so have decided to finish it up all nice with some PHPDoc, some further documentation with examples, plus a support commitment, and let others use it too.
We have two versions. The first is a free “lite” version which just allows InsertCustomer and InsertInvoice, and a complete version which contains all the methods currently available in the API.
It has a number of benefits over using a generic SOAP library such as NuSoap:
- It is one single file with no library dependencies such as NuSoap or PEAR etc, all you need is PHP5, SimpleXML and cURL which covers most hosting environments, one include and you are away.
- If you have a PHPDoc aware development environment (such as the outstandingly awesome Komodo Edit) it will pick up the tags and display code hints for the Kashflow Methods.
- Likewise for arguments and field names.
- We are just an email away if you have problems (full paid version only) or feedback you want to give us.
I’m sure you’re thinking “oh thats all well and good, but how easy is it to use?”, well we reckon pretty easy!
So enough talking, lets see some code!
This quick example will get a Customer by their ID and return their Telephone number:
<?php
$kf=new KashFlow("myusername","mypassword");
$phonenumber=$kf->GetCustomerById(12345678)->Telephone;
?>
One line and pretty easy eh? Obviously you don’t have to get just one field at a time (although the chaining is nice), you can do the following:
<?php $customer=$kf->GetCustomerById(12345678); $name=$customer->Name; $address1=$customer->Address1; ?>
GetCustomer is only available in the full version, but the lite version is straight forward for the methods (InsertCustomer and InsertInvoice) it implements.
The full version will set you back £50 for your whole application (contact us if you require different licensing terms).
Please see here for further details.








Looking for a web design company that is going to help you with either rebuilding an old site or building a new website can be quite a daunting task, not only because there are so many companies out there but you also need to know how to find a professional web design company that can style your site to your requirements but also tell you where you might be going wrong.
It’s been the butt of comedians’ jokes for many a year – but now the rural county of Norfolk is fighting back with a bold campaign to champion itself as a world class business destination – with particular focus on the creative industries.
We’re really interested in hearing from anyone in Norfolk or East Anglia who is actively using twitter to engage with the business community either locally, nationally or indeed internationally.