Send SMS using Twilio (PHP)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2019
  • Sending SMS with Twilio and PHP
    Download Source Code: drive.google.com/open?id=14t4...
    You will need to have a Composer installed on your computer to install Twilio PHP Helper Library
    Composer: getcomposer.org/download/
    OR
    If you don't have a Composer, you can also download the full source of the PHP SDK from GitHub
    Download: github.com/twilio/twilio-php/...
    To use the downloaded SDK in your application, unzip the SDK download file in the same directory as your PHP code. In your code, you can then require the autoload file bundled with the SDK.

ความคิดเห็น • 35

  • @walzutube
    @walzutube 2 ปีที่แล้ว

    nice it works he3x unang kita ko pa lng nung +63 ay pinoy eto, anyway working sya sa local ko.... tnx sa video

  • @chanakaramanayake8409
    @chanakaramanayake8409 3 ปีที่แล้ว +1

    Thank you very much. You made it easier✌✌

  • @raymondmoundzele4907
    @raymondmoundzele4907 2 ปีที่แล้ว

    Tahank you very much for this beautifull and simple code so usefull

  • @byeonggonsong7901
    @byeonggonsong7901 4 ปีที่แล้ว

    Thank you sir for uploading this video ^_^ very helpful and awesome!!!!

  • @purevdorjoyuntsetseg7898
    @purevdorjoyuntsetseg7898 3 ปีที่แล้ว

    thanks. that was helpful

  • @thealachica4655
    @thealachica4655 3 ปีที่แล้ว +1

    How to send MMS using Twilio? using PHP as well.. thanks

  • @sufyankhanbest
    @sufyankhanbest 2 ปีที่แล้ว

    Thank you, its working, I think we should work on GUI. also how do we store messages history and what about incoming? Can you make video on it?

  • @bilgiemekister
    @bilgiemekister 4 ปีที่แล้ว +1

    I have an error:
    Parse error: syntax error, unexpected '?', expecting '&' or variable (T_VARIABLE) in C:\wamp\www\vendor\twilio\sdk\src\Twilio\Rest\Client.php on line 182
    The line 182 code is:
    public function getArg(?string $arg, string $envVar): ?string {
    if ($arg) {
    return $arg;
    }
    if (\array_key_exists($envVar, $this->environment)) {
    return $this->environment[$envVar];
    }
    return null;
    }
    What should I do?

  • @abubabar3rd
    @abubabar3rd 2 ปีที่แล้ว

    Please help demonstrate the Twilio Verify API for PHP for all three platform SMS, email and call on user registration and login

  • @gregoryjoy2689
    @gregoryjoy2689 2 ปีที่แล้ว

    Can you make one how to receive messages with mysqli

  • @santimonkey2083
    @santimonkey2083 2 ปีที่แล้ว

    nakakapagsend po ba kahit nasa trial palang po? Sinunod ko naman lahat,nagsesend naman sya walang error kaso wala akong natatangap na text

  • @johnlesthersanpedro8555
    @johnlesthersanpedro8555 2 ปีที่แล้ว

    thank you how about bulk sms?

  • @boyfernanda5579
    @boyfernanda5579 3 ปีที่แล้ว

    cant multi send?

  • @misukoshiviolago2618
    @misukoshiviolago2618 3 ปีที่แล้ว

    syntax error, unexpected 'use' (T_USE)
    Bro anong problema bakit ayaw gumana ng use?

  • @byeonggonsong7901
    @byeonggonsong7901 4 ปีที่แล้ว

    what is __DIR__ for?? thanks!

    • @devmon270
      @devmon270  4 ปีที่แล้ว

      __DIR__ is use to get your current script's directory. If you try it on your local server and print the __DIR__, you will see the full path of your project. Like this C:\xampp\htdocs\twilio2send

  • @mlitechdotorg
    @mlitechdotorg 4 ปีที่แล้ว

    Need ko pa ba i update yung php version ko.

    • @devmon270
      @devmon270  4 ปีที่แล้ว

      Bakit anong error nalabas?

  • @ericksonadriano9419
    @ericksonadriano9419 4 ปีที่แล้ว +1

    sir pano po makapag send sa multiple number?

    • @devmon270
      @devmon270  4 ปีที่แล้ว

      dapat yung number ay naka array, tapos yung send function ng php dapat nasa loob siya ng foreach loop

    • @michaeljudeculile9016
      @michaeljudeculile9016 2 ปีที่แล้ว

      @@devmon270 sir may sample po ba kayo nun? newbie lang po hehe

  • @jayjays6968
    @jayjays6968 3 ปีที่แล้ว

    hi i got this error po
    Fatal error: Uncaught Twilio\Exceptions\ConfigurationException: Credentials are required to create a Client in C:\xampp\htdocs\SMS TRIAL\vendor\twilio\sdk\src\Twilio\Rest\Client.php:166 Stack trace: #0 C:\xampp\htdocs\SMS TRIAL\send.php(13): Twilio\Rest\Client->__construct('', '') #1 {main} thrown in C:\xampp\htdocs\SMS TRIAL\vendor\twilio\sdk\src\Twilio\Rest\Client.php on line 166

    • @devmon270
      @devmon270  3 ปีที่แล้ว

      Dapat nalagay mo yung SID at TOKEN na makukuha mo sa Twilio.

    • @jayjays6968
      @jayjays6968 3 ปีที่แล้ว

      @@devmon270 nalagay ko naman po

    • @devmon270
      @devmon270  3 ปีที่แล้ว

      @@jayjays6968 hmmm pati yung trial number na nasa dashboard? kung gusto mo isend mo din sakin codes mo para matulungan kita. wag mo din kalimutan dapat nasa loob ng Client function yung sid at token
      $t = new Client($sid, $token);

    • @jayjays6968
      @jayjays6968 3 ปีที่แล้ว

      Pano ko po sesend sayo?

    • @devmon270
      @devmon270  3 ปีที่แล้ว

      @@jayjays6968 dev.rymnd@gmail.com