PHPackages                             lttxws/jt808 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. lttxws/jt808

ActiveLibrary

lttxws/jt808
============

test

v0.0.3(5y ago)129611[2 PRs](https://github.com/lttxws/JT808/pulls)MITPHPPHP &gt;=7.0

Since Jul 10Pushed 3y agoCompare

[ Source](https://github.com/lttxws/JT808)[ Packagist](https://packagist.org/packages/lttxws/jt808)[ RSS](/packages/lttxws-jt808/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

PHP JT808协议 server端
===================

[](#php-jt808协议-server端)

基于[gogocheng/messageAnalysis](https://github.com/gogocheng/messageAnalysis.git "gogocheng/messageAnalysis")版本开发 使用wokrerman来进行数据收发

使用方法：
-----

[](#使用方法)

composer require lttxws/jt808

分别以命令行的形式启动根目录下 server.php client.php

php server.php start

[![server](https://raw.githubusercontent.com/lttxws/JT808/master/image/server.jpg "server")](https://raw.githubusercontent.com/lttxws/JT808/master/image/server.jpg)

php client.php start

[![client](https://raw.githubusercontent.com/lttxws/JT808/master/image/client.jpg "client")](https://raw.githubusercontent.com/lttxws/JT808/master/image/client.jpg)

client.php中98行，可以更改不同数据，模拟客户端发送不同的报文
------------------------------------

[](#clientphp中98行可以更改不同数据模拟客户端发送不同的报文)

代码示例：
-----

[](#代码示例)

### 服务端:

[](#服务端)

```
