# @cspell/dict-php

> Php dictionary for cspell.

Latest version **4.1.3** (published 2026-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cspell/dict-php
pnpm add @cspell/dict-php
yarn add @cspell/dict-php
bun add @cspell/dict-php
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 4.1.3 |
| Published | 2026-09-12 |
| First published | 2020-11-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 42.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 289 |
| Author | Street Side Software |
| Maintainers | jason-dent |
| Keywords | cspell, php, dictionary, spelling |

## Links

- npm: https://www.npmjs.com/package/@cspell/dict-php
- Repository: https://github.com/streetsidesoftware/cspell-dicts
- Homepage: https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/php#readme
- Issues: https://github.com/streetsidesoftware/cspell-dicts/issues
- npm.io page: https://npm.io/package/@cspell/dict-php

## Recent versions

- 4.1.3 (latest) — 2026-09-12
- 4.1.2 — 2026-09-11
- 4.1.1 — 2026-01-04
- 4.1.0 — 2025-10-22
- 4.0.15 — 2025-07-09
- 4.0.14 — 2024-12-30
- 4.0.13 — 2024-10-11
- 4.0.10 — 2024-08-26
- 4.0.9 — 2024-08-26
- 4.0.8 — 2024-06-08
- 4.0.7 — 2024-05-19
- 4.0.6 — 2024-02-09
- 4.0.5 — 2023-12-25
- 4.0.4 — 2023-10-18
- 4.0.3 — 2023-09-16
- … 13 more at https://npm.io/package/@cspell/dict-php/versions

## README

# CSpell php Dictionary

Php dictionary for cspell.

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

<!--- @@inject: ../../static/requirements.md --->

## Requirements

| Tool                                                                                                                                 | Version |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------- |
| [cspell](https://github.com/streetsidesoftware/cspell)                                                                               | `>= 8`  |
| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 4`  |

<!--- @@inject-end: ../../static/requirements.md --->

<!--- @@inject: ./static/install.md --->

## Local Installation

**This package is bundled with CSpell.**

## Configuration

<details>
<summary>VSCode Settings</summary>

Add the following to your VSCode settings:

**`.vscode/settings.json`**

```jsonc
{
  "cSpell.dictionaries": ["php"],
}
```

</details>

<details>
<summary>CSpell Settings <code>cspell.json</code></summary>

**`cspell.json`**

```jsonc
{
  "dictionaries": ["php"],
}
```

</details>

<details>
<summary>CSpell Settings <code>cspell.config.yaml</code></summary>

**`cspell.config.yaml`**

```yaml
dictionaries:
  - php
```

</details>

## Local Installation using CDN

> **NOTE:** This package is bundled with CSpell.

## Dictionary Information

| Name  | Enabled | Description     |
| ----- | ------- | --------------- |
| `php` |         | Php dictionary. |

## Language Settings

| Name  | Locale | File Type |
| ----- | ------ | --------- |
| `php` | `*`    | `php`     |

<!--- @@inject-end: ./static/install.md --->

<!--- @@inject: ../../static/contributing.md --->

## Contributing

Please help correct any mistakes in the dictionaries.

See: [Contributing](https://github.com/streetsidesoftware/cspell-dicts#contributing)

Special thanks to all of our amazing contributors!

### Dictionary Development

See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary)

<!--- @@inject-end: ../../static/contributing.md --->

## License

MIT

> Some packages may have other licenses included.

<!--- @@inject: ../../static/footer.md --->

<br/>

---

<p align="center">
Brought to you by <a href="https://streetsidesoftware.com" title="Street Side Software">
<img width="16" alt="Street Side Software Logo" src="https://i.imgur.com/CyduuVY.png" /> Street Side Software
</a>
</p>

<!--- @@inject-end: ../../static/footer.md --->

---
_Source: https://npm.io/package/@cspell/dict-php · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
