Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 7a69861

Browse files
authored
Merge pull request #726 from TwilioDevEd/php-qs-autopilot
Vendor autoload and fix create
2 parents f1fccd3 + dca4dd5 commit 7a69861

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

quickstart/php/autopilot/create-first-task/create_hello_world_task.5.x.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
// Download the helper library from https://www.twilio.com/docs/php/install
3-
// Update the path below to your autoload.php,
3+
// Update the path below to your autoload.php if not installed in local dir.
44
// see https://getcomposer.org/doc/01-basic-usage.md
5-
require_once '/path/to/vendor/autoload.php';
5+
require_once './vendor/autoload.php';
66
use Twilio\Rest\Client;
77

88
// Your Account Sid and Auth Token from twilio.com/console

quickstart/php/autopilot/create-hello-world-samples/create_hello_world_samples.5.x.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
// Download the helper library from https://www.twilio.com/docs/php/install
3-
// Update the path below to your autoload.php,
3+
// Update the path below to your autoload.php if not installed in local dir.
44
// see https://getcomposer.org/doc/01-basic-usage.md
5-
require_once '/path/to/vendor/autoload.php';
5+
require_once './vendor/autoload.php';
66
use Twilio\Rest\Client;
77

88
// Your Account Sid and Auth Token from twilio.com/console
@@ -25,7 +25,7 @@
2525
->samples
2626
->create(
2727
$language = "en-us",
28-
$taggedText = $phrase,
28+
$taggedText = $phrase
2929
);
3030
print($sample->sid);
3131

quickstart/php/autopilot/create-joke-samples/create_joke_samples.5.x.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
// Download the helper library from https://www.twilio.com/docs/php/install
3-
// Update the path below to your autoload.php,
3+
// Update the path below to your autoload.php if not installed in local dir.
44
// see https://getcomposer.org/doc/01-basic-usage.md
5-
require_once '/path/to/vendor/autoload.php';
5+
require_once './vendor/autoload.php';
66
use Twilio\Rest\Client;
77

88
// Your Account Sid and Auth Token from twilio.com/console

quickstart/php/autopilot/create-joke-task/create_joke_task.5.x.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
// Download the helper library from https://www.twilio.com/docs/php/install
3-
// Update the path below to your autoload.php,
3+
// Update the path below to your autoload.php if not installed in local dir.
44
// see https://getcomposer.org/doc/01-basic-usage.md
5-
require_once '/path/to/vendor/autoload.php';
5+
require_once './vendor/autoload.php';
66
use Twilio\Rest\Client;
77

88
// Your Account Sid and Auth Token from twilio.com/console

quickstart/php/autopilot/query-task/query_task.5.x.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22
// Download the helper library from https://www.twilio.com/docs/php/install
3-
// Update the path below to your autoload.php,
3+
// Update the path below to your autoload.php if not installed in local dir.
44
// see https://getcomposer.org/doc/01-basic-usage.md
5-
require_once '/path/to/vendor/autoload.php';
5+
require_once './vendor/autoload.php';
66
use Twilio\Rest\Client;
77

88
// Your Account Sid and Auth Token from twilio.com/console

0 commit comments

Comments
 (0)