PHPackages                             sitewards/modman-php - 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. sitewards/modman-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sitewards/modman-php
====================

PHP implementation for modman, to use it on every operating system with PHP support (also Windows).

874.3k38[7 issues](https://github.com/sitewards/modman-php/issues)[9 PRs](https://github.com/sitewards/modman-php/pulls)PHP

Since Sep 30Pushed 7y ago39 watchersCompare

[ Source](https://github.com/sitewards/modman-php)[ Packagist](https://packagist.org/packages/sitewards/modman-php)[ RSS](/packages/sitewards-modman-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (3)Used By (0)

modman-php
==========

[](#modman-php)

PHP implementation for modman, to use it on every operating system with PHP support (also Windows).

Currently implemented:

- init (creates .modman directory)
- link (creates symlinks)
- deploy (update symlinks)
- deploy-all (updates all modules)
- repair (repairs all symlinks)
- clean (removes all dead symlinks)
- create (creates a modman file for an existing module)
- clone (clones a git repository)

\--force is available for link, deploy, deploy-all and clone, if not set script aborts when conflicts are found --copy is available for deploy and deploy-all, will copy the files and folders instead of symlinking them

Usage examples:

```
php modman.php init
php modman.php link ..\B2BProfessional
php modman.php deploy B2BProfessional

```

Or directly clone which does also init and deploy:

```
php modman.php clone https://github.com/sitewards/B2BProfessional

```

Currently supported in modman files:

- symlinks (incl. wildcards)
- @import
- @shell

For Windows users there's also a batch file available, so instead of typing php and directory to modman.php you could just use modman.bat everywhere if you add it to your %PATH%-variable:

```
modman link c:\B2BProfessional

```

Started at Magento Hackathon in Zürich 2013-03-09

Influenced by the original modman at

init
====

[](#init)

Creates the .modman directory, which is used for all other operations.

```
cd $PROJECT
modman init

```

or

```
cd $PROJECT
modman init

```

If you don't specify a basedir (aka magento directory) the current working directory will be used. The basedir functionality is supposed to be used to move the .modman directory outside of the magento main directory.

- That first of all helps to structure your projects better
- But is also a security feature as modman might link sensitive data like docs into your magento magento main directory.

link
====

[](#link)

Creates symlink from a modman file

```
cd $PROJOECT
modman link /path/to/myMageModule

```

Optional parameter --force to automatically remove conflicted files

deploy
======

[](#deploy)

Updates the symlinks of a linked module

```
cd $PROJECT
modman deploy myMageModule

```

Optional parameter --force to automatically remove conflicted files

Optional parameter --copy to copy files instead of creating symlinks

deploy-all
==========

[](#deploy-all)

Updates all symlinks of linked modules

```
cd $PROJECT
modman deploy-all

```

Optional parameter --force to automatically remove conflicted files

Optional parameter --copy to copy files instead of creating symlinks

repair
======

[](#repair)

Repairs all symlinks of all linked modules

```
cd $PROJECT
modman repair

```

clean
=====

[](#clean)

Scans directory for dead symlinks and deletes them. Useful if a module was deleted and not removed in the project

```
cd $PROJECT
modman clean

```

remove
======

[](#remove)

Removes links of a project

```
cd $PROJECT
modman remove myMageModule

```

create
======

[](#create)

Scans through the current directory and creates a modman file containing all files and folders

```
cd $MODULE
modman create

```

Optional parameter --force to automatically overwrite existing modman-file. Optional parameter --include-hidden to list hidden files and directories in modman-file. Optional parameter --include &lt;include\_file&gt; to include a template file at the end of the new modman-file. If the current directory is recognized as a magento module, only the path to the module's code directory is added to the modman file.

clone
=====

[](#clone)

Clones a git repository

```
cd $PROJECT
modman clone https://git.url

```

Optional parameter --force to overwrite existing folder. Optional parameter --create-modman to create a new modman file in the cloned folder if there is no modman file yet.

Feature ideas
=============

[](#feature-ideas)

- Check if "allow symlinks" is activated in Magento when linking template files

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.2% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1398594?v=4)[Tobias Zander](/maintainers/airbone42)[@airbone42](https://github.com/airbone42)

---

Top Contributors

[![mryvlin](https://avatars.githubusercontent.com/u/3071413?v=4)](https://github.com/mryvlin "mryvlin (40 commits)")[![homecoded](https://avatars.githubusercontent.com/u/565020?v=4)](https://github.com/homecoded "homecoded (10 commits)")[![dmanners](https://avatars.githubusercontent.com/u/1572836?v=4)](https://github.com/dmanners "dmanners (3 commits)")[![schmengler](https://avatars.githubusercontent.com/u/367320?v=4)](https://github.com/schmengler "schmengler (2 commits)")[![Vinai](https://avatars.githubusercontent.com/u/72463?v=4)](https://github.com/Vinai "Vinai (1 commits)")[![vovayatsyuk](https://avatars.githubusercontent.com/u/306080?v=4)](https://github.com/vovayatsyuk "vovayatsyuk (1 commits)")

### Embed Badge

![Health badge](/badges/sitewards-modman-php/health.svg)

```
[![Health](https://phpackages.com/badges/sitewards-modman-php/health.svg)](https://phpackages.com/packages/sitewards-modman-php)
```

###  Alternatives

[naux/auto-correct

12511.4k2](/packages/naux-auto-correct)[kss-php/kss-php

A PHP implementation of KSS: a methodology for documenting CSS and generating styleguides

25142.7k2](/packages/kss-php-kss-php)[hiqdev/yii2-cart

Cart module for Yii2

1616.2k](/packages/hiqdev-yii2-cart)

PHPackages © 2026

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