Download the PHP package guilhermegeek/ken without Composer

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

Ken

Ken is a project automation tool in Hacklang and can be used as a general build tool as well.

Ken exists because of Bob, a great PHP tool it's based on. I haven't forked because the project changed too much.

How it works

Ken doesn't use XML/JSON for task files. Instead, tasks are registered with the PHP language itself using the TaskLibraryInterface or configuration files.

Application is the core object used by developers to register task files or libraries.

The tasks are created by TaskFactory.

Getting Started

If not specified, the default configuration file is loaded from ken_config.php

If the folder ken_tasks exists, then all files inside it are threated as configuration files.

A configuration file is required at runtime and uses 2 functions:

The configuration file has also a global instance of Application that can be accesed outside the task closure, internally know as action.

To provide a better OOO approach, you can define tasks instead with TaskLibraryInterface.

Libraries are registered in Application with:

To create a new library you must implement the TaskLibraryInterface. For an example, check the ComposerLibrary which manage composer packages.

Client Interfaces

The ClientInterface represents the entry point for developers to use the Ken library.

For now there're two implementations for ClientInterface:

While the CLI is used to execute tasks directly from the command line, the Host is used to be consumed inside other code.

Both Cli and Host initialize the client dependencies creating a new Application then the method run is invoked.

Cli

The CLI is pretty straightford and you can access it through bin/ken.

When called the run method, the Cli executes the tasks.

Host

The Host client must be run at Application Startup, before any consumption to Ken is done. To execute the tasks, the developer invokes the task method.

Install

Pre Requesites

Ken needs at least hhvm 3.8 to run.

Composer

Add the guilhermegeek/ken package to the require-dev section in your composer

Then run composer install -dev

You can invoke ken with:


All versions of ken with dependencies

PHP Build Version
Package Version
Requires guilhermegeek/communia Version dev-dev
chh/optparse Version ^0.1.0
symfony/process Version ^3.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 guilhermegeek/ken contains the following files

Loading the files please wait ....