| Recommend this page to a friend! | 
| Info | Documentation | Reputation | Support forum | Blog | Links | 
| Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
| 2025-05-08 (6 hours ago) | Not enough user ratings | Total: 427 | All time:  6,344 This week: 53 | |||||
| Version | License | PHP version | Categories | |||
| php-wol 1.11 | GNU General Publi... | 5.0 | Networking, PHP 5 | 
| Description | Author | |
| This class can send wake on LAN packet to wake up computer. Innovation Award | 
Wake-on-LAN (WoL) is an Ethernet computer networking standard that allows a computer to be turned on or awakened by a network message.
Example PHP usage:
/ Send WOL package
 * @param   string		$addr		- IP address
 * @param   string		$mac		- Media access control address (MAC)
 * @param   integer		$port		- Port number at which the data will be sent 
 * @return	boolean
 *
 * boolean send ( string $addr , string $mac [, integer $port = 9 ] )
 */
 
PHP_WOL::send('192.168.1.2', '01:23:45:67:89:ab', 9);
Wake On LAN is usually disabled by default in most PCs, enable it in your BIOS.
Install and configure earthquake package.
sudo aptitude install etherwake
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
 | 
 | 
| Applications that use this package | 
![]() If you know an application of this package, send a message to the author to add a link here.
 If you know an application of this package, send a message to the author to add a link here.