PHPackages                             tomasgluchman/mage-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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. tomasgluchman/mage-lock

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

tomasgluchman/mage-lock
=======================

Global deployment lock task for Magallanes deployment tool

0.0.1(10y ago)0311MITPHP

Since Jun 2Pushed 10y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

MageLock
========

[](#magelock)

Global deployment lock task for Magallanes deployment tool

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

[](#installation)

```
composer require 'tomasgluchman/mage-lock:~0.0'

```

Usage
-----

[](#usage)

### Config:

[](#config)

```
tasks:
  pre-deploy:
    - lock

```

### CLI:

[](#cli)

```
mage deploy to:production --lock

mage deploy to:production --unlock

```

Due to the limits of implementation, the lock/unlock task will always return FAIL message. However, if the green-coloured message "`Environment %environment% (un)locked for deploy`" is present, the lock/unlock was successful.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

4004d ago

### Community

Maintainers

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

---

Tags

deploymentlockmagemagallanes

### Embed Badge

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

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

###  Alternatives

[timokoerber/laravel-one-time-operations

Run operations once after deployment - just like you do it with migrations!

6481.7M11](/packages/timokoerber-laravel-one-time-operations)[andres-montanez/magallanes

The Deployment Tool for PHP Applications

6901.1M6](/packages/andres-montanez-magallanes)[dg/ftp-deployment

A tool for automated deployment of web applications to an FTP server.

615845.5k8](/packages/dg-ftp-deployment)[easycorp/easy-deploy-bundle

The easiest way to deploy Symfony applications

468310.2k](/packages/easycorp-easy-deploy-bundle)[jalogut/magento2-deployer-plus

Magento 2 deployment tool based on deployer.org

201415.5k](/packages/jalogut-magento2-deployer-plus)[in2code/in2publish_core

Content publishing extension to connect stage and production server

40135.8k](/packages/in2code-in2publish-core)

PHPackages © 2026

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