承接 slendium/build 相关项目开发

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

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

slendium/build

Composer 安装命令:

composer require slendium/build

包简介

Small utility to organize tasks to make a PHP project production ready

README 文档

README

Small utility for making PHP projects production-ready. Validating code using unit tests or static analysis should happen before this tool runs.

Installation

Simply run composer require slendium/build to add it to your project.

Usage

From your project root, run ./vendor/bin/slendium-build to start the "build" in the current working directory. WARNING: some tasks remove local files, so make sure to only run this command from inside a production setup.

The script will go through the following steps:

  1. Run composer install --no-dev --classmap-authoritative
  2. Find a list of tasks to run
    1. Either directly from the arguments, where each argument should be a PHP class-string<Task>
    2. Or from a file called SlendiumBuild.json in the current working directory
  3. Run the tasks in the given order, if all classes exist

SlendiumBuild.json

This JSON file can be put in your project root to specify build options. Currently it supports one key:

  • tasks - a non-empty list of class-string<Task>'s to run in the given order

Tasks

To define your own task, simply create a PHP class that implements the Task interface and add the fully qualified class name to the script arguments or to the JSON configuration file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固