2017 © Pedro Peláez
 

library phpaprs

APRS Library for PHP

image

dbursem/phpaprs

APRS Library for PHP

  • Monday, August 21, 2017
  • by dbursem
  • Repository
  • 1 Watchers
  • 0 Stars
  • 71 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PHPAPRS

This is basically a fork of the phpAPRS library by Matthew Asham. All I did was some refactoring to get to know the code. The original readme, credits and license can be found in /doc., (*1)

Installation

run composer require dbursem/phpaprs. Check http://getcomposer.org for more info on composer., (*2)

Usage

There is an example APRS bot in the example directory. Your best chance to get things working is using this example and changing it as you like. * Copy the example directory to your install directory * Copy the aprsbot.cfg.php file to local.aprsbot.cfg.php and edit it with your personal settings. * Set the filter to a valid APRS filter. * Call the example aprsbot from the commandline with php aprsbot.php., (*3)

Minimal steps:

  • Copy aprsbot.cfg.php to local.aprsbot.cfg.php and edit it with your required settings
  • Make an aprs object
$aprs = new dbursem\phpaprs\APRS();
  • Connect to the APRS host
if ($aprs->connect(HOST, PORT, MYCALL, PASSCODE, $filter) == FALSE) 
{
    die( "Connect failed\n");
}
  • Create a loop to handle the input/output
while(1){
    $aprs->ioloop(5);
    // do stuff
    sleep(1);
}

The Versions

21/08 2017

dev-master

9999999-dev https://github.com/dbursem/phpaprs

APRS Library for PHP

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by David Ursem
by Matthew Asham

aprs

08/02 2016

V1.0

1.0.0.0 https://github.com/dbursem/phpaprs

APRS Library for PHP

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by David Ursem
by Matthew Asham

aprs

18/11 2015

V1.0-beta1

1.0.0.0-beta1 https://github.com/dbursem/phpaprs

APRS Library for PHP

  Sources   Download

GPLv3

The Requires

  • php >=5.3.0

 

by David Ursem
by Matthew Asham

aprs