NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2278 most downloaded on Packagist
A client implementation of the Xero API, with a cleaner OAuth interface and ORM-like abstraction.
Latest stable
v2.8.0
Last release 10 months ago
05 Jan 2026
Release timing varies
gaps range from 3 weeks to 1.5 years
Most releases are documented
notes for 42 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
73 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
FIX: PHP 8.4 implicitly nullable parameter declarations deprecation by @dtokos in https://github.com/calcinai/xero-php/pull/939
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.7.0...v2.8.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Update Response.php by @gurubobnz in https://github.com/calcinai/xero-php/pull/924
Xero have made a meal of their API releases over the past few weeks. This update makes xero-php compatible with the current response format. Who knows if that'll still be the case tomorrow 🤷🏻♂️
Xero have made a meal of their API releases over the past few weeks. This update makes xero-php compatible with the current response format. Who knows if that'll still be the case tomorrow 🤷🏻♂️
Removing PHP 7.4 syntax. by @lewiswilbynm in https://github.com/calcinai/xero-php/pull/919
Turns out Xero aren't the only ones who released backward-incompatible changes 😬
Add AccountId field to Invoice Line Items by @oatmael in https://github.com/calcinai/xero-php/pull/906
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.6.0...v2.6.1
feat: support create and update for repeating invoice by @kthiha-dev in https://github.com/calcinai/xero-php/pull/894
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.5.5...v2.6.0
Add in the PUT type to create new TaxRates by @mogilvie in https://github.com/calcinai/xero-php/pull/872
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.5.4...v2.5.5
Update EarningsRate.php by @Healyhatman in https://github.com/calcinai/xero-php/pull/869
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.5.3...v2.5.4
Add getClass and setClass methods to Organisation by @OJMichael in https://github.com/calcinai/xero-php/pull/864
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.5.2...v2.5.3
Update guzzle/psr-7 for Improper Input Validation by @calcinai in https://github.com/calcinai/xero-php/pull/855
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.5.1...v2.5.2
feat: Support subscriptions by @ebebbington in https://github.com/calcinai/xero-php/pull/844
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.5.0...v2.5.1
Practice manager - https://github.com/calcinai/xero-php/pull/760
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.4.1...v2.5.0
Update Readme with extra scope information by @Good4zb in https://github.com/calcinai/xero-php/pull/831
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.4.0...v2.4.1
Fix reference in deprecation tag for LineItem tax types by @NickMolloy in https://github.com/calcinai/xero-php/pull/819
Full Changelog: https://github.com/calcinai/xero-php/compare/v2.3.0...v2.4.0
Also includes misc big fixes and model updates
Also includes misc big fixes and model updates
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Create common LineItem class and deprecate child instance.
Now throws exceptions on all non-200 codes
Thanks to all the contributors of this release
Nothing published for this version
Nothing published for this version
Addresses some exception bubbling, payslip & earnings rate models and more!
Addresses some exception bubbling, payslip & earnings rate models and more!
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release contains all of the code style updates, but also adds various missing getters and minor bug fixes.
This release contains all of the code style updates, but also adds various missing getters and minor bug fixes.
Nothing published for this version
This release contains #458, which removes the ability to perform timing attacks in the webhook signature validation.
This release contains #458, which removes the ability to perform timing attacks in the webhook signature validation.
* Exposes rate limit reason * Updates tests
This release introduces support for emailing invoices and has fixes for tracking category behaviour.
This release introduces support for emailing invoices and has fixes for tracking category behaviour.
Nothing published for this version
Nothing published for this version
There is a slight API change that shouldn't affect any users, but bumping the minor just in case.
There is a slight API change that shouldn't affect any users, but bumping the minor just in case.
This release contains several small bug fixes and updates to Payroll models.
This release contains several small bug fixes and updates to Payroll models.
This release renames the Object class to Model, but should maintain backward compatibility.
This release renames the Object class to Model, but should maintain backward compatibility.
Nothing published for this version
Nothing published for this version
This release contains a lot of updates, some not completely BC, although in the minor cases where it isn't, it is fixing otherwise broken code.
This release contains a lot of updates, some not completely BC, although in the minor cases where it isn't, it is fixing otherwise broken code.
->saveAll() now gets the API stem for the resource being savedReturn Response object from save and delete shorthand methods
v1.4.0 introduced a breaking change with models not including setters for read-only properties. This will gracefully deprecate them.
v1.4.0 introduced a breaking change with models not including setters for read-only properties. This will gracefully deprecate them.
Dirty hack to make 1.x work with Tracking Categories
This release includes several minor fixes, some issues what would have been evident in development and updated models.
This release includes several minor fixes, some issues what would have been evident in development and updated models.
Several minor fixes and a bump to PHP >= 5.5 due to ::class usage.
Several minor fixes and a bump to PHP >= 5.5 due to ::class usage.
Models as at 28/6/16
Fixes some errors and includes updated models
Fixes some errors and includes updated models
DateTime hinting now all DateTimeInterface
Major Changes:
Minor Changes:
Updated generator to scrape PurchaseOrders
A few thing have been added and removed for the Xero API lately, this update reflects this.
A few thing have been added and removed for the Xero API lately, this update reflects this.
Also includes PurchaseOrders
This release includes miscellaneous fixes and updates.
This release includes miscellaneous fixes and updates.
An issue was introduced in the last release, where if unknown properties came from the Xero API, they were then incorrectly serialised when trying to
An issue was introduced in the last release, where if unknown properties came from the Xero API, they were then incorrectly serialised when trying to save them.
This skips any undocumented properties on save
Nothing published for this version
This release contains many little fixes.
This release contains many little fixes.
Added support for Attachment::createFromBinary() as in #100
Added support for Attachment::createFromBinary() as in #100
Nothing published for this version
Nothing published for this version
The major update in this release is the introduction of collections.
The major update in this release is the introduction of collections.
A raft of minor changes including
There are a few other minor bits ant pieces like doc updated in there too. (Closes #73 )
Minor updates to models, docs and exception wording.
Minor updates to models, docs and exception wording.
Nothing published for this version
This release drops support for PHP 5.3, as it uses traits for some conditionally shared functionality of models.
This release drops support for PHP 5.3, as it uses traits for some conditionally shared functionality of models.
It addresses the lack of attention to file related actions, as noted in #32 and #33.
This also paves the way fror finally implementing #4. Finally.
Updated model parsing several minor fixes
Updated model parsing several minor fixes
One column per quarter.