PHPackages                             troy/crontab-manager - 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. troy/crontab-manager

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

troy/crontab-manager
====================

a lib to control the crontab file

071PHP

Since May 16Pushed 12y ago1 watchersCompare

[ Source](https://github.com/lygfanye/crontab-manager)[ Packagist](https://packagist.org/packages/troy/crontab-manager)[ RSS](/packages/troy-crontab-manager/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

crontab-manager
===============

[](#crontab-manager)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require troy/crontab-manager "*"

```

or add

```
"troy/crontab-manager": "*"

```

to the require section of your `composer.json` file.

usage:
------

[](#usage)

1.simple example:

```
	use troy\CrontabManager\Crontab;

	$crontab = new Crontab(array(
	 'command'=>'command script',
	 .....
	));

	$cm = new troy\CrontabManager\CrontabFileManager('');

	$cm->append($crontab);
	$cm->remove($crontab);

	$newCrontab = new Crontab(array(
	 'command'=>'command script 2'
	));

	$cm->update($crontab,$newCrontab);

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/troy-crontab-manager/health.svg)

```
[![Health](https://phpackages.com/badges/troy-crontab-manager/health.svg)](https://phpackages.com/packages/troy-crontab-manager)
```

PHPackages © 2026

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