PHPackages                             experience/entitle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. experience/entitle

AbandonedArchivedCraft-plugin[Utility &amp; Helpers](/categories/utility)

experience/entitle
==================

AP-style title capitalisation for Craft CMS.

2.0.1(7y ago)166602MITPHP

Since Apr 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/manifestuk/entitle.craft-plugin)[ Packagist](https://packagist.org/packages/experience/entitle)[ RSS](/packages/experience-entitle/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (7)Dependencies (2)Versions (3)Used By (0)

Entitle
-------

[](#entitle)

[![Build Status](https://camo.githubusercontent.com/72b7a14849ffb090bd57ba79b3b05f6e89dc8422376ef3cba577a3c817a05384/68747470733a2f2f7472617669732d63692e6f72672f657870657269656e63652f656e7469746c652e63726166742d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/experience/entitle.craft-plugin)

Entitle is a [Craft plugin](https://craftcms.com "The CMS of choice for the Associated Press, appropriately enough") which makes it easy to apply AP-style title capitalisation rules to the text on your website.

Requirements
------------

[](#requirements)

Each release of Entitle is [automatically tested](https://travis-ci.org/experience/entitle.craft-plugin "See the Entitle build status on Travis CI") against PHP 7.1 and above. It's also manually tested on the most recent version of Craft.

### PHP 7.0 support

[](#php-70-support)

In theory, Entitle should be compatible with PHP 7.0. In practise, it's impossible to test this, because the Codeception dependency tree includes components which only work with PHP 7.1+.

Unfortunately there's nothing we can do about that.

Installation
------------

[](#installation)

To install Entitle, either search for "Entitle" in the Craft Plugin Store, or add it as a [Composer](https://getcomposer.org "Composer is a PHP dependency manager") dependency.

Here's how to install Entitle using Composer.

1. Open your terminal, and navigate to your Craft project:

    ```
     cd /path/to/project

    ```
2. Add Entitle as a project dependency:

    ```
     composer require experience/entitle

    ```
3. In the Control Panel, go to "Settings → Plugins", and click the "Install" button for Entitle

Configuration
-------------

[](#configuration)

Entitle allows you to specify "protected" words, which are not subject to the AP capitalisation rules. This is useful for ensuring that acronyms, brand names, and the like are not modified.

After installing Entitle (as described above), navigate to its settings page, and enter your "protected" words as a comma-delimited string.

Usage
-----

[](#usage)

There are three ways to use Entitle:

- As a Craft service.
- As a template variable.
- As a Twig filter.

### Service

[](#service)

The Entitle service exposes a single method, `capitalize`. The method accepts an input string, and returns the correctly-capitalised result.

```
// Result: 'Of Mice and Men'
Entitle::getInstance()->entitle->capitalize('of mice and men');

```

### Template variable

[](#template-variable)

Entitle exposes a single template variable, `capitalize`. As with the service method of the same name, it accepts an input string, and returns the correctly-capitalised result.

```
// Result: 'Fear and Loathing in Las Vegas'
{{ craft.entitle.capitalize('fear and loathing in las vegas') }}

```

### Twig filter

[](#twig-filter)

Entitle exposes a single Twig filter, `entitle`.

```
// Result: 'The Hound of the Baskervilles'
{{ 'the hound of the baskervilles'|entitle }}

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~152 days

Total

2

Last Release

2815d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/439058?v=4)[Andrei Nesterov](/maintainers/manifest)[@manifest](https://github.com/manifest)

---

Top Contributors

[![monooso](https://avatars.githubusercontent.com/u/4369838?v=4)](https://github.com/monooso "monooso (3 commits)")

---

Tags

ap-capitalisation-rulescraftcraft-plugincraftcmscraftcms-pluginphpcmsCraftcraftcmscraft-plugintypography

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/experience-entitle/health.svg)

```
[![Health](https://phpackages.com/badges/experience-entitle/health.svg)](https://phpackages.com/packages/experience-entitle)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
