PHP RatchetPHP 的 WebSockets 开发包
Ratchet 是一个松耦合的 PHP 库,提供了用于创建实时、双向客户端服务器 WebSockets 应用的支持。
示例代码:
<?php namespace MyApp; use Ratchet\MessageComponentInterface; use Ratchet\ConnectionInterface; class Chat implements MessageComponentInterface { public function onOpen(ConnectionInterface $conn) { } public function onMessage(ConnectionInterface $from, $msg) { } public function onClose(ConnectionInterface $conn) { } public function onError(ConnectionInterface $conn, \Exception $e) { } }
评论
gitlibgit 仓库 php 开发包
gitlib,git仓库php开发包。此项目是#gitonomy#项目的一部分,用于操作git仓库。本质上是调用shell命令。需要php5.3以上,并且已安装git。目前还不支持远程操作和submo
gitlibgit 仓库 php 开发包
0
bankloan基于php的计算器开发包
bankloadbankload是基于php开发的贷款计算器开发包。实现了按揭贷款的等额本息等额本金结果的计算和输出。已经发布到packagist上面了,开发者可以使用composer集成到自己的系统
bankloan基于php的计算器开发包
0