PHPackages                             modmore/moduleskeleton - 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. modmore/moduleskeleton

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

modmore/moduleskeleton
======================

Skeleton for Commerce module projects.

v1.3.3-pl(2y ago)54691[1 issues](https://github.com/modmore/Commerce_ModuleSkeleton/issues)MITPHPPHP &gt;=7.4.0CI failing

Since Jan 28Pushed 2y ago4 watchersCompare

[ Source](https://github.com/modmore/Commerce_ModuleSkeleton)[ Packagist](https://packagist.org/packages/modmore/moduleskeleton)[ RSS](/packages/modmore-moduleskeleton/feed)WikiDiscussions main Synced today

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

Commerce Module Skeleton
------------------------

[](#commerce-module-skeleton)

This repository contains a skeleton for a Commerce module project. It is meant to be installed with composer.

```
mkdir my-project
composer create-project modmore/moduleskeleton my-project
```

The skeleton will automatically rename the various bits and pieces with the name of the directory you install it in. This will apply a few transforms.

- For the name of directories, lexicons, etc, the directory name will be lowercased and in some places prefixed with `commerce_`.
- For the name of the namespace, module, and other "friendly" places the project name is used, it breaks up the project name by `-`, uppercase the first letter of each part, and stick those together. (E.g. a directory named `foo-bar` will be turned into `FooBar`)

Included in the skeleton
------------------------

[](#included-in-the-skeleton)

- A build to create a transport package (`_build`) with settings, the core folder, a requirements validator, and the package information from `docs` in the component directory. This build also includes proprietary code that enables it to be built by the modmore.com package provider.
- A bootstrap (`_bootstrap/index.php`) that can be used to swiftly set up namespaces, settings and other critical parts to get going.
- Inside the core/components directory:
    - Package information files (in `docs`) with the license (MIT), changelog, and readme.
    - English lexicon stub with your project name.
    - Under `model/schema`, a sample xPDO package schema. If you use this, you'll find a script in `/_build/build.schema.php` to turn it into a model and (commented out) code in `src/Modules/Projectname.php` to load the package.
    - In `src/Modules/Projectname.php` a module, complete with basic methods filled out.
    - A `composer.json` file defining a PSR-4 autoloader for your namespace and project name. If you change this, run `composer dump-autoload` in the `core/components/projectname/` directory to update the autoloader.
- A basic phpcs ruleset that both checks PHP 7.4-8.2 compatibility and a standard set of coding standards that we use for our projects. This is in both `.github/workflows/phpcs.yml` to run automatically on pushes to GitHub, and in `composer.json` in the root of the project.
    - To run locally, make sure to do a `composer install` in the root.
    - Run `composer run phpcs` to check the coding standards and PHP version compatibility
    - Run `composer run phpcbf` to automatically fix code that doesn't comply with the coding standards, where possible

Happy building!

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~128 days

Recently: every ~45 days

Total

17

Last Release

1018d ago

PHP version history (2 changes)v1.0.0-plPHP &gt;=5.5.0

v1.3.0-plPHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0085ccbe62590d6e3ecf3531b4b7f5815bca029095e41c4eb6632313761da54f?d=identicon)[mhamstra](/maintainers/mhamstra)

---

Top Contributors

[![Mark-H](https://avatars.githubusercontent.com/u/312944?v=4)](https://github.com/Mark-H "Mark-H (49 commits)")[![tonyklapatch](https://avatars.githubusercontent.com/u/11136895?v=4)](https://github.com/tonyklapatch "tonyklapatch (5 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![isaacniebeling](https://avatars.githubusercontent.com/u/1752846?v=4)](https://github.com/isaacniebeling "isaacniebeling (1 commits)")

---

Tags

modmoremodxmodx-commercecomposermodxmodmoremodmore-commerce

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/modmore-moduleskeleton/health.svg)

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

###  Alternatives

[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k315.9M84](/packages/jean85-pretty-package-versions)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k41.4M2.8k](/packages/ergebnis-composer-normalize)[icanhazstring/composer-unused

Show unused packages by scanning your code

1.7k7.9M224](/packages/icanhazstring-composer-unused)[bamarni/composer-bin-plugin

No conflicts for your bin dependencies

53024.4M1.1k](/packages/bamarni-composer-bin-plugin)[composer/metadata-minifier

Small utility library that handles metadata minification and expansion.

181123.3M25](/packages/composer-metadata-minifier)[shipmonk/composer-dependency-analyser

Fast detection of composer dependency issues (dead dependencies, shadow dependencies, misplaced dependencies)

6198.4M667](/packages/shipmonk-composer-dependency-analyser)

PHPackages © 2026

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