PHPackages                             mdevrees/addcustomercli - 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. mdevrees/addcustomercli

ActiveMagento2-module[CLI &amp; Console](/categories/cli)

mdevrees/addcustomercli
=======================

Module which adds cli option to create customer

1.0.5(6y ago)07GPL-3.0-or-laterPHP

Since Aug 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mdevrees/addcustomercli)[ Packagist](https://packagist.org/packages/mdevrees/addcustomercli)[ RSS](/packages/mdevrees-addcustomercli/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (6)Used By (0)

Mdevrees Customer CLI module
============================

[](#mdevrees-customer-cli-module)

This module adds a cli command to create a customer.
Ofcourse you could also use the Magento Swiss army knife n98-magerun2

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

[](#installation)

`composer require mdevrees/addcustomercli`

Usage
-----

[](#usage)

### Customer create

[](#customer-create)

```
$ php bin/magento customer:create --help
Description:
  Create new customer

Usage:
  customer:create [options]

Options:
      --customer-firstname=CUSTOMER-FIRSTNAME  (Required) Customer first name
      --customer-lastname=CUSTOMER-LASTNAME    (Required) Customer last name
      --customer-email=CUSTOMER-EMAIL          (Required) Customer email
      --customer-password=CUSTOMER-PASSWORD    (Required) Customer password
      --website=WEBSITE                        (Required) Website ID
      --send-email[=SEND-EMAIL]                (1/0) Send email? (default 0)
  -h, --help                                   Display this help message
  -q, --quiet                                  Do not output any message
  -V, --version                                Display this application version
      --ansi                                   Force ANSI output
      --no-ansi                                Disable ANSI output
  -n, --no-interaction                         Do not ask any interactive question
  -v|vv|vvv, --verbose                         Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```

```
$ php bin/magento customer:create --customer-firstname="Mycha" --customer-lastname="De Vrees" --customer-email="m.devrees@gmail.com" --customer-password="password" --website="1"
```

### Customer lock

[](#customer-lock)

```
$ php bin/magento customer:lock --help
Description:
  Lock existing customer by setting a lock date

Usage:
  customer:lock [options]

Options:
      --customer-id=CUSTOMER-ID  (Required) Customer ID
      --date=DATE                (Required) Date
  -h, --help                     Display this help message
  -q, --quiet                    Do not output any message
  -V, --version                  Display this application version
      --ansi                     Force ANSI output
      --no-ansi                  Disable ANSI output
  -n, --no-interaction           Do not ask any interactive question
  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```

```
$ php bin/magento customer:lock --customer-id=2 --date=2019-11-03
```

### Customer unlock

[](#customer-unlock)

```
$ php bin/magento customer:unlock --help
Description:
  Unlock existing customer

Usage:
  customer:unlock [options]

Options:
      --customer-id=CUSTOMER-ID  (Required) Customer ID
  -h, --help                     Display this help message
  -q, --quiet                    Do not output any message
  -V, --version                  Display this application version
      --ansi                     Force ANSI output
      --no-ansi                  Disable ANSI output
  -n, --no-interaction           Do not ask any interactive question
  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```

```
$ php bin/magento customer:unlock --customer-id=2
```

### Customer change password

[](#customer-change-password)

```
$ php bin/magento customer:changepassword --help
Description:
  Change password from existing customer

Usage:
  customer:unlock [options]

Options:
      --customer-id=CUSTOMER-ID               (Required) Customer ID
      --customer-password=CUSTOMER-PASSWORD   (Required) Customer password new'
  -h, --help                                  Display this help message
  -q, --quiet                                 Do not output any message
  -V, --version                               Display this application version
      --ansi                                  Force ANSI output
      --no-ansi                               Disable ANSI output
  -n, --no-interaction                        Do not ask any interactive question
  -v|vv|vvv, --verbose                        Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```

```
$ php bin/magento customer:changepassword --customer-id=2 --customer-password="password"
```

Changelog
---------

[](#changelog)

### Version 0.0.1

[](#version-001)

Initial module version, allows users to be added

#### Version 1.0.0

[](#version-100)

Bumped version to 1.0.0, no new changes

#### Version 1.0.1

[](#version-101)

Set composer minimum stability to dev

#### Version 1.0.2

[](#version-102)

Nothing specific

#### Version 1.0.3

[](#version-103)

Rename to AddCustomerCli

#### Version 1.0.4

[](#version-104)

Added customer:user:lock and customer:user:unlock features

#### Version 1.0.5

[](#version-105)

Added customer:changepassword and renamed so user is not needed anymore

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

5

Last Release

2473d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c25d8b16f0b78fdef67968b049ec2c054ced968de4a68e2ab9a9980a57565555?d=identicon)[m.devrees](/maintainers/m.devrees)

### Embed Badge

![Health badge](/badges/mdevrees-addcustomercli/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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