PHPackages                             wizjo/postinstall-m2 - 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. wizjo/postinstall-m2

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

wizjo/postinstall-m2
====================

Postinstall dev scripts for Magento 2

v1.1.5(6y ago)13.1kMITPHPPHP ^7.2

Since Jul 17Pushed 6y ago2 watchersCompare

[ Source](https://github.com/wizjostudio/postinstall-m2)[ Packagist](https://packagist.org/packages/wizjo/postinstall-m2)[ RSS](/packages/wizjo-postinstall-m2/feed)WikiDiscussions master Synced today

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

Postinstall dev scripts for Magento 2
=====================================

[](#postinstall-dev-scripts-for-magento-2)

Tested with Magento 2.3

Installation
============

[](#installation)

Composer?

`composer require wizjo/postinstall-m2`

Usage
=====

[](#usage)

The CLI script is available in `vendor/bin/wizjo-postinstall-m2`.

**THE SCRIPT DOES NOT RUN ANY SCRIPTS ON ITS OWN!** It will simply print commands to execute with all required options and arguments in correct order. To run the command you have to run it manually either by copy-pasta or by piping it like `wizjo-postinstall-m2 refresh | bash`

Commands
--------

[](#commands)

- `setup:init` - allows to setup fresh Magento installation with sane-defaults without the need to remember all options required for Magento's `setup:init`. The script also allows you to set deployment mode, default locales and currencies
- `setup:redis` - allows to setup redis as cache backend for all 3 cache types Magento has to offer: default, page and session
- `refresh` - command you should use during development only. It will (step by step):
    - remove Magento's generated classes
    - dump composer's autoload
    - run `setup:upgrade` from Magento
    - dump composer's autoload again
    - recompile Magento's generated classes (`setup:di:compile`)
    - flush the cache

For more details about each command options and arguments, run the command with `--help` option.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

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

Every ~13 days

Total

5

Last Release

2434d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/544ac109880dc3a81d5c077e79d4277a2056dc1346cb9b22f2226890d6eeacac?d=identicon)[rzeczkowskip](/maintainers/rzeczkowskip)

### Embed Badge

![Health badge](/badges/wizjo-postinstall-m2/health.svg)

```
[![Health](https://phpackages.com/badges/wizjo-postinstall-m2/health.svg)](https://phpackages.com/packages/wizjo-postinstall-m2)
```

###  Alternatives

[wsdltophp/packagegenerator

Generate hierarchical PHP classes based on a WSDL

4351.9M19](/packages/wsdltophp-packagegenerator)[shopware/deployment-helper

Shopware deployment tools

19305.3k5](/packages/shopware-deployment-helper)[drevops/git-artifact

Package artifact from your codebase in CI and push it to a separate git repo.

2133.2k](/packages/drevops-git-artifact)

PHPackages © 2026

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