Welcome to Idephix’s documentation!

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. The choice is up to you. Idephix is still in alpha, so things will change. You can report issues and submit PRs (greatly appreciated :-)) on the github repo

Basically what you’re going to do is define a bunch of function in a php file and execute them from the command line.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<?php
/**
* This command will yell at you
*
* @param string $what What you want to yell
*/
function yell(\Idephix\Context $context, $what = 'foo')
{
   $context->writeln(strtoupper($what));
}
$ bin/idx yell "say my name"
SAY MY NAME

Requirements

PHP 5.3.2 or above, at least 5.3.12 recommended

License

Idephix is mantained by ideato, licensed under the MIT License.