PHPackages                             devtical/compack - 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. [CLI &amp; Console](/categories/cli)
4. /
5. devtical/compack

ActiveLibrary[CLI &amp; Console](/categories/cli)

devtical/compack
================

Template-based composer package generator

v1.0.0(3y ago)5151[1 issues](https://github.com/devtical/compack/issues)MITPHPPHP ^8.0

Since Oct 19Pushed 3y agoCompare

[ Source](https://github.com/devtical/compack)[ Packagist](https://packagist.org/packages/devtical/compack)[ GitHub Sponsors](https://github.com/Kristories)[ RSS](/packages/devtical-compack/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (10)Versions (3)Used By (0)

[![Logo Laravel Dusk](./art/logo.svg)](./art/logo.svg)

[![Build Status](https://github.com/devtical/compack/actions/workflows/tests.yml/badge.svg)](https://github.com/devtical/compack/actions)[![Total Downloads](https://camo.githubusercontent.com/e04f1a3a317f836828a9382652e3fd2b5da2d286a24c1f036190d4d124953b64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646576746963616c2f636f6d7061636b)](https://packagist.org/packages/devtical/compack)[![Latest Stable Version](https://camo.githubusercontent.com/9106388647ac0a89396f94134082ff074d52d7fc359a47adf92b342139d72d5c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646576746963616c2f636f6d7061636b)](https://packagist.org/packages/devtical/compack)[![License](https://camo.githubusercontent.com/41e96681d7228491801b7fa4cf6780e9725fe5981377d006dd4e0193dff101ac/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f646576746963616c2f636f6d7061636b)](https://packagist.org/packages/devtical/compack)

Introduction
------------

[](#introduction)

Template-based composer package generator.

RepositoryCode[Generic PHP](https://github.com/devtical/compack-template-generic)`devtical/compack-template-generic`[Laravel](https://github.com/devtical/compack-template-laravel)`devtical/compack-template-laravel`Yours*Docs soon*Installation
------------

[](#installation)

```
composer global require devtical/compack
```

Make sure to place composer's system-wide vendor bin directory in your `$PATH` so the compack executable can be located by your system.

This directory exists in different locations based on your operating system; however, some common locations include:

OSLocationmacOS`$HOME/.composer/vendor/bin`Windows`%USERPROFILE%\AppData\Roaming\Composer\vendor\bin`GNU / Linux Distributions`$HOME/.config/composer/vendor/bin` or `$HOME/.composer/vendor/bin`You could also find the composer's global installation path by running `composer global about` and looking up from the first line.

Usage
-----

[](#usage)

Once installed, the `compack new` command will create a new package in the directory you specify.

[![Usage](./art/cast.gif)](./art/cast.gif)

### Template from directory

[](#template-from-directory)

You can refer to the template from your local folder if you don't want to use the templates we provide on GitHub. This is also useful if you are developing templates.

```
Template Repository [devtical/compack-template-generic]:
> /Users/kristories/templates/my-awesome-template
```

Change log
----------

[](#change-log)

Please see the [changelog](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email author instead of using the issue tracker.

Credits
-------

[](#credits)

- [Wahyu Kristianto](https://github.com/devtical)
- [All contributors](https://github.com/devtical/compack/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see the [license file](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Every ~3 days

Total

2

Last Release

1304d ago

Major Versions

v0.0.1 → v1.0.02022-10-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/6aec55704f55f6828d892ca89d2bb8d830422a35f210a786ab6903a668caf3b5?d=identicon)[Kristories](/maintainers/Kristories)

---

Top Contributors

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

---

Tags

composergeneratorlaravelpackagephpcomposercliconsolepackagegenerator

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/devtical-compack/health.svg)

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

###  Alternatives

[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)

PHPackages © 2026

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