Skip to content

Commit 30a99e8

Browse files
authored
Merge pull request #15 from RusticiSoftware/autoloadFix
Adjusted README in accordance with new install method
2 parents a9f664f + 8b2ecf5 commit 30a99e8

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ REST API used for SCORM Cloud integrations.
44
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: 2.0
7-
- Package version: 1.1.0
7+
- Package version: 1.1.1
88
- Build package: io.swagger.codegen.languages.PhpClientCodegen
99

1010
## Requirements
@@ -18,14 +18,6 @@ PHP 5.4.0 and later
1818
composer require rustici-software/scormcloud-api-v2-client-php
1919
```
2020

21-
### Manual Installation
22-
23-
Download the files and include `autoload.php`:
24-
25-
```php
26-
require_once('/path/to/scormcloud-api-v2-client-php/autoload.php');
27-
```
28-
2921
## Key Considerations
3022
This library is generated using swagger-codegen. When swagger is updated, sometimes changes to the library occur. As a
3123
result of the recent update, service classes are now instantiated slightly differently. You now need to pass a Configuration
@@ -88,7 +80,7 @@ $registration_api->createRegistration($reg_schema);
8880
### Starter Script
8981
```php
9082
<?php
91-
require_once('path/to/lib/autoload.php');
83+
require_once('path/to/vendor/autoload.php');
9284

9385
// Configure HTTP basic authorization: APP_NORMAL
9486
$config = new RusticiSoftware\Cloud\V2\Configuration();

autoload.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
require_once("vendor/autoload.php");
32
/**
43
* SCORM Cloud Rest API
54
*

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rustici-software/scormcloud-api-v2-client-php",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "",
55
"keywords": [
66
"scorm",

src/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class Configuration
8888
*
8989
* @var string
9090
*/
91-
protected $userAgent = 'Swagger-Codegen/1.1.0/php';
91+
protected $userAgent = 'Swagger-Codegen/1.1.1/php';
9292

9393
/**
9494
* Debug switch (default set to false)
@@ -397,7 +397,7 @@ public static function toDebugReport()
397397
$report .= ' OS: ' . php_uname() . PHP_EOL;
398398
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
399399
$report .= ' OpenAPI Spec Version: 2.0' . PHP_EOL;
400-
$report .= ' SDK Package Version: 1.1.0' . PHP_EOL;
400+
$report .= ' SDK Package Version: 1.1.1' . PHP_EOL;
401401
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
402402

403403
return $report;

0 commit comments

Comments
 (0)