cheukpang / think-slog
useful debug tool base on socket log
Installs: 53
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/cheukpang/think-slog
Requires
- php: >=5.5.9
Requires (Dev)
- phpunit/phpunit: 5.5.*
This package is auto-updated.
Last update: 2025-10-28 17:31:19 UTC
README
useful debug tool base on socket log
REQUIREMENT
- nodejs LTS is
recommend - chrome extension(file 'chrome.crx' in
resourcefolder) - additional port
1229and port1116is required,please check your firewall and add it in whitelist
INSTALL
- installation is very simply via composer
composer install cheukpang/think-slog --save
HOWTO
install socketlog-server and run it
npm install -g socketlog-server
Run socketlog-server in windows CMD or Linux Shell
socketlog-server
debug like follow in php where you want
<?php //$some_code_here; slog('log whatever you want'); //...
then open chrome dev-tool,you should see debug output in console tab ^_^
Reference
License
Apache-2.0