PHPackages                             kozo/watchmaker - 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. kozo/watchmaker

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

kozo/watchmaker
===============

0.1.0(6y ago)13.3k↓74.2%2PHPCI failing

Since May 9Pushed 6y ago2 watchersCompare

[ Source](https://github.com/kozo/watchmaker)[ Packagist](https://packagist.org/packages/kozo/watchmaker)[ RSS](/packages/kozo-watchmaker/feed)WikiDiscussions master Synced 1w ago

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

Watchmaker
==========

[](#watchmaker)

[![CircleCI](https://camo.githubusercontent.com/9f73dd74a0e7ada45d077a74c698dcbcb1284b4de24f75002e32873bc3c1e27a/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f6275696c642f6769746875622f6b6f7a6f2f77617463686d616b65722e7376673f7374796c653d666c61742d737175617265)](https://circleci.com/gh/kozo/watchmaker)[![Scrutinizer code quality (GitHub/Bitbucket)](https://camo.githubusercontent.com/f0e6a1a8133af138633027f332a07135a08c1d8619deb4ddfc197d9e52ace3b7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f6b6f7a6f2f77617463686d616b65722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/kozo/watchmaker/)

Watchmaker is a library to manage "crontab" with code.

requirements
------------

[](#requirements)

- PHP 7.2+
- crontab

Usage
-----

[](#usage)

Watchmaker is supported by the following frameworks. Use the framework's wrapper.

- For Laravel

    - [quartz](https://github.com/kozo/quartz)
- For CakePHP3, CakePHP 4

    - [mechanical](https://github.com/kozo/mechanical)

etc
---

[](#etc)

- dragonmantank/cron-expressionを利用してcronの書式をチェックする
- テンプレート作成機能を作る
- オプションを追加する
    - 引数nameを classに変更 (ショートはc)
    - 引数ネームスペースにショートを追加 (n)
    - -b バックアップオプション
    - -d watchmakerに存在しないものはcronから削除する
    - -f watchmakerに存在しないものはcronから削除する(-d よりこっちがいいかな？コメント行の管理とかがむずすぎる. forceモードで完全に上書きする)
    - -i 対話モード(非対話モード) quietがデフォルトであるので不要かな？
    - --allways カラー強制モード ansiがデフォルトであるので不要かな？
- アンインストールを作る (Cron.phpに設定されてる行を削除する)
- カラーリングを自前実装に切り替える or 別ライブラリを探す (allwasyが使えない, compose scriptで動かすときにカラーリングができるやつ)
    - オーバーライドで対応完了
- watchmaker単体でつかえるようにする
- リファクタリング
    - watchmaker
    - quartz
    - mechanical
        - CakePHP4対応
        - CakePHP3対応

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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

2292d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11993e1bc87ed0dd4a9c11b61907b373204de9af63971d97cceb3f6142c4aa2c?d=identicon)[saku](/maintainers/saku)

---

Top Contributors

[![kozo](https://avatars.githubusercontent.com/u/285535?v=4)](https://github.com/kozo "kozo (18 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kozo-watchmaker/health.svg)

```
[![Health](https://phpackages.com/badges/kozo-watchmaker/health.svg)](https://phpackages.com/packages/kozo-watchmaker)
```

###  Alternatives

[lavary/laravel-menu

A quick way to create menus in Laravel 5

1.2k2.2M48](/packages/lavary-laravel-menu)[webignition/internet-media-type

PHP model of an http://en.wikipedia.org/wiki/Internet\_media\_type

11156.6k14](/packages/webignition-internet-media-type)[bennettstone/magicmin

MagicMin is a PHP based javascript and stylesheet minification and merging class designed to generate minified, merged, and automatically updating files to simplify the process of minified file usage and updating when going between production and development environments.

495.9k](/packages/bennettstone-magicmin)

PHPackages © 2026

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