campingcare/campingcare-php-sdk

Connect to the Camping.care system to get data. This could be park, accommodation, prices, availability, reservations, invoicing and contact data. Also you can create reservations, and contact.

1.11 2018-03-19 07:57 UTC

This package is not auto-updated.

Last update: 2025-06-24 08:10:24 UTC


README

CampingCare

Camping Care PHP SDK

Connect to the Camping.care system to get data. This could be park, accommodation, prices, availability, reservations, invoicing and contact data. Also you can create reservations, and contact.

Requirements

To use the Camping.care PHP SDK, the following things are required:

  • Get yourself a free Camping.care Account. No sign up costs.
  • Create a Camping.care API key
  • Now you're ready to use the Camping.care PHP API client in test mode.
  • PHP >= 5.3
  • PHP cURL extension

Installation

By far the easiest way to install the Camping.care PHP SDK is to require it with Composer.

$ composer require CampingCare/campingcare-php-sdk:dev-master

{
    "require": {
        "CampingCare/campingcare-php-sdk": "dev-master"
    }
}

You may also git checkout or download all the files, and include the Camping.care PHP sdk manually.

Getting started

Requiring the included autoloader. If you're using Composer, you can skip this step.

require_once('vendor/autoload.php');

Initializing the Camping.care PHP SDK, and setting your API key.

$campingcare = new campingcare_api;
$campingcare->set_api_key("YOUR SECRET API KEY");

Getting park information.

$park = $campingcare->get_park();

API documentation

If you wish to learn more about our API, please visit the Camping.care Portal. API Documentation is available in English.

License

BSD (Berkeley Software Distribution) License. Copyright (c) 2013-2017, Boekanders B.V.

Support

Contact: camping.caresupport@camping.care — + 31 85 065 3614