PHPackages                             nfra/ctool - 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. [Templating &amp; Views](/categories/templating)
4. /
5. nfra/ctool

ActiveLibrary[Templating &amp; Views](/categories/templating)

nfra/ctool
==========

Script to update config files using template

v1.3.1(5y ago)02.7k—3.2%MITShellPHP &gt;=7.2

Since Sep 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/nfra-project/nfra-ctool)[ Packagist](https://packagist.org/packages/nfra/ctool)[ Docs](http://infracamp.org/project/phore)[ RSS](/packages/nfra-ctool/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

nfra ContainerTool ctool
========================

[](#nfra-containertool-ctool)

A command line utility to configure containers easily using templates.

```
ctool --autoload /opt/bootstrap.php

```

TL;DR
-----

[](#tldr)

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

[](#installation)

```
composer require -g nfra/ctool

```

Writing Config files
--------------------

[](#writing-config-files)

Just place a config file in the correct folder and append the extension `.php`.

Within the file you can generate output as you want:

```
\Phore\CloudTool\CloudToolTemplate::Get()->setOnChangeAction();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

2062d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/878a384d056698a2400e4b7c8858db05a6caebb2c560e67151be36d46d58def0?d=identicon)[dermatthes](/maintainers/dermatthes)

---

Top Contributors

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

---

Tags

configtemplatetext

### Embed Badge

![Health badge](/badges/nfra-ctool/health.svg)

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

###  Alternatives

[phpoffice/phpword

PHPWord - A pure PHP library for reading and writing word processing documents (OOXML, ODF, RTF, HTML, PDF)

7.5k34.7M183](/packages/phpoffice-phpword)[rize/uri-template

PHP URI Template (RFC 6570) supports both expansion &amp; extraction

420137.3M46](/packages/rize-uri-template)[text/template

Simple and secure string-template-engine (Twig-like syntax) with nested if/elseif/else, loops, filters. Simple OOP api: Just one class doing the job (2-lines of code). Fast and secure: No code-generation, no eval'ed() code. Extensible by callbacks. Fully tested. Rich examples included.

38201.1k10](/packages/text-template)

PHPackages © 2026

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