PHPackages                             octopyid/laravel-inotify - 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. octopyid/laravel-inotify

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

octopyid/laravel-inotify
========================

Laravel filesystem watcher

v1.0.1(3y ago)13631MITPHPPHP ^8.0

Since May 16Pushed 2y agoCompare

[ Source](https://github.com/OctopyID/LaraInotify)[ Packagist](https://packagist.org/packages/octopyid/laravel-inotify)[ Fund](https://ko-fi.com/SupianIDz)[ RSS](/packages/octopyid-laravel-inotify/feed)WikiDiscussions main Synced yesterday

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

Lara Inotify
============

[](#lara-inotify)

Lara Inotify is a wrapper for [inotify](https://www.php.net/manual/en/book.inotify.php) for Laravel to make it easier to watch filesystem and avoid memory leaks.

Requirement
-----------

[](#requirement)

- [PHP v8.x](https://www.php.net/downloads/)
    - [ext-pcntl](https://www.php.net/manual/en/book.pcntl.php)
    - [ext-inotify](https://www.php.net/manual/en/book.inotify.php)
- [Laravel v8.x](https://laravel.com/)

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

[](#installation)

To install the package, simply follow the steps below.

Install the package using Composer:

```
$ composer require octopyid/laravel-inotify

$ artisan vendor:publish --provider="Octopy\Inotify\InotifyServiceProvider"

```

Usage
-----

[](#usage)

See [WIKI](https://github.com/OctopyID/LaraInotify/wiki) for more details.

```
use Octopy\Inotify\Inotify;
use Octopy\Inotify\Contract\Event;
use Octopy\Inotify\Contract\Watcher;

$inotify = new Inotify('foo.txt');

$inotify->event(function (Event $event) {

    $event->on(IN_MODIFY, function (Watcher $watcher) {
        // do something
    });

    $event->on(IN_DELETE, function (Watcher $watcher) {
        // do something
    });

    // see : https://www.php.net/manual/en/inotify.constants.php for more events.
});

$inotify->watch();
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Supian M](https://github.com/SupianIDz)
- [Octopy ID](https://github.com/OctopyID)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~408 days

Total

2

Last Release

1414d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37969970?v=4)[Supian M](/maintainers/SupianIDz)[@SupianIDz](https://github.com/SupianIDz)

---

Top Contributors

[![SupianIDz](https://avatars.githubusercontent.com/u/37969970?v=4)](https://github.com/SupianIDz "SupianIDz (12 commits)")

---

Tags

file-watcherinotifyfilesystemlaravelwatcher

### Embed Badge

![Health badge](/badges/octopyid-laravel-inotify/health.svg)

```
[![Health](https://phpackages.com/badges/octopyid-laravel-inotify/health.svg)](https://phpackages.com/packages/octopyid-laravel-inotify)
```

###  Alternatives

[oneduo/nova-file-manager

A handy file manager tool for Laravel Nova

157350.3k2](/packages/oneduo-nova-file-manager)[bbs-lab/nova-file-manager

A handy file manager tool for Laravel Nova

1578.0k](/packages/bbs-lab-nova-file-manager)[yoelpc4/laravel-cloudinary

Laravel Cloudinary filesystem cloud driver.

3343.0k](/packages/yoelpc4-laravel-cloudinary)[bringyourownideas/laravel-backblaze

Backblaze B2 Cloud Storage for Laravel 5. Original by Paul Olthof (@hpolthof) continued by @bringyourownideas

1237.8k](/packages/bringyourownideas-laravel-backblaze)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
