Download the PHP package krislux/anano-console without Composer

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

Anano-Console - stand-alone CLI interface / task runner.

What

This is mainly a simple framework, intended to make it easier to create and manage your own CLI tasks in any project.

The main feature is automatic documentation using reflection, making it easy to create, use and manage helper functions, as well as recall how to use them in the future, and share them with other developers.

Usage

After following the installation instructions below, simply open a terminal in your project root and run:

php run

Because of the automatic documentation, most of the use will be self-explanatory.
You can run any command with php run filename:methodname and get help on use by suffixing --help to any command, with or without method, e.g. php run command --help or php run command:make --help.

To get started making your own command files, run php run command:make example, which will create an ExampleCommand.php in the first listed directory in the configuration, containing a lot of helpful comments and example methods. Or if you know what you are doing, pass --clean to get a barebones command file, ready for you to fill out.

Parameters

Anano-Console approximates a standard GNU/Bash parameter syntax. There are four types of parameters:

Short options can be grouped, i.e. -a -b -c is the same as -abc.
All options can come before, after or inbetween positional arguments - all that matters there is the order.

Coding

A command file has access to some helpful methods to access arguments, etc.

Installation

For Anano:

Navigate to the root of your Anano 2 or above installation, then run

Or require-dev if you do not want it on your production server.

Stand-alone:

Follow the procedure above, but after installation is complete, you must manually copy /vendor/krislux/anano-console/bin/run to your project root and set any necessary permissions.

I haven't been able to figure a way to do this automatically, as Composer doesn't run post-install scripts from libraries.

After this, you may want to open the run file in any text editor and have a look at the configuration part near the top.

License

MIT license.


All versions of anano-console with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.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 krislux/anano-console contains the following files

Loading the files please wait ....