PHPackages                             howtomakeaturn/live-reload-kid - 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. howtomakeaturn/live-reload-kid

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

howtomakeaturn/live-reload-kid
==============================

Reload your browser when files changed.

0.1.2(10y ago)151101MITJavaScript

Since May 24Pushed 10y ago2 watchersCompare

[ Source](https://github.com/howtomakeaturn/LiveReloadKid)[ Packagist](https://packagist.org/packages/howtomakeaturn/live-reload-kid)[ RSS](/packages/howtomakeaturn-live-reload-kid/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

LiveReloadKid
=============

[](#livereloadkid)

Automatically reload your browser when specified files are updated with only **PHP** and **JavaScript**!

You're currently developing, and modify css/js files very frequently?

Don't need to press **ctrl + R** or **ctrl + F5** to refresh your browser anymore!

Let LiveReloadKid save your fingers!☺

\#Installation You can just download the file to your project, or install it via composer:

```
composer require "howtomakeaturn/live-reload-kid:0.1.*"

```

And then move **live-reload-kid.js** file to your asset folder.

\#Client-side Set the url to where you will trigger the LiveReloadKid.

```

    LiveReloadKid.start({
        url: 'monitor.php'
    });

```

\#Server-side Pass paths to the folder you want to monitor into the constructor.

And then just return the response.

```
// monitor.php

$monitor = new Howtomakeaturn\LiveReloadKid\LiveReloadKid(['folder/js', 'folder/css']);

echo $monitor->monitor();
```

Done!

\#Example

Let's say you are using Laravel. Just add this to the app/routes.php

```
Route::get('/monitor', function(){
    $kid = new Howtomakeaturn\LiveReloadKid\LiveReloadKid([
        public_path('/js'), app_path('views')
    ]);

    echo $kid->monitor();
});
```

And then in the client side

```

    LiveReloadKid.start({
        url: '/monitor'
    });

```

Everytime you update the view files or javascript files, your browser will reload automatically!

The Magic Behind
================

[](#the-magic-behind)

LiveReloadKid monitors the file system with **long polling** technique, notifying your browser if files modified in real-time!

Thanks to
=========

[](#thanks-to)

LiveReloadKid is inspired by

Thanks [bilzen](http://www.reddit.com/user/bilzen) and [tobozo](http://www.reddit.com/user/tobozo) for the suggestions on Reddit.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.8% 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 ~5 days

Total

3

Last Release

4002d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/794a27b329aeea74a342351a16b6f91673cc2239b9f4f9ba07172483fffed965?d=identicon)[howtomakeaturn](/maintainers/howtomakeaturn)

---

Top Contributors

[![howtomakeaturn](https://avatars.githubusercontent.com/u/1255050?v=4)](https://github.com/howtomakeaturn "howtomakeaturn (23 commits)")[![adamnicholson](https://avatars.githubusercontent.com/u/7761178?v=4)](https://github.com/adamnicholson "adamnicholson (1 commits)")

---

Tags

livereloadproductivity

### Embed Badge

![Health badge](/badges/howtomakeaturn-live-reload-kid/health.svg)

```
[![Health](https://phpackages.com/badges/howtomakeaturn-live-reload-kid/health.svg)](https://phpackages.com/packages/howtomakeaturn-live-reload-kid)
```

###  Alternatives

[regularjack/frontend-bundle

A modern frontend development workflow for Symfony apps

3122.6k](/packages/regularjack-frontend-bundle)

PHPackages © 2026

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