GithubHelp home page GithubHelp logo

php-newcamd's Introduction

PHP Newcamd Client

Newcamd cardserver client implementation in PHP.

Installation

Use Composer to install Newcamd.

$ composer require mszula/php-newcamd:dev-master

Requirements

  • PHP >= 5.4

Basic Usage

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();

To Do list

  • Clear code
  • EMM
  • ECM
  • CW

License

PHP Newcamd is licensed under the MIT License - see the License File file for details.

Fresh implementation in TypeScript

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 ๐Ÿ˜„

https://github.com/mszula/newcamd-client

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.