PHPackages                             diegonz/php-wake-on-lan - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. diegonz/php-wake-on-lan

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

diegonz/php-wake-on-lan
=======================

Wake on lan target enabled devices by sending magic packets to them from PHP

v2.1.1(3y ago)51.6k4[4 issues](https://github.com/diegonz/PHPWakeOnLan/issues)1MITPHPPHP ^7.1.8|^8.0

Since Feb 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/diegonz/PHPWakeOnLan)[ Packagist](https://packagist.org/packages/diegonz/php-wake-on-lan)[ Docs](https://github.com/diegonz/php-wake-on-lan)[ RSS](/packages/diegonz-php-wake-on-lan/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (6)Used By (1)

PHPWakeOnLan
============

[](#phpwakeonlan)

[![Travis Build Status](https://camo.githubusercontent.com/77dfa91384df2f73540df35d12d793120bfeb009fa942a73cb6645f5b7354452/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f646965676f6e7a2f50485057616b654f6e4c616e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/diegonz/PHPWakeOnLan)[![StyleCI Status](https://camo.githubusercontent.com/6f706181b8342f5f60c7ef8df2c6f954884115fe1c4c5d2cda808554e2508fdf/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3132383236393935342f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/128269954)[![Codecov Status](https://camo.githubusercontent.com/3d711fd69d27216ffe2b0b09b1a320dc140f69cbf9bcb03ac6d1a6a16412348d/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f646965676f6e7a2f50485057616b654f6e4c616e2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/diegonz/PHPWakeOnLan)[![Latest Version on Packagist](https://camo.githubusercontent.com/6cc6b82afe7a568f9c99b8557420903897bcb3c96320b0069d3dddb8474b20b0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646965676f6e7a2f7068702d77616b652d6f6e2d6c616e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/diegonz/php-wake-on-lan)

Wake on lan target enabled devices by sending magic packets to them from PHP.

Installation
------------

[](#installation)

Require the package using [composer](https://getcomposer.org/):

```
composer require diegonz/php-wake-on-lan
```

Usage:
------

[](#usage)

Normal PHP usage:

```
