PHPackages                             amdadulhaq/user-creator-laravel - 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. amdadulhaq/user-creator-laravel

ActiveLibrary

amdadulhaq/user-creator-laravel
===============================

Command line user creator for Laravel

v2.1.0(1mo ago)15MITPHPPHP ^8.2|^8.3|^8.4|^8.5CI passing

Since Dec 5Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/amdad121/user-creator-laravel)[ Packagist](https://packagist.org/packages/amdadulhaq/user-creator-laravel)[ Docs](https://github.com/amdad121/user-creator-laravel)[ GitHub Sponsors](https://github.com/amdad121)[ RSS](/packages/amdadulhaq-user-creator-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (16)Versions (10)Used By (0)

Command line user creator for Laravel
=====================================

[](#command-line-user-creator-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cccb7877a2916e299ce30d869a97b44ad37846ee6d4b8d6fa97144f25a233ed4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d646164756c6861712f757365722d63726561746f722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amdadulhaq/user-creator-laravel)[![GitHub Tests Action Status](https://camo.githubusercontent.com/34587ba3f4eca38bc74e3e9fbff51f743e829f40c457f597271f664e9e883374/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616d6461643132312f757365722d63726561746f722d6c61726176656c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/amdad121/user-creator-laravel/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/bfa57058d8f506ec49d4801129af9a5e5e772622cbea0135fa9ea3ddd54dedb1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616d6461643132312f757365722d63726561746f722d6c61726176656c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/amdad121/user-creator-laravel/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/1adc71145add72500bda4bd656fe6ff0739fed578d599ae514bf737698259d6f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d646164756c6861712f757365722d63726561746f722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/amdadulhaq/user-creator-laravel)

A simple command line user creator for Laravel with validation and configuration support.

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

[](#installation)

You can install the package via composer:

```
composer require amdadulhaq/user-creator-laravel --dev
```

You can publish the config file with:

```
php artisan vendor:publish --tag=user-creator-config
```

Configuration
-------------

[](#configuration)

Optionally, you can publish the configuration file to customize the user model:

```
// config/user-creator.php
return [
    'user_model' => env('USER_CREATOR_MODEL', \App\Models\User::class),
];
```

Usage
-----

[](#usage)

### Interactive Mode

[](#interactive-mode)

Run the command without arguments to be prompted for user details:

```
php artisan user:create
```

### Direct Arguments

[](#direct-arguments)

Provide all arguments directly:

```
php artisan user:create "John Doe" john@example.com password123
```

### With Optional Password

[](#with-optional-password)

Password can be omitted and will be prompted securely:

```
php artisan user:create "John Doe" john@example.com
```

Validation
----------

[](#validation)

The command validates input before creating a user:

- **Name**: Required, string, max 255 characters
- **Email**: Required, valid email format, max 255 characters
- **Password**: Required, minimum 8 characters

Testing
-------

[](#testing)

```
composer test
```

For code style:

```
composer lint
```

For static analysis:

```
composer analyse
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Amdadul Haq](https://github.com/amdad121)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance89

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~94 days

Total

9

Last Release

53d ago

Major Versions

v1.2.1 → v2.0.02026-01-02

PHP version history (2 changes)v1.0.0PHP ^8.1

v2.0.0PHP ^8.2|^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/7219b32db58e53dddb8a970aec40c9a41ec7d6dbf3570fd89ac14abe7424532e?d=identicon)[amdadulhaq](/maintainers/amdadulhaq)

---

Top Contributors

[![amdad121](https://avatars.githubusercontent.com/u/11732880?v=4)](https://github.com/amdad121 "amdad121 (24 commits)")

---

Tags

comand-linelaraveluser-creationlaravelAmdadul Haquser-creator-laravel

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/amdadulhaq-user-creator-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/amdadulhaq-user-creator-laravel/health.svg)](https://phpackages.com/packages/amdadulhaq-user-creator-laravel)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

3786.5k](/packages/harris21-laravel-fuse)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)

PHPackages © 2026

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