Php dictionary for cspell.

Usage no npm install needed!

<script type="module">
  import cspellDictPhp from 'https://cdn.skypack.dev/@cspell/dict-php';


Cspell php Dictionary

Php dictionary for cspell.

This is a pre-built dictionary for use with cspell.


Global Install and add to cspell global settings.

npm install -g @cspell/dict-php
cspell link add @cspell/dict-php

Uninstall from cspell

cspell link remove @cspell/dict-php

Manual Installation

The cspell-ext.json file in this package should be added to the import section in your cspell.json file.

    // …
    "import": ["@cspell/dict-php/cspell-ext.json"],
    // …


Building is only necessary if you want to modify the contents of the dictionary. Note: Building will take a few minutes for large files.

npm run build



Some packages may have other licenses included.