Download the PHP package chr15k/php-typos without Composer

On this page you can find all versions of the php package chr15k/php-typos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-typos

GitHub Workflow Status (master) Total Downloads Latest Version License


Typos for PHP

A blistering fast source code spellchecker for PHP projects, powered by the typos Rust CLI.

The correct platform binary ships with the package — no Rust, Cargo, or Homebrew required. Run it the same way you run Pint or PHPStan, and it works the same way in CI.


Requirements


Installation

Install as a development dependency:

Then initialise a configuration file in your project root:

This copies a _typos.toml file to your project root where you can configure paths to exclude and words to ignore.


Usage

Basic check

Scan the entire project from the current directory:

Scan specific paths:


Flags

--init / -i

Copies the default _typos.toml configuration file into your project root. Safe to run on a fresh project — it will not overwrite an existing config.


--write / -w

Automatically fix discovered typos by writing corrections directly to the affected files.

Cannot be used together with --diff.


--diff / -d

Show a unified diff of proposed corrections without modifying any files. Useful for reviewing what --write would change before committing to it.

Cannot be used together with --write.


--files / -fi

List the files being scanned without checking for typos.


--identifiers / -id

List all identifiers (variable names, function names, etc.) found during the scan.


--words / -wo

List all words found during the scan.


--format / -f

Control the output format. Defaults to long.

Value Description
long Full output with file path, line, and correction detail (default)
brief One line per file with typos
json Machine-readable JSON, suitable for CI annotation tools

--config / -c

Path to a custom _typos.toml configuration file. Defaults to the one in your project root.


Configuration

The _typos.toml file controls which paths are excluded and which words are globally ignored.


CI/CD Integration

GitHub Actions

For annotation-friendly output:

Composer script

Add a script to your composer.json to run alongside your other checks:


Supported Platforms

OS Architecture
macOS x86_64, ARM64 (Apple Silicon)
Linux x86_64, ARM64
Windows x86_64

License

MIT — see LICENSE for details.


All versions of php-typos with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
symfony/console Version ^7.4|^8.0
symfony/process Version ^7.4|^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package chr15k/php-typos contains the following files

Loading the files please wait ...