承接 codelytv/coding-style 相关项目开发

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

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

codelytv/coding-style

最新稳定版本:1.3.0

Composer 安装命令:

composer require --dev codelytv/coding-style

包简介

PHP Coding Style rules we use in Codely

README 文档

README

✍️ Codely's Easy Coding Standards configuration

Codely Open Source CodelyTV Courses

Opinionated linting configuration considering modern PHP best practices and providing consistency. ????

Take a look, play and have fun with this. Stars are welcome ????

???? How to use

  1. Install the dependency
    composer require --dev codelytv/coding-style
  2. Add it to your ecs.php file:
    use CodelyTv\CodingStyle; use Symplify\EasyCodingStandard\Config\ECSConfig; return function (ECSConfig $ecsConfig): void { $ecsConfig->paths([__DIR__ . '/src',]); $ecsConfig->sets([CodingStyle::DEFAULT]); // Or this if you prefer to have the code aligned // $ecsConfig->sets([CodingStyle::ALIGNED]); };
  3. Execute it:
    ./vendor/bin/ecs check

???? What it does

  • Lints PHP using PSR-12
  • Extends some config (you can see all the rules here)
  • Use tabs to indent (reason). If you want to use spaces, you can add the following line at the end of your ecs.php:
    use Symplify\EasyCodingStandard\ValueObject\Option; $ecsConfig->indentation(Option::INDENTATION_SPACES);

???? How to release a new version

Simply create a new GitHub Release following semantic versioning.

???? Codely Code Quality Standards

Publishing this package we are committing ourselves to the following code quality standards:

  • ???? Respect Semantic Versioning: No breaking changes in patch or minor versions
  • ???? No surprises in transitive dependencies: Use the bare minimum dependencies needed to meet the purpose
  • ???? One specific purpose to meet without having to carry a bunch of unnecessary other utilities
  • ???? Well documented Readme showing how to install and use
  • ⚖️ License favoring Open Source and collaboration

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固