承接 aboks/php-src-devtools 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

aboks/php-src-devtools

Composer 安装命令:

composer require aboks/php-src-devtools

包简介

Tools to make it easier to build, run and test PHP from source, using Docker

README 文档

README

Latest Stable Version

🐘 php-src-devtools 🐳

Tools to make it easier to contribute to PHP itself (php-src). Uses Docker containers for building, running and testing PHP from source.

$ composer global require aboks/php-src-devtools
$ git clone https://github.com/php/php-src.git && cd php-src
# write a test, or make your own changes to PHP
$ php-src-devtools test

Why?

Even though there is a thriving open source community for projects written in PHP, only a very limited number of these people contribute to PHP itself. This can partly be explained by the fact that contributing to PHP internals is quite different from contributing to a PHP project: it uses a different language (C instead of PHP), different tools, and another workflow.

This project aims to remove some of these barriers for PHP developers to become PHP core developers:

  • Compiling and testing PHP within a Docker container removes the need to install any build dependencies, which can clutter your system or not be easily available for your OS. In particular, it provides a greatly simplified path to get started for Windows users.
  • Most PHP developers will be used to installing tools like this using Composer.
  • Using tools that PHP developers might be already using (Symfony Console and Docker) provides a familiar experience.
  • The console application abstracts some of the necessary build steps away, and makes the possible actions discoverable.

For more information about contributing to PHP, see the slides for my "Getting started with PHP core development" conference talk.

Prerequisites

Ensure that Docker is installed and running on your system.

Installation

The easiest way to install this tool is as a global composer package:

$ composer global require aboks/php-src-devtools

Alternatively, clone or download this repository somewhere, run composer install to install dependencies, and ensure that php-src-devtools is on your PATH.

Usage

In the folder that contains your clone of php-src, run:

  • php-src-devtools build to build PHP. Note that the initial build may take about an hour.
  • php-src-devtools test to run the full PHP testsuite. You can use php-src-devtools test path/to/test.phpt to run a single test, or php-src-devtools test ext/foo to test a single extension.
  • php-src-devtools php to run the compiled PHP CLI, e.g. php-src-devtools php -i for phpinfo.
  • php-src-devtools list to see all subcommands, or php-src-devtools help for additional help.

Status

This tool is still in a pretty experimental stage, but the basic things like building PHP from source and running tests should work fine. Please try it out and report any issues and possible improvements that you encounter. Pull requests are welcome.

Versioning

This project adheres to Semantic Versioning.

License

The code is released under the MIT license.

aboks/php-src-devtools 适用场景与选型建议

aboks/php-src-devtools 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 2, 最近一次更新时间为 2018 年 05 月 13 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 aboks/php-src-devtools 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 aboks/php-src-devtools 我们能提供哪些服务?
定制开发 / 二次开发

基于 aboks/php-src-devtools 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-05-13