PHPackages                             phpgithook/module-hello-world - 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. phpgithook/module-hello-world

ActivePhpgithook-module[Utility &amp; Helpers](/categories/utility)

phpgithook/module-hello-world
=============================

PHPGithook - Hello World module

v1.0.0(6y ago)00MITPHPPHP &gt;=7.4

Since Jun 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/phpgithook/module-hello-world)[ Packagist](https://packagist.org/packages/phpgithook/module-hello-world)[ RSS](/packages/phpgithook-module-hello-world/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

PHPGithook - Example module
---------------------------

[](#phpgithook---example-module)

This is a module, to show off what PHPGithook can do.

### How to create a module

[](#how-to-create-a-module)

First of all you MUST have a file with the name `Setup.php` and this file must implement `PHPGithook\ModuleInterface\PHPGithookSetupInterface`

You must require [`phpgithook/module-interface`](https://github.com/phpgithook/module-interface) in your composer file, to get access to the interfaces.

You do not need to create a file for all git hooks, you can just create those you want, you can also put everything inside the `Setup.php` file if you want.

### How to test a module

[](#how-to-test-a-module)

You can require [`phpgithook/module-tester`](https://github.com/phpgithook/module-tester) in your composer dev requirements, and create a test file which extends `PHPGithook\ModuleTester\ModuleTester` and implement the abstract method, with the path to your `Setup.php` file.

If you don't implement all the git hooks, a warning will be thrown, if its intentionally these warnings can ofcourse be ignored.

### Install

[](#install)

As this is a example module, it shouldn't be used - but you can ofcourse use it if you want.

Install it with `composer require phpgithook/module-hello-world`

And to activate it, you must run `vendor/bin/phpgithook phpgithook:module:enable helloworld`

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

2217d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ff9304e6a7caa208d631a1529240a97dff2f47dadde7bff153e8a90818047168?d=identicon)[lsv](/maintainers/lsv)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phpgithook-module-hello-world/health.svg)

```
[![Health](https://phpackages.com/badges/phpgithook-module-hello-world/health.svg)](https://phpackages.com/packages/phpgithook-module-hello-world)
```

PHPackages © 2026

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