PHPackages                             zaherg/litepress-composer-commands - 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. [CLI &amp; Console](/categories/cli)
4. /
5. zaherg/litepress-composer-commands

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

zaherg/litepress-composer-commands
==================================

Composer commands for Litepress project setup and management

0.0.3(1y ago)034[2 issues](https://github.com/zaherg/litepress-commands/issues)1MITPHPPHP ^8.1

Since Jan 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/zaherg/litepress-commands)[ Packagist](https://packagist.org/packages/zaherg/litepress-composer-commands)[ RSS](/packages/zaherg-litepress-composer-commands/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (1)

Litepress Composer Commands
===========================

[](#litepress-composer-commands)

This package provides Composer commands for setting up and managing Litepress projects. It handles various tasks such as:

- Project initialization
- Database setup
- WordPress installation
- WP-CLI configuration
- Cleanup operations

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

[](#installation)

```
composer require zaherg/litepress-composer-commands
```

Usage
-----

[](#usage)

Add the following to your composer.json scripts section:

```
{
    "scripts": {
        "post-create-project-cmd": [
            "Composer\\Litepress\\ScriptHandler::handleCreateProject"
        ],
        "post-install-cmd": [
            "Composer\\Litepress\\ScriptHandler::handleDatabase",
            "Composer\\Litepress\\ScriptHandler::handleWordPressInstallation",
            "Composer\\Litepress\\ScriptHandler::handleGeneratingWPCliConfigFile"
        ],
        "cleanup": [
            "Composer\\Litepress\\ScriptHandler::handleCleanup"
        ],
        "re-install": [
            "Composer\\Litepress\\ScriptHandler::handleReinstall"
        ]
    }
}
```

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

[](#requirements)

- PHP 8.3 or higher
- Composer 2.0 or higher

License
-------

[](#license)

MIT

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance42

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

3

Last Release

478d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed5edcc08cdb61a7f8e5546ea027060d814a834209434caf34eb5b9ac69dbe64?d=identicon)[zaher](/maintainers/zaher)

---

Top Contributors

[![zaherg](https://avatars.githubusercontent.com/u/27624?v=4)](https://github.com/zaherg "zaherg (6 commits)")

### Embed Badge

![Health badge](/badges/zaherg-litepress-composer-commands/health.svg)

```
[![Health](https://phpackages.com/badges/zaherg-litepress-composer-commands/health.svg)](https://phpackages.com/packages/zaherg-litepress-composer-commands)
```

###  Alternatives

[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

53541.0k3](/packages/jolicode-castor)

PHPackages © 2026

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