mufuphlex / cplt
0.2.0
2016-09-09 12:08 UTC
Requires
- php: >=5.3
- mufuphlex/cache: ^0.0.1
- mufuphlex/sake: dev-master
- mufuphlex/textonic: >=0.1.1
Requires (Dev)
- phpunit/phpunit: =5.3.5
This package is not auto-updated.
Last update: 2024-12-21 19:39:21 UTC
README
Lightweight autocomplete container. Default interaction is implemented via sockets.
Usage demo
Prerequisites:
php
is installed and available ascli
commandcomposer
is available globaly- port
7082
is not used
Steps:
wget https://github.com/Mufuphlex/cplt/archive/master.zip unzip master.zip cd cplt-master composer install --no-dev cd demo php initiator.php 1>cplt.log 2>cplt.log & php requester.php 'sta'
Output will be like the following:
array(3) { 'r' => array(5) { [0] => string(7) "started" [1] => string(8) "standing" [2] => string(6) "stairs" [3] => string(9) "staggered" [4] => string(5) "state" } 'e' => NULL 'p' => string(36) "sta 5 0 0.0003509521484375 1 408 304" }