PHPackages                             penguin/fswatch - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. penguin/fswatch

ActiveLibrary[File &amp; Storage](/categories/file-storage)

penguin/fswatch
===============

Library for monitoring file changes with fswatch

v1.0.1(2y ago)152MITPHPPHP ^8.1

Since Mar 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thuanvp012van/fswatch)[ Packagist](https://packagist.org/packages/penguin/fswatch)[ RSS](/packages/penguin-fswatch/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Penguin FSWatch
===============

[](#penguin-fswatch)

This package provides a file watcher.

### Installation

[](#installation)

The current version only supports [fswatch](https://github.com/emcrisostomo/fswatch), so you'll have to install fswatch first.

```
# MacOS
brew install fswatch

# Linux
wget https://github.com/emcrisostomo/fswatch/releases/download/{VERSION}/fswatch-{VERSION}.tar.gz
tar -xzvf fswatch-{VERSION}.tar.gz
cd fswatch-{VERSION} && ./configure && make && sudo make install && sudo ldconfig

# Composer
composer require penguin/fswatch
```

### Usage

[](#usage)

```
