承接 celemas/dev 相关项目开发

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

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

celemas/dev

最新稳定版本:4.1.0

Composer 安装命令:

composer require celemas/dev

包简介

Shared development settings and tools for all Celemas projects

README 文档

README

Installation

composer require celemas/dev

Usage

Documentation snippets test runner

./vendor/bin/docs-test-runner path/to/docs/snippets

php-cs-fixer

Add the following to your .php-cs-fixer.dist.php:

<?php

declare(strict_types=1);

$finder = PhpCsFixer\Finder::create()->in([__DIR__ . '/src', __DIR__ . '/tests']);
$config = new Celemas\Development\PhpCsFixer\Config();

return $config->setFinder($finder);

Automatically installed development tools

Shared Configuration Sync

This package provides a centralized way to manage configuration files (like .editorconfig, .markdownlint.jsonc, etc.) across all projects. Instead of manual copying, use the built-in Config helper via Composer.

1. Project Setup

Add the sync command to your project's composer.json file. It will install the default configs whenever composer install or composer update is run.

{
	"scripts": {
		"post-install-cmd": [
			"Celemas\\Development\\Config::sync"
		],
		"post-update-cmd": [
			"Celemas\\Development\\Config::sync"
		]
	}
}

2. Add Prettier Config (Optional)

To also install .prettierrc, add the prettier script alongside sync.

{
	"scripts": {
		"post-install-cmd": [
			"Celemas\\Development\\Config::sync",
			"Celemas\\Development\\Config::prettier"
		],
		"post-update-cmd": [
			"Celemas\\Development\\Config::sync",
			"Celemas\\Development\\Config::prettier"
		]
	}
}

Note: Config does not overwrite existing files. Delete the file you want to re-deploy and re-run Composer.

3. Recommended .gitignore

To ensure the "Source of Truth" remains within this package, add the synced files to your project's .gitignore:

/.editorconfig
/.markdownlint.jsonc
/.prettierrc

License

This project is licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固