Download the PHP package vierbergenlars/clic without Composer

On this page you can find all versions of the php package vierbergenlars/clic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package 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

clic is licensed under the terms of the MIT license.

See the license.md file for a full copy of the license.

Installation

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

The preferred way to install clic is with the phar-composer tool. You will first need to 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:

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

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

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.

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

clic can be installed with composer.

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\<user>\AppData\Roaming\Composer on Windows and /home/<user>/.composer on unix systems.

Option 4: From source

clic can also be installed by downloading and extracting an archive 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 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, though you probably do not need to edit this file manually.

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

Commands to manipulate applications are available within the application namespace

Details are available in the application section of the documentation

Vhosts

Commands to manipulate vhosts are available within the vhost namespace.

Details are available in the vhost section of the documentation

Repositories

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

Details are available in the repository section of the documentation

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.

Details are available in the config section of the documentation

License

MIT


All versions of clic with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ^3.1
symfony/finder Version ^3.1
symfony/process Version ^3.1
justinrainbow/json-schema Version ^2.0
padraic/phar-updater Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vierbergenlars/clic contains the following files

Loading the files please wait ....