PHPackages                             textpattern/lock - 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. textpattern/lock

ActiveLibrary

textpattern/lock
================

Lock your Textpattern CMS version or define package dependencies

4.8.8(7y ago)21.1k111GPL-2.0

Since May 3Pushed 4y ago2 watchersCompare

[ Source](https://github.com/gocom/textpattern-lock)[ Packagist](https://packagist.org/packages/textpattern/lock)[ Docs](https://textpattern.com)[ RSS](/packages/textpattern-lock/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (45)Used By (11)

textpattern/lock
================

[](#textpatternlock)

[Composer](https://getcomposer.org) meta package for [Textpattern CMS](https://textpattern.com). This package can be used to lock the installed Textpattern version and handle Textpattern version dependencies in packages. This package makes sure your Textpattern installation and packages are compatible and can work together, making the painless dependency management reality.

Locking your Textpattern installation version
---------------------------------------------

[](#locking-your-textpattern-installation-version)

When you start using Composer to manage Textpattern packages, plugins and themes, you should lock in your Textpattern version. This makes sure the packages you install are compatible with the Textpattern version you have. You can lock in your Textpattern version using Composer's require command.

```
$ composer require textpattern/lock:4.7.3

```

Where the `4.7.3` is the Textpattern version you have.

Defining required Textpattern version as a dependency in your packages
----------------------------------------------------------------------

[](#defining-required-textpattern-version-as-a-dependency-in-your-packages)

Textpattern plugin and theme developers can define the compatible and required Textpattern versions using the **textpattern/lock** package. You can set requirements using the [require](https://getcomposer.org/doc/04-schema.md#require) property, or exclude versions using the [conflict](https://getcomposer.org/doc/04-schema.md#conflict). In your package's `composer.json`:

```
{
    "require": {
        "textpattern/lock": ">=4.5.0"
    }
}
```

The above would require Textpattern version 4.5.0 or newer, and the plugin or theme will not be installed if the user's Textpattern installation doesn't meet the requirements. See Composer [schema](https://getcomposer.org/doc/04-schema.md) and [basic usage](https://getcomposer.org/doc/01-basic-usage.md) for more information about defining requirements.

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity76

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 ~49 days

Recently: every ~0 days

Total

44

Last Release

2626d ago

Major Versions

1.0.0-rc.5 → 4.0.02013-05-03

1.0.0-rc.1 → 4.0.32013-05-03

1.0.0-rc.4 → 4.6.x-dev2013-05-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a34b4e1b662cd2c926e8e89a76f93df266b199fe61508d38026cb952f28e59e?d=identicon)[rah](/maintainers/rah)

---

Top Contributors

[![gocom](https://avatars.githubusercontent.com/u/665186?v=4)](https://github.com/gocom "gocom (1 commits)")

---

Tags

cmsinstallertextpatterncoremetatextpattern

### Embed Badge

![Health badge](/badges/textpattern-lock/health.svg)

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

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[fidry/cpu-core-counter

Tiny utility to get the number of CPU cores.

238148.2M23](/packages/fidry-cpu-core-counter)[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[cakephp/core

CakePHP Framework Core classes

6026.8M39](/packages/cakephp-core)[typo3/cms-composer-installers

TYPO3 CMS Installers

6113.7M52](/packages/typo3-cms-composer-installers)[symfony/ai-platform

PHP library for interacting with AI platform provider.

51927.7k134](/packages/symfony-ai-platform)

PHPackages © 2026

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