定制 ideato/idephix 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ideato/idephix

Composer 安装命令:

composer require ideato/idephix

包简介

PHP automation and deploy tool.

README 文档

README

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

统计信息

  • 总下载量: 33.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 65
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 65
  • Watchers: 28
  • Forks: 19
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固