Newcamd cardserver client implementation in PHP.
Use Composer to install Newcamd.
$ composer require mszula/php-newcamd:dev-master
- PHP >= 5.4
Just create Newcamd/Client
with Newcamd/Config
argument and connect()
to server.
<?php
use Newcamd\Client;
use Newcamd\Config;
require 'vendor/autoload.php';
$config = new Config();
$config->setHost('127.0.0.1')->setPort('123456')->setDesKey('0102030405060708091011121314')
->setUsername('test')->setPassword('test');
$newcamd = new Client($config);
$newcamd->connect()
->login();
- Clear code
- EMM
- ECM
- CW
PHP Newcamd is licensed under the MIT License - see the License File file for details.
Hey! I haven't been here for a long time. In the meantime, I also created a TypeScript implementation of Newcamd. Feel free to use, clone, leave the star or whatever you want 😄