定制 hbg-php/hit 二次开发

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

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

hbg-php/hit

Composer 安装命令:

composer require hbg-php/hit

包简介

Hit is a CLI tool that detects wording / or spelling mistakes in your codebase.

README 文档

README

Hit example

GitHub Workflow Status (main) Total Downloads Latest Version License

Hit is a powerful CLI tool designed to identify wording or spelling mistakes in your codebase. Built for speed, simplicity, and seamless integration.

Leveraging the robust capabilities of github.com/tigitz/php-spellchecker

Note: Hit is still under active development and is not yet ready for production use. Currently, only the filesystem checker is implemented, focusing exclusively on detecting spelling mistakes in file and folder names.

Prerequisites

To use Hit, you need to have Aspell installed on your system. Aspell is a spelling checker tool that Hit uses to detect spelling errors.

Installing Aspell

On Ubuntu or Debian-based distributions, you can install Aspell using the following commands:

sudo apt-get install aspell aspell-pt

If you need the English dictionary, use the command below:

sudo apt-get install -y aspell aspell-en

Installation

Requires PHP 8.3+

You can require Hit using Composer with the following command:

composer require hbg-php/hit

Usage

To check your project for spelling mistakes, run:

./vendor/bin/hit

Hit is an open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-28