nrwtaylor / agent
A PHP CLI agent to communicate with the PHP stack-agent-thing framework.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/nrwtaylor/agent
Requires
- nrwtaylor/stack-agent-thing: dev-dev
This package is auto-updated.
Last update: 2025-10-05 21:36:32 UTC
README
A command-line connector to the Stack Agent Thing frame work.
Requirements
- nrwtaylor/stack-agent-thing
- Symfony Console
Installation
composer require symfony/console
composer require nrwtaylor/stack-agent-thing
sudo touch agent
sudo chmod +X agent
sudo nano /etc/environment
PATH="<existing path>:<path to agent folder>/agent"
Then reboot
Usage
agent ping
PING | A message from this Identity pinged us. | Received 2 seconds ago. http://localhost:8000/thing/fb2a743b-5bfa-4546-a5cc-19add259420e/ping PHP 3,074ms 1424 fb2a Added to stack.
Credits
- Fabien Potencier for Symfony