Download the PHP package kohkimakimoto/altax without Composer
On this page you can find all versions of the php package kohkimakimoto/altax. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kohkimakimoto/altax
More information about kohkimakimoto/altax
Files in kohkimakimoto/altax
Package altax
Short Description Altax is an extensible deployment tool for PHP.
License Apache-2.0
Homepage https://github.com/kohkimakimoto/altax
Informations about the package altax
Altax
Altax is a deployment tool for PHP. I designed it as a command-line tool for running tasks to remote servers like the Capistrano, Fabric and Cinamon. It also has a plugin mechanism for managing and installing tasks easily.
This is a simple git deploy task definition. You can write any tasks in PHP.
You can run it like below
You can get more information at http://kohkimakimoto.github.io/altax/.
Requirement
PHP5.3 or later.
Installation
I recommend you to install Altax as a phar (PHP Archive) which compiled to single executable file. Run the below command to get latest version of Altax.
You will get altax
command file to /usr/local/bin
directory. In order to check installation,
execute just altax
command.
Usage
I describe basic usage in this section.
Run altax init
command to generate first configuration.
Created .altax/config.php
file in your current directory is a main configuration file for altax.
You can modify this file to define tasks and servers you managed.
So now, add the following code in the file.
This is a simple task definition. Defined task is listed by executing just altax
command.
hello
task you defined can be executed by altax
command with task name like the followiing.
You got a first altax task now!
If you want to see more information, visit a documentation page.
Documentation
See documentation page.
Plugins
Altax has a extensible plugin mechanism. It makes adding functionality easy. Plugins are stored at Packagist and installed using composer. As Altax includes embedded composer, you can install plugins by altax command.
For instance, if you use PHP5.4 and MySQL database in your product, you can use Adminer database management tool via Altax plugin.
Edit your .altax/composer.json
file like the following.
And run altax update command which is a wrapper command of composer update
for Altax.
Adminer altax plugin will be installed in your .altax/vendor
directory.
In order to register the plugin to your task, add the following line your .altax/config.php
file.
Run the registered plugin task commnad.
Altax runs adminer on built-in web server. So you can use adminer at http://localhost:3000/
.
If you are interested in Altax plugins, Search plugins at packagist!
Author
Kohki Makimoto [email protected]
License
Apache License 2.0
See LICENSE
Previous version
If you use Altax version 2. You can see 2.x branch. Altax version 1 is no longer maintained.
All versions of altax with dependencies
composer/composer Version 1.0.*@dev
symfony/console Version 2.5.*
symfony/filesystem Version 2.5.*
symfony/yaml Version 2.5.*
symfony/finder Version 2.5.*
symfony/process Version 2.5.*
phpseclib/phpseclib Version 2.0.6