Skip to content

Commit

Permalink
Merge pull request #96 from TourCMS/release/4.8.0
Browse files Browse the repository at this point in the history
Release/4.8.0
  • Loading branch information
paulslugocki authored Jun 17, 2024
2 parents 64824f2 + ebd2d86 commit 988087a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,22 +109,22 @@ The library can attempt to check your local environment and API credentials, use
```php
// Common configuration parameters

// Marketplace ID will be 0 for Tour Operators, non-zero for Marketplace Agents
// Agents can find their Marketplace ID in the API page in TourCMS settings
$marketplace_id = 0;
// Marketplace ID will be 0 for Tour Operators, non-zero for Marketplace Agents
// Agents can find their Marketplace ID in the API page in TourCMS settings
$marketplace_id = 0;

// API key will be a string, find it in the API page in TourCMS settings
$api_key = "YOUR_KEY_HERE";
// API key will be a string, find it in the API page in TourCMS settings
$api_key = "YOUR_KEY_HERE";

// Channel ID represents the Tour Operator channel to call the API against
// Tour Operators may have multiple channels, so enter the correct one here
// Agents can leave this as 0 for the test
$channel_id = 0;
// Channel ID represents the Tour Operator channel to call the API against
// Tour Operators may have multiple channels, so enter the correct one here
// Agents can leave this as 0 for the test
$channel_id = 0;

// Create a new TourCMS instance
// Optionally alias the namespace
use TourCMS\Utils\TourCMS as TourCMS;
$tourcms = new TourCMS($marketplace_id, $api_key, "simplexml");
// Optionally alias the namespace
use TourCMS\Utils\TourCMS as TourCMS;
$tourcms = new TourCMS($marketplace_id, $api_key, "simplexml");

// Call the environment test, the results will be displayed on the screen
$tourcms->test_environment($channel_id);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"php": ">=5.3"
"php": ">=8.1"
},
"autoload": {
"psr-4": {"TourCMS\\Utils\\": "src/"}
Expand Down
4 changes: 2 additions & 2 deletions src/TourCMS.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/*
Copyright (c) 2010-2019 Travel UCD
Copyright (c) 2010 - 2024 Travel UCD
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +22,7 @@
*/

# TourCMS: PHP wrapper class for TourCMS Rest API
# Version: 4.7.0
# Version: 4.8.0

namespace TourCMS\Utils;

Expand Down

0 comments on commit 988087a

Please sign in to comment.