cookyii/build
Composer 安装命令:
composer require cookyii/build
包简介
Simple build tool
README 文档
README
Cookyii/build is a simple PHP build tool for any projects.
Documentation
Quick start (LEGACY, NOT ACTUAL)
Installing
$ composer require cookyii/build:dev-master
Updating
$ ./build self/update
or Composer
$ composer require cookyii/build:dev-master
Configuration
In project path must be file build.php (It can be called whatever you like. The name build.php is taken by default.)
/var/www/my-project/build.php:
<?php return [ 'map' => [ '.description' => 'Show map of all tasks in current build config', '.task' => 'cookyii\build\tasks\MapTask', ], 'default' => [ '.description' => 'Build project with demo environment', '.depends' => ['composer'], ], 'self' => [ '.description' => 'Internal tasks', '.task' => [ 'class' => 'cookyii\build\tasks\SelfTask', 'composer' => '../../composer.phar', ], ], 'composer' => [ '.description' => 'Install all depending composer for development environment (with `required-dev`)', '.task' => [ 'class' => 'cookyii\build\tasks\ComposerTask', 'defaultTask' => 'install', ], ], ];
Usage (run build)
$ ./vendor/bin/build # start build from `default` task $ ./vendor/bin/build composer # start build from `composer` task $ ./vendor/bin/build -c build.dev.php # start build with specified configuration file `build.dev.php`
Task reference
BlankTask- empty task, which is used when a class is not specified.CallableTask- task to execute php function (callable).ChmodTask- task to change file mode (chmod).ChownTask- task to change owner (chown).CommandTask- task to execute programm on the command line (cli command).ComposerTask- task to executecomposerfunctions.DeleteTask- task deletes files.EchoTask- task displays custom message.FileExistsTask- task checks for the existence of the file.InputTask- prompt task.LockTask- task of managing locking file.MapTask- task displays a map of all available tasks.ReplacementTask- task of replacing placeholders in file.SelfTask- task with internal taskscookyii/build.
cookyii/build 适用场景与选型建议
cookyii/build 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 131 次下载、GitHub Stars 达 3, 最近一次更新时间为 2015 年 05 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「build」 「tool」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cookyii/build 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cookyii/build 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cookyii/build 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Backend Google Sign On for Magento 2
An app setting manager tool for laravel nova
A simple library for make Lexer and Parsers to build a language
Dash (LOVE) Docset Builder in PHP (LOVE).
The Message Submission Agent Diagnostics tool (msadiag) facilitates testing the compatibility of third party message submission agents.
Convert doctrine dbal query result to dto
统计信息
- 总下载量: 131
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 11
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-27