ideato / idephix
PHP automation and deploy tool.
Requires
- php: >=5.3.9
- nikic/php-parser: ^1.3
- symfony/console: ~2.3
- symfony/options-resolver: ^2.1
- symfony/process: ~2.3
Requires (Dev)
- mikey179/vfsstream: 1.3.*@dev
This package is not auto-updated.
Last update: 2024-11-09 17:14:15 UTC
README
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
-
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
-
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
- Manuel 'Kea' Baldassarri mb@ideato.it
- Michele 'Orso' Orselli mo@ideato.it
- Filippo De Santis fd@ideato.it
- other contributors
License
Idephix is licensed under the MIT License - see the LICENSE file for details