💥 Automation and deploy tool - ALPHA release - things can catch fire in any moment!
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
docs
src/Idephix
tests
.gitattributes
.gitignore
.php_cs
.travis.yml
CONTRIBUTING.md
README.md
box.json
composer.json
composer.lock
id_rsa_idephix_doc.enc
idxfile.php

README.md

Stories in Ready Gitter Build Status Read the docs SensioLabsInsight Latest Stable Version Total Downloads Monthly Downloads License

Idephix - Automation and Deploy tool

Idephix is a PHP automation tool useful to perform remote and local tasks. It can be used to deploy applications, rotate logs, synchronize data repository across server or create a build system. If you want to learn more about how to use it read the docs.

Installation / Usage

  1. Download the idephix.phar executable and init your idxfile.

    $ curl -LSs http://getidephix.com/idephix.phar > idephix.phar
    $ chmod a+x idephix.phar
    $ idx initFile
  2. Now you can define tasks just defining php functions in your idxfile.php

    <?php
    
    /**
     * Execute the touch of a file specified in input
     * @param string $name the name of the file to be touch-ed
     * @param bool   $go   if not specified the script execute a dry-run
     */
    function testParams(\Idephix\Context $context, $name, $go = false)
    {
         $context->local('touch /tmp/'.$name);
         $context->remote('touch /tmp/'.$name.'_remote');
    }
    

For more information about how to define tasks, configuration for multiple environments and much more read the docs. Global installation of Idephix

Deploying with Idephix

Idephix is good for many different jobs, but we like to use it especially for application deployment. In fact out of the box your idxfile.php will be initialized using our recipe for PHP application deployment that you can use as a starting point for your projects.

Requirements

PHP 5.3.2 or above, >=5.3.12 recommended

Authors

License

Idephix is licensed under the MIT License - see the LICENSE file for details