2017 © Pedro Peláez
 

library phppdu

Creating pdu string for sending sms.

image

rmoore/phppdu

Creating pdu string for sending sms.

  • Friday, February 9, 2018
  • by rs-sliske
  • Repository
  • 1 Watchers
  • 0 Stars
  • 65 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 19 Versions
  • 41 % Grown

The README.md

PHPPDU Build Status Code Climate

Creating a PDU string for sending sms, (*1)

Usage

composer require jackkum/phppdu, (*2)


require_once './vendor/autoload.php';

use jackkum\PHPPDU\Submit;

$pdu = new Submit();

$pdu->setAddress("*********");
$pdu->setData("Message to sent.");

foreach($pdu->getParts() as $part){
    echo get_class($part), PHP_EOL;
    echo (string) $part, PHP_EOL;
}

require_once './vendor/autoload.php';

use jackkum\PHPPDU\PDU;

$pdu = PDU::parse($str);

echo $pdu->getAddress()->getPhone(), PHP_EOL;

foreach($pdu->getParts() as $part){
    $header = $part->getHeader();
    echo "unique: ", $header->getPointer(), PHP_EOL;
    echo $header->getCurrent(), " of ", $header->getSegments(), PHP_EOL;
}

echo $tmp->getData()->getData(), PHP_EOL;


require_once './vendor/autoload.php';

use jackkum\PHPPDU\PDU;

$main = NULL;

foreach(self::$lines as $line){
    if(is_null($main)){
        $main = PDU::parse($line);
    } else {
        $main->getData()->append(
            PDU::parse($line)
        );
    }

}

echo $main->getData()->getData(), PHP_EOL;

The Versions

09/02 2018

dev-master

9999999-dev

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

09/02 2018

v1.3

1.3.0.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

09/02 2018

v1.3.01

1.3.01.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

09/02 2018

v1.2.101

1.2.101.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

09/02 2018

v1.2.11

1.2.11.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

22/09 2015

v1.2.10

1.2.10.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

22/09 2015

dev-dev

dev-dev

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

22/06 2015

v1.2.9

1.2.9.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

21/06 2015

v1.2.8

1.2.8.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

18/06 2015

v1.2.7

1.2.7.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

18/06 2015

v1.2.6

1.2.6.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

16/06 2015

v1.2.5

1.2.5.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

16/06 2015

v1.2.4

1.2.4.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

16/06 2015

v1.2.3

1.2.3.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

16/06 2015

v1.2.2

1.2.2.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

10/06 2015

v1.2.1

1.2.1.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

10/06 2015

v1.2

1.2.0.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

10/06 2015

v1.1

1.1.0.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin

05/06 2015

v1.0

1.0.0.0

Creating pdu string for sending sms.

  Sources   Download

MIT

The Development Requires

by Evgenii Kumanin