PackageTrack
Sign in Get early access

easypost/easypost-php

EasyPost Shipping API Client Library for PHP

8.8.2 3.5M downloads/mo #2296 most downloaded on Packagist EasyPost/easypost-php

What this package is like to depend on

Last release 12 days ago

11 Aug 2026

Release timing varies

gaps range from 2 weeks to 9 months

Nearly every release is documented

notes for 76 of 78 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

79 releases · first in 2013

8 releases in the last 12 months

see the full history below

Release timeline

79 releases · Nov 2013 to Aug 2026
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 60 of 79
  1. 8.8.2 11 Aug 2026
    Release notes
    • Empty arrays and objects are no longer stripped when passed as params in the request
    Open source →
    Release notes
    • Empty arrays and objects are no longer stripped when passed as params in the request
    Open source →
  2. 8.8.1 02 Jul 2026
    Release notes
    • Uppercases all HTTP methods to correct a new Guzzle deprecation
    • Removed dead code in __set and __unset of an EasyPostObject
    Open source →
    Release notes
    • Uppercases all HTTP methods to correct a new Guzzle deprecation
    • Removed dead code in __set and __unset of an EasyPostObject
    Open source →
  3. 8.8.0 25 Jun 2026
    Release notes
    • Adds params to requestPin ensuring users can pass easypost_details to the call.
    Open source →
    Release notes
    • Adds params to requestPin ensuring users can pass easypost_details to the call.
    Open source →
  4. 8.7.0 25 Feb 2026
    Release notes
    • Adds generic makeApiCall function
    Open source →
    Release notes
    • Adds generic makeApiCall function
    Open source →
  5. 8.6.0 20 Feb 2026
    Release notes
    • Adds the following functions:
      • fedexRegistration.registerAddress
      • fedexRegistration.requestPin
      • fedexRegistration.validatePin
      • fedexRegistration.submitInvoice
    Open source →
    Release notes
    • Adds the following functions:
      • fedexRegistration.registerAddress
      • fedexRegistration.requestPin
      • fedexRegistration.validatePin
      • fedexRegistration.submitInvoice
    Open source →
  6. 8.5.0 03 Feb 2026
    Release notes
    • Adds the following functions usable by child and referral customer users (closes #375):
      • apiKey.create
      • apiKey.delete
      • apiKey.enable
      • apiKey.disable
    • Adds tracker.delete function
    Open source →
    Release notes
    • Adds the following functions usable by child and referral customer users (closes #375):
      • apiKey.create
      • apiKey.delete
      • apiKey.enable
      • apiKey.disable
    • Adds tracker.delete function
    Open source →
  7. 8.4.0 24 Nov 2025
    Release notes
    • Adds the following functions:
      • embeddable.createSession
      • customerPortal.createAccountLink
    Open source →
    Release notes
    • Adds the following functions:
      • embeddable.createSession
      • customerPortal.createAccountLink
    Open source →
  8. 8.3.0 07 Nov 2025
    Release notes
    • Adds support for UspsShipAccount
    • Adds tracker.retrieveBatch function
    • Adds verify_carrier address param
    Open source →
    Release notes
    • Adds support for UspsShipAccount
    • Adds tracker.retrieveBatch function
    • Adds verify_carrier address param
    Open source →
  9. 8.2.0 18 Jun 2025
    Release notes
    • Adds the following functions
      • shipment.createAndBuyLuma
      • shipment.buyLuma
      • luma.getPromise
    Open source →
    Release notes
    • Adds the following functions
      • shipment.createAndBuyLuma
      • shipment.buyLuma
      • luma.getPromise
    Open source →
  10. 8.1.0 29 May 2025
    Release notes
    • Adds reference to claims
    Open source →
    Release notes
    • Adds reference to claims
    Open source →
  11. 8.0.1 27 May 2025
    Release notes
    • Corrects the endpoint used for creating/updating UPS accounts
    Open source →
  12. 8.0.0 30 Apr 2025
    Release notes

    See our Upgrade Guide for more details.

    • Drops support for PHP 8.0
    • Adds custom_headers property to webhook model
    • Adds the following functions to assist ReferralCustomers add credit cards and bank accounts:
      • betaReferralCustomer.createCreditCardClientSecret
      • betaReferralCustomer.createBankAccountClientSecret
      • referralCustomer.addCreditCardFromStripe
      • referralCustomer.addBankAccountFromStripe
    • Adds missing properties to Tracker and TrackingDetail models
    • Routes AmazonShippingAccount to the correct endpoint
    • Corrects wrapping payload for update webhook endpoint
    • Corrects various type hints throughout project
    • Fixes error handling
      • Corrects the type of errors property on an ApiException to allow for the alternative format
      • Fixes a bug where you could not prettyPrint an error if it used the alternative format
      • Corrects the param references to property references on all error models
      • Adds new AddressVerificationFieldError for the errors property on a Verification model
      • Adds missing suggestion property to FieldError
    • Removes deprecated tracker.createList endpoint function as it is no longer available via API
    • Removes deprecated user.allApiKeys and user.apiKeys, use apiKey.all and apiKey.retrieveApiKeysForUser respectively
    • Bump deps
    Open source →
  13. 7.4.2 16 Aug 2024
    Release notes
    • Fixes an issue with how query params were sent when using the addCreditCard function
    Open source →
  14. 7.4.1 09 Aug 2024
    Release notes
    • Fix parameters for retrieving next page of child users
    Open source →
  15. 7.4.0 24 Jul 2024
    Release notes
    • Adds new Claim service for filing claims on EasyPost shipments and insurances
    Open source →
  16. 7.3.0 12 Jul 2024
    Release notes
    • Adds new shipment.recommendShipDate, smartrate.recommendShipDate, and smartrate.estimateDeliveryDate functions
    • Routes UpsAccount, UpsMailInnovationsAccount, and UpsSurepostAccount create/update requests to the new /ups_oauth_registrations endpoint
      • Starting 2024-08-05, UPS accounts will require a new payload to register or update. See UPS OAuth 2.0 Update for more details
    Open source →
  17. 7.2.0 10 Apr 2024
    Release notes
    • Fix payment method funding and deletion failures due to undetermined payment method type
    • Adds refund function in Insurance service for requesting a refund for a standalone insurance
    Open source →
  18. 7.1.0 08 Jan 2024
    Release notes
    • Add allChildren and getNextPageOfChildren methods to user service
    Open source →
  19. 7.0.0 01 Dec 2023
    Release notes

    See our Upgrade Guide for more details.

    • Drops support for PHP 7.4
    • Adds support for PHP 8.3
    • Persists the HTTP client inside of the EasyPostClient via the httpClient property to reduce memory consumption on consecutive requests
    • Adds type declarations for parameters and return values throughout the library, corrects docstrings to match
    • Removed withCarbonOffset parameter from create, buy, and regenerateRates functions of the Shipment service as EasyPost now offers Carbon Neutral shipments by default for free
    • Fixes a bug where the original filtering criteria of all calls wasn't passed along to getNextPage calls. Now, these are persisted via a _params key on response objects locally
    • Removes the undocumented createAndBuy function from the Batch service. The proper usage is to create a batch first and buy it separately
    • Renames primaryOrSecondary to priority to match the API name for the parameter
    • Corrects the order of the userId and email parameters in the updateEmail function of the ReferralCustomer service to match the rest of the library where IDs are always the first parameter
    • Fix various bugs throughout the library
    Open source →
  20. 6.9.1 20 Nov 2023
    Release notes
    • Fixes a bug that globally reset the timezone to UTC instead of setting the timezone per-request (closes #310)
    Open source →
  21. 6.9.0 11 Oct 2023
    Release notes
    • Deprecates API key-related functions in the user service and introduces the replacement functions in the api_keys service
    • Fixes a bug that changed the timezone to UTC on each request without resetting it to the original timezone in use (closes #310)
    • Fixes documentation generation command invocation
    Open source →
  22. 6.8.1 05 Sep 2023
    Release notes
    • Fix endpoint for creating a FedEx Smartpost carrier account
    Open source →
  23. 6.8.0 28 Jul 2023
    Release notes
    • Adds new RequestHook and ResponseHook events. (un)subscribe to them with the new subscribeToRequestHook, subscribeToResponseHook, unsubscribeFromRequestHook, or unsubscribeFromResponseHook methods of an EasyPostClient
    • Maps 400 status codes to new BadRequestException class
    Open source →
  24. 6.7.0 06 Jun 2023
    Release notes
    • Migrates carrier metadata to GA (now available via client.carrierMetadata.retrieve)
    Open source →
  25. 6.6.0 01 May 2023
    Release notes
    • Adds retrieveEstimatedDeliveryDate function to the Shipment class
    Open source →
  26. 6.5.0 18 Apr 2023
    Release notes
    • Adds beta retrieveCarrierMetadata function
    • Improves Error Deserialization to dynamically handle edge cases that have a bad format
    Open source →
  27. 6.4.0 04 Apr 2023
    Release notes
    • Add getNextPage function that retrieves the next page of results for a paginated collection
    Open source →
  28. 6.3.1 22 Mar 2023
    Release notes
    • Adds missing status_detail property to Tracker
    • Fixes spelling of weight property on Parcel
    Open source →
  29. 6.3.0 21 Feb 2023
    Release notes
    • Adds beta retrieveStatelessRates function
    • Adds getLowestStatelessRate utility
    • Correct HTTP 403 status responses to throw ForbiddenException
    • Various other small corrections and improvements
    Open source →
  30. 6.2.0 18 Jan 2023
    Release notes
    • Added function to retrieve all pickups via $client->pickup->all()
    • Added payload functions retrievePayload and retrieveAllPayloads methods, accessible via $client->event service.
    Open source →
  31. 6.1.0 11 Jan 2023
    Release notes
    • Adds new beta billing functionality for referral customer users, accessible via the $client->betaReferralCustomer service
      • addPaymentMethod to add an existing Stripe bank account or credit card to your EasyPost account
      • refundByAmount refunds you wallet balance by a specified amount
      • refundByPaymentLog refunds you wallet balance by a specified payment log
    Open source →
  32. 6.0.0 05 Jan 2023
    Release notes

    See our Upgrade Guide for more details.

    • Release final version of v6 that contains all the changes in the v6.0.0-rc1 below
    Open source →
  33. 6.0.0-rc1 15 Dec 2022 pre-release
    Release notes
    • PHP 7.3 is no longer supported
    • Added a new EasyPostClient object which encapsulates the API key. All functions are called against this client allowing for thread-safety (eg: $client->shipment->create())
      • All instance methods and the ability to have objects update in-place has been removed due to this rearchitecture. When updating objects or performing actions on them (eg: creating a label/scanform), you will need to assign the return value to a variable and use that moving forward instead of relying on the object getting updated without capturing the new return value
      • ->save() instance methods are now update() static methods
      • Functions no longer accept an API key as an optional parameter
      • EasyPost objects no longer contain the logic associated with them; instead, we have Services for each EasyPost object. All the services are properties of an EasyPostClient. You can then call functions on a Service.
    • All function and parameter names are now camelCase. Previously we used a mix of camel and snake cases
    • Improves error exception handling (closes #7)
      • Introduced ~2 dozen new exception types that extend from either ApiException or EasyPostException
      • ApiExceptions will behave like the previous EasyPostException class did. They will include a message, errors, code, httpStatus and httpBody. This class extends the more generic EasyPostException which only contains a message, used for exceptions thrown directly from this library
      • The ecode property of an ApiException is now just code
    • Functions that previously returned true now return void as there is no response body from the API (eg: fundWallet, deletePaymentMethod, updateEmail, createList)
    • Adopts Guzzle as the HTTP client for this library. This should provide a much more consistent experience, better encoding, and faster request times in some cases
    • The results of calling allApiKeys is no longer double wrapped with the mode of the API key (these are still accessible inside of each object)
    • Requestor has moved to Http, constants from EasyPost now live in Constants, Error moved to Exception
    • Occurances of smartrate are now smartRate and Smartrate are now SmartRate to match the documentation and API expectations
    • Referral is now ReferralCustomer to better match documentation and API expectation
    • validateWebhook, getLowestSmartRate, and receiveEvent are now under EasyPost\Util\Util as they do not make any API calls and do not need the associated client object
      • The receive function previously in the namespace of Event is now called receiveEvent since it has been relocated to the generic Util namespace
      • Internal, library only utilities have been moved to EasyPost\Util\InternalUtil
    • The beta EndShipper class has been removed, please use the generally available EndShipper class
    • Various properties and functions that were previously intended for private/protected use but were public have been corrected
    • All phpdoc type hints, descriptions, return values, and throws references were corrected or updated
    • All dependencies were bumped
    • Various other bug fixes and improvements were made along with addressing deprecation warnings
    Open source →
  34. 5.9.0 28 Mar 2024

    Nothing published for this version

  35. 5.8.0 01 Dec 2022
    Release notes
    • Adds carrier account creation routes requests correctly for carriers that require custom workflows
    • Instead of returning null when a list of child API keys cannot be returned (eg: when you call api_keys on a non-user object) it will return an empty list. The expected impact to end users is extremely low
    • Retrieving child user API keys for users with large numbers of child users should see much faster results as we now break on the match instead of iterating the entire list
    Open source →
  36. 5.7.0 21 Sep 2022
    Release notes
    • Adds Partner White Label (Referral) Support
      • Adds ability to create a referral user
      • Adds ability to update a referral user's email
      • Adds ability to retrieve all referral users
      • Adds ability to add a credit card to a referral user's account
    • Adds support to specify an $endShipperId on the buy call of a Shipment
    • Removes unreachable code in the address verification flow that checked for the existence of an address (errors will continue to be thrown on failure)
    Open source →
  37. 5.6.0 25 Aug 2022
    Release notes
    • Moves EndShipper out of beta into the general library namespace
    Open source →
  38. 5.5.1 20 Aug 2022
    Release notes
    • Removes some extra imports that no longer exist causing errors when importing this library. Adds a regression test to protect against this in the future.
    Open source →
  39. 5.5.0 02 Aug 2022
    Release notes
    • Adds Carbon Offset support
      • Adds ability to create a shipment with carbon offset
      • Adds ability to buy a shipment with carbon offset
      • Adds ability to one-call-buy a shipment with carbon offset
      • Adds ability to rerate a shipment with carbon offset
    • Adds validateWebhook function that returns your webhook or raises an error if there is a webhookSecret mismatch
    • Fixes a bug that required the values of verify and verify_strict params on an Address creation call to be arrays since passing true as a boolean is also valid (passing an array will continue to work but is no longer required)
    Open source →
  40. 5.4.0 18 Jul 2022
    Release notes
    • Add ability to generate forms for shipments via generate_form() function
    Open source →
  41. 5.3.0 07 Jul 2022
    Release notes
    • Adds Billing::retrieve_payment_methods(), Billing::fund_wallet(), and Billing::delete_payment_method() functions
    • Adds OS specific details to the User-Agent header
    • Applies a patch to coerce array error messages to strings where error mapping is done improperly (as is the case with carriers like GSO/GLS) (closes #181)
    Open source →
  42. 5.2.1 31 May 2022
    Release notes
    • Fixes a missing parameter bug by setting the beta parameter in the refresh function to false by default
    Open source →
  43. 5.2.0 19 May 2022
    Release notes
    • Adds the EndShipper Beta class with create, retrieve, all, and save functions
    Open source →
  44. 5.1.1 09 May 2022
    Release notes
    • Adds present but unimported supplemental EasyPost object classes such as TrackingDetails to the lib (closes #164)
    Open source →
  45. 5.1.0 09 May 2022
    Release notes
    • Adds a lowest_rate() function to Orders and Pickups
    • Adds Shipment::get_lowest_smartrate() and $shipment.lowest_smartrate() functions
    • Removes the params from the Address->verify() method since it's non-static and unused
    • Removes dead conditional message check in Address::create_and_verify
    Open source →
  46. 5.0.0 09 Feb 2022
    Release notes

    See our Upgrade Guide for more details.

    • Bumped minimum PHP version supported from 5.3 to 7.3
    • Adds a full test suite, all functions are now tested for each object
    • Adds class properties to every class (closes #96)
    • Updates and adds docblocks to each function throughout the library
    • Switched from array() syntax to [] throughout the project
    • Adds the update_brand() method on the User object
    • Set a default timeout of 30 seconds for connections and 60 seconds for requests
    • Fixes the create_list() Tracker and create_and_buy() Batch method's encodings to properly send through the parameters
    • Adds the PHP version used to the User-Agent header
    • Removed unusable all() method on the Parcel object
    • Removed unpaginated all() method on the Order, CustomsInfo, and CustomsItem objects
    • Removed the get_rates() method on the Shipment object since a Shipment object already has rates. If you need new rates for a shipment, use the regenerate_rates() method instead
    • Ignores return types for now on ArrayAccess and Iterator methods (closes #124)
    • Bumps dev dependencies
    • Various other small improvements and bug fixes
    Open source →
  47. 4.0.3 29 Jun 2022

    Nothing published for this version

  48. 4.0.2 20 Oct 2021
    Release notes
    • Further fixes JSON encoding by dropping null key/values, sending values as strings where necessary (returning to previous behavior), and removing the array_filter from the previous release
    Open source →
  49. 4.0.1 09 Oct 2021
    Release notes
    • Properly handles empty lists and objects with JSON encoding (closes #114)
    Open source →
  50. 4.0.0 08 Oct 2021
    Release notes

    See our Upgrade Guide for more details.

    • JSON encodes POST bodies instead of form encoding them
    • Adds TaxIdentifier support
    • Corrects references of [email protected] to [email protected]
    • Bumps patch versions of dependencies
    Open source →
  51. 3.6.0 10 Jun 2021
    Release notes
    • Adds SmartRate functionality to the Shipments object (available by calling get_smartrates() on a shipment)
    Open source →
  52. 3.5.0 06 Apr 2021
    Release notes
    • Added event retrieval methods
    • Fixed a bug that did not allow carrier accounts to be deleted
    • Fixed a bug that did not allow users to be deleted
    • Removed various pieces of old code
    Open source →
  53. 3.4.5 07 May 2020
    Release notes
    • Added "Refund" and "Shipment Invoice" to the prefix and type lists
    Open source →
  54. 3.4.4 12 Mar 2020
    Release notes
    • Version bump with updated author
    Open source →
  55. 3.4.3 12 Mar 2020
    Release notes
    • Bumped version in package.json for Packagist
    • Updated README with release instructions
    Open source →
  56. 3.4.1 13 Apr 2018
    Release notes
    • Added ability to set connection and response timeouts for all EasyPost actions (thanks mattjanssen!)
    Open source →
  57. 3.4.0 30 Oct 2017
    Release notes
    • Renamed Object class EasyPostObject since Object is a keyword in PHP7.2
    Open source →
  58. 3.3.3 15 Feb 2017
    Release notes
    • Added get_rates method to Order objects
    Open source →
  59. 3.3.2 24 Jan 2017
    Release notes
    • Fixed compatibility issues with older PHP versions and the Report class
    Open source →
  60. 3.3.1 20 Jan 2017
    Release notes
    • Fixed Create for ScanForms
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive