PHPackages                             serafim/haxe-watcher - 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. serafim/haxe-watcher

AbandonedArchivedComposer-plugin

serafim/haxe-watcher
====================

Haxe language watcher

30PHP

Since Feb 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/SerafimArts/HaxeWatcher)[ Packagist](https://packagist.org/packages/serafim/haxe-watcher)[ RSS](/packages/serafim-haxe-watcher/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Haxe PHP Watcher
================

[](#haxe-php-watcher)

- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Example](#example)

Requirements
------------

[](#requirements)

1. PHP &gt;= 7.4
2. Haxe Compiler (for local development only)
3. Composer

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

[](#installation)

- `composer require serafim/haxe-watcher`

Configuration
-------------

[](#configuration)

Configuration using `extra` section in your `composer.json` file:

```
{
    "extra": {
        "haxe": {
            // Path to Haxe Compiler.
            //  - Information from the PATH environment variable
            //    is read by default ("haxe" binary).
            "compiler": "/usr/bin/haxe",

            // Path to source files.
            //  - Information from the "autoload" (psr-0, psr-4, classmap)
            //    section is read by default.
            "src": [
                "path/to/sources"
            ],

            // Number of milliseconds to check file updates.
            //  - 60000 by default
            "watch": 60000,

            // The name of the configuration file generated for
            // the Haxe Compiler.
            //  - "build.hxml" by default
            "config": "test.hxml"
        }
    }
}
```

Usage
-----

[](#usage)

#### Haxe Compiler Version

[](#haxe-compiler-version)

```
$ composer haxe:version
```

#### Run Haxe Watcher

[](#run-haxe-watcher)

```
$ composer haxe:watch
```

Example
-------

[](#example)

### Project Structure

[](#project-structure)

```
- app/
    - Main.hx
- composer.json

```

### Instruction

[](#instruction)

1. Create `composer.json` with following code

```
{
    "require": {
        "serafim/haxe-watcher": "*"
    },
    "autoload": {
        "psr-4": {
            "app": "app"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}
```

2. Create `app/Main.hx` with following code:

Main.hx File

```
module app;

class Main {
    static function main() {
        Sys.println("test");
    }
}
```

3. Run watcher: `composer haxe:watch`

[![](https://camo.githubusercontent.com/7cc3adcfaab37028365c78557735f2b4ebffe23a18f86e55f1f0e10caaf14dcf/68747470733a2f2f686162726173746f726167652e6f72672f776562742f6b612f62702f796c2f6b616270796c35613638367a6a73736161786b6d6f3137797a30612e706e67)](https://camo.githubusercontent.com/7cc3adcfaab37028365c78557735f2b4ebffe23a18f86e55f1f0e10caaf14dcf/68747470733a2f2f686162726173746f726167652e6f72672f776562742f6b612f62702f796c2f6b616270796c35613638367a6a73736161786b6d6f3137797a30612e706e67)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150420?v=4)[Ruslan Sharipov](/maintainers/Serafim)[@serafim](https://github.com/serafim)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/serafim-haxe-watcher/health.svg)

```
[![Health](https://phpackages.com/badges/serafim-haxe-watcher/health.svg)](https://phpackages.com/packages/serafim-haxe-watcher)
```

PHPackages © 2026

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