Download the PHP package linkorb/commando without Composer

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

Commando

Commando is a generic job-runner.

You can define your own commands in Json or Yaml files, and process jobs from different stores such as a directory of files, or a database.

It's goal is to make it easy to implement background jobs into your application.

An example workflow:

  1. You define a command "hello" in commando.yml:

  2. Your app writes a job into /your/commando-path/new called 1.json:

  3. You (or cron) runs commando run.
  4. Commando will check for new job files in the configured store (in this case a directory), execute the command, replacing arguments in the template with the passed job arguments, finally executing echo "Hello universe"
  5. Commando reports the job status back to the store, including exit codes, start/end times, total duration, and stdout and stderr
  6. Your app reports back to the user if needed, based on the status report.

Stores:

Use-cases

You can replace the template with much more complex command-lines or shell-scripts.

Your app should treat these jobs as "fire-and-forget", meaning the app should not block, waiting for response. It's most ideal in scenarios where your triggers commands and doesn't need to know about the response right away:

Examples:

Conventional Commits

This repository is using Conventional Commits

Please run npm install at least once, in order to install the appropriate tooling and git hooks (this helps you to follow the conventions by linting them before actually committing).

In short: you should prefix your commit titles with the correct type (i.e. feat: my new cool feature). This helps to create clear commit histories, automatically handles semver, tagging and CHANGELOG.md generation.

If you'd like to reference a card in our planning system, simply add a #123 to the end of your commit title. The card will be correctly linked from the changelogs etc.

To publish a new release, simply run npm run publish. This will update the changelog, and manifests like composer.json, package.json, etc to a new tag. The tag follows Semver, and is selected based on your commit types since the last release.

License

Please refer to the included LICENSE.md file

Brought to you by the LinkORB Engineering team


Check out our other projects at engineering.linkorb.com.

Btw, we're hiring!


All versions of commando with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ^2.7|^3.0|^4.0
zordius/lightncandy Version ~0.93
symfony/yaml Version ^2.7|^3.0|^4.0
symfony/process Version ^2.7|^3.0|^4.0
andrewfenn/pid-helper Version 0.1.0
hipchat/hipchat-php Version ^1.0
symfony/event-dispatcher Version ^2.7|^3.0|^4.0
maknz/slack Version ^1.7
symfony/http-client Version ^4.3
psr/http-client Version ^1.0
nyholm/psr7 Version ^1.1
linkorb/autotune Version ^1.2
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 linkorb/commando contains the following files

Loading the files please wait ....