PHPackages                             vierbergenlars/clic - 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. vierbergenlars/clic

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

vierbergenlars/clic
===================

v1.2.0(9y ago)017MITPHP

Since Aug 4Pushed 9y ago1 watchersCompare

[ Source](https://github.com/vierbergenlars/clic)[ Packagist](https://packagist.org/packages/vierbergenlars/clic)[ RSS](/packages/vierbergenlars-clic/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (5)Versions (10)Used By (0)

clic
====

[](#clic)

User-friendly PHP application deployment and set-up.

`clic` keeps track of applications and their configuration parameters, helps with setting up deploy keys for private git repositories, and helps with publishing the application by linking the application to a publically accessible location.

License
-------

[](#license)

`clic` is licensed under the terms of the MIT license.

See the [license.md](https://github.com/vierbergenlars/clic/blob/master/license.md) file for a full copy of the license.

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

[](#installation)

### Option 1: As a phar file (with phar-composer)

[](#option-1-as-a-phar-file-with-phar-composer)

The preferred way to install `clic` is with the [`phar-composer` tool](https://github.com/clue/phar-composer). You will first need to [install](https://github.com/clue/phar-composer/#install) phar-composer. It is a very useful tool that allows you to create runnable phar files from Composer packages.

If you have phar-composer installed, you can run:

```
sudo phar-composer install vierbergenlars/clic
```

to have it build and install the phar file in your `$PATH`, which allows you to run it as `clic` from the commandline.

Or you can run

```
phar-composer build vierbergenlars/clic
```

and copy the resulting phar file manually to where you want it.

### Option 2: As a phar file (download)

[](#option-2-as-a-phar-file-download)

If you do not want to install phar-composer, you can download the `clic.phar` file from the [latest release](https://github.com/vierbergenlars/clic/releases/latest).

Don't forget to make the file executable with `chmod +x clic.phar` and move it somewhere within your `$PATH`.

### Option 3: As a global composer installation

[](#option-3-as-a-global-composer-installation)

`clic` can be installed with [composer](https://getcomposer.org).

```
composer global require vierbergenlars/clic
```

You can use this to install CLI utilities globally, all you need is to add the `COMPOSER_HOME/vendor/bin` dir to your `PATH` env var.

COMPOSER\_HOME is `c:\Users\\AppData\Roaming\Composer` on Windows and `/home//.composer` on unix systems.

### Option 4: From source

[](#option-4-from-source)

`clic` can also be installed by downloading and extracting [an archive](https://github.com/vierbergenlars/clic/archive/master.zip) or cloning the repository.

Next, run a `composer install` within the application's directory to install dependencies.

Finally, add the `bin/` folder to your `PATH`, or to symlink `bin/clic` to a folder in your `PATH`.

Initial configuration
---------------------

[](#initial-configuration)

Initial configuration and setup of directories are set up with `clic config:init`

Global configuration is stored in `~/.clic-settings.json` (or the file referred to with the `--config` option) More information about the file format is available in the [documentation](https://github.com/vierbergenlars/clic/tree/master/documentation/clic-settings.md), though you probably do not need to edit this file manually.

Usage
-----

[](#usage)

You clone/extract *applications* from a repository or tarball. Then a script to complete the install and enter configuration parameters is launched as defined in the applications' `.cliconfig.json` file. The application may then be made publicly accessible by adding *vhost* that refers to the application. This is a symlink that has the applications' `web-dir` as target. This way files that should not be publicly accessible are kept out of the document root.

### Applications

[](#applications)

Commands to manipulate applications are available within the `application` namespace

```
application:add           Add an existing application
application:clone         Create a new application from remote repository
application:execute       Executes application scripts
application:extract       Create a new application from an archive
application:list          Lists all applications
application:override      Changes the configuration file for an application
application:remove        Removes an application
application:show          Shows application information
application:variable:get  Shows variable value for an application
application:variable:set  Sets variable value for an application

```

Details are available in the [application section of the documentation](https://github.com/vierbergenlars/clic/tree/master/documentation/application.md)

### Vhosts

[](#vhosts)

Commands to manipulate vhosts are available within the `vhost` namespace.

```
vhost:add                 Add web-accessible entrypoint to an application
vhost:disable             Disables one or more vhosts
vhost:enable              Enables one or more vhosts
vhost:fix                 Fixes one or more vhosts
vhost:list                Lists all vhosts
vhost:remove              Remove web-accessible entrypoint to an application
vhost:show                Shows vhost information

```

Details are available in the [vhost section of the documentation](https://github.com/vierbergenlars/clic/tree/master/documentation/vhost.md)

### Repositories

[](#repositories)

Ssh deploy keys for private repositories can also be managed with `clic`. They are available in the `repository` namespace.

```
repository:add            Add deploy key to a repository
repository:generate-key   Generates deploy key to a repository
repository:list           Lists all repositories
repository:remove         Remove deploy key from a repository
repository:show           Shows repository information

```

Details are available in the [repository section of the documentation](https://github.com/vierbergenlars/clic/tree/master/documentation/repository.md)

### Configuration

[](#configuration)

All configuration parameters can be manipulated with the commands in the `config` namespace. These are low-level commands, most of the time higher-level commands are used to manipulate these values.

```
config:get                   Shows configuration value
config:init                  Initialize configuration
config:set                   Sets configuration values
config:unset                 Removes configuration values

```

Details are available in the [config section of the documentation](https://github.com/vierbergenlars/clic/tree/master/documentation/config.md)

License
-------

[](#license-1)

[MIT](https://github.com/vierbergenlars/clic/tree/master/license.md)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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 ~2 days

Total

9

Last Release

3602d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/18169985c64a307450da907595cc928bec99e316c0b8da5114b2708691ad8e6d?d=identicon)[vierbergenlars](/maintainers/vierbergenlars)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/vierbergenlars-clic/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k193.1M3.0k](/packages/composer-composer)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54642.4k4](/packages/jolicode-castor)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)

PHPackages © 2026

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