定制 futurenet/coding-standards 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

futurenet/coding-standards

Composer 安装命令:

composer require futurenet/coding-standards

包简介

README 文档

README

  1. Definition of "Ready"
  2. Definition of "Done"

coding-standards for backend developers

For sake of teams inter-operatibility and maintaining a good coding practices in our projects, we - developers of FutureNet group - have provided a set of rules in form of documents and configuration files. We hope it will help to create robust, efficient and easy to understand solutions for business related problems in technologies that we support.

As your first reading

this should be the site: http://www.phptherightway.com It's basically a Bible of PHP good practices.

also nice to know and understand: https://github.com/jupeter/clean-code-php and a league of outstanding packages: https://github.com/ziadoz/awesome-php/blob/master/README.md

Installation

You can install this in your project using composer:

composer require futurenet/coding-standards

After successful installation testing code style and running mess detector is easy as:

php bin/phpmd directory_to_test/ text vendor/futurenet/coding-standards/phpmd.xml

php bin/php-cs-fixer fix directory_to_test/ --dry-run --diff --config=vendor/futurenet/coding-standards/.php_cs.dist

For automatical fix of coding style errors run:

php bin/php-cs-fixer fix directory_to_fix/ --config=vendor/futurenet/coding-standards/.php_cs.dist

But be careful, it can be dangerous!

Reading:

  1. Code style standards
  2. Architecture standards
  3. Testing standards
  4. Running tests (to be done)

frontend coding standards

This set of good front-end coding practices has been introduced to optimize the time it takes to implement the external content provided to FutureNet developers, and to facilitate mutual communication between them and external teams.

Developed by us (FutureNet developers) good coding practices have been based on our own knowledge and experience, and also based on the external standards used by front-end developers everyday around the world.

The collection was divided into three parts, in which the standards described were enriched with practical examples.

Reading:

  1. CSS standards
  2. HTML standards
  3. JS standards

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2017-08-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固