A basic SNTPv4 PHP implementation
This class (
NTPLite) is a very simple, full PHP implementation of the SNTP protocol version 4.
Some features described in RFC 4330 are not available but it can be used to read and write SNTP messages, to implement basic client and server (two sample scripts are provided).
The sample server does not perform any computation nor verification (authentication, delay, etc.).