Download the PHP package gravitymedia/commander without Composer

On this page you can find all versions of the php package gravitymedia/commander. 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 commander

Commander

Latest Version on Packagist Build Status Coverage Status Quality Score Total Downloads Dependency Status

Commander is a task manager/runner application for PHP.

Requirements

This application has the following requirements:

Usage

Commander was designed to be used as a type of SQLite based task manager and runner. You can add new tasks to the schedule, run them and watch the result. A task consists of a commandline which will be executed and an optional priority. For now the tasks are unique and can only be added once to the schedule.

You can use Commander in one of the three following ways.

As a Phar

This is the recommended way of using Commander. Download the latest Phar from the releases section.

Commander can then be executed out of the box by running:

As a global Composer package

Install composer in your project:

Require the package as a global dependency via Composer:

As a Composer dependency

Install composer in your project:

Require the package as a dependency for development via Composer:

Configuration

Commander can be configured with a JSON file named commander.json. This file should be located in the current working directory. It's location can also be defined with the --configuration option.

Name Description
databaseFilePath The file path to the database file
cacheDirectory The directory where the cache files will be stored (e.g. .commander)
logFilePath The file path to the log file (e.g. commander.log)
processTimeout The timeout after which every task will be killed

The following configuration complies with the default configuration:

Examples

You can list all the commands by running Commander without an argument.

For the following examples assume that Commander is available as a Phar in the current working directory.

Create new task or update existing task

The first command will join a task that will later print out Hello world!. The next command will change the priority of this task, so the next task will then run (with default priority) before this one.

Show information about all joined tasks

This command will list all tasks:

The output will be rendered as an ASCII table.

Run all joined tasks

To run all joined tasks execute the following command:

The output will be printed to STDOUT and STDERR respectively. Use the -q option to omit the output. When a log file path was specified, the output will also be logged.

Remove all terminated tasks

To reduce the number of tasks in the database the terminated tasks can be purged of the database file:

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of commander with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
ext-pdo_sqlite Version *
doctrine/orm Version ^2.5
gedmo/doctrine-extensions Version ^2.4
monolog/monolog Version ^1.21
symfony/console Version ^3.1
symfony/process Version ^3.1
symfony/serializer Version ^3.1
zendframework/zend-servicemanager Version ^3.1
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 gravitymedia/commander contains the following files

Loading the files please wait ....