PHPackages                             emmanuel\_saleem/command\_me - 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. emmanuel\_saleem/command\_me

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

emmanuel\_saleem/command\_me
============================

Create a migration with columns, and use these columns to generate a seeder, factory, controller, resource, and route

v1.4.0(1y ago)014MITPHP

Since Sep 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/es-77/command-me)[ Packagist](https://packagist.org/packages/emmanuel_saleem/command_me)[ Docs](https://github.com/es-77/command-me)[ RSS](/packages/emmanuel-saleem-command-me/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (6)Used By (0)

Command Me
==========

[](#command-me)

🚀 **Introducing My Custom Laravel Artisan Command!** 🚀

This powerful Laravel Artisan Command streamlines the process of generating a fully functional CRUD application in minutes!

Features
--------

[](#features)

- **Generate Migrations**: Define your database columns directly in the command.
- **Create Models with Fillable Attributes**: Automatically set up your models without manual updates.
- **Generate Seeders &amp; Factories**: Effortlessly populate your database.
- **Build Controllers**: Complete CRUD operations and validation rules are generated automatically.
- **Create API Resources**: Easily generate resources to format responses.
- **Add Routes**: Choose between resource routes or simple routes to fit your needs.

How It Helps Developers
-----------------------

[](#how-it-helps-developers)

This command saves time, ensures consistency, and reduces the potential for errors. Just enter your column details once, and let the command handle the rest!

Key Benefits
------------

[](#key-benefits)

- Save hours of repetitive coding 🕒
- Ensure best practices in your application ✅
- Accelerate your development process 🚀

If you're a Laravel developer looking to simplify your workflow and save time, this tool is a game-changer! 💻

Follow the prompts to input the entity name and specify what you would like to generate (e.g., Controller, Model, Request, Resource, Migration, Seeder, Factory).

Enter the details for the migration, including column names and types.

Decide if you want to add these columns as fillable properties in the model.

Proceed to create the Seeder, Factory, Resource, and Request, populating them with data as needed.

Finally, choose to add a route, selecting between web and API routes.

Sample Interaction

What is the entity name?:
-------------------------

[](#what-is-the-entity-name)

> user admin

What would you like to generate? \[Controller, Model, Request, Resource, Migration, Seeder, Factory\]:
------------------------------------------------------------------------------------------------------

[](#what-would-you-like-to-generate-controller-model-request-resource-migration-seeder-factory)

> 4

Would you like to use the entity name (user admin) for the Migration or provide a custom name? (yes/no) \[yes\]:
----------------------------------------------------------------------------------------------------------------

[](#would-you-like-to-use-the-entity-name-user-admin-for-the-migration-or-provide-a-custom-name-yesno-yes)

> yes

Migration create\_user\_admin\_table created successfully.

Would you like to add columns to the migration? (yes/no) \[yes\]:
-----------------------------------------------------------------

[](#would-you-like-to-add-columns-to-the-migration-yesno-yes)

> yes

Enter the column name (or type "done" to finish):
-------------------------------------------------

[](#enter-the-column-name-or-type-done-to-finish)

> name

Enter the column type:
----------------------

[](#enter-the-column-type)

\[0\] bigIncrements \[1\] bigInteger \[2\] binary \[3\] boolean \[4\] char \[5\] date \[6\] dateTime \[7\] decimal \[8\] double \[9\] enum \[10\] float \[11\] increments \[12\] integer \[13\] longText \[14\] mediumInteger \[15\] mediumText \[16\] morphs \[17\] nullableTimestamps \[18\] smallInteger \[19\] tinyInteger \[20\] softDeletes \[21\] string \[22\] text \[23\] time \[24\] timestamp \[25\] timestamps \[26\] rememberToken

> 4

Enter the length of the column:
-------------------------------

[](#enter-the-length-of-the-column)

> 12

Should this column be nullable? (yes/no) \[no\]:
------------------------------------------------

[](#should-this-column-be-nullable-yesno-no)

> no

Enter a default value for this column (optional):
-------------------------------------------------

[](#enter-a-default-value-for-this-column-optional)

> Emmanuel

Enter a comment for this column (optional):
-------------------------------------------

[](#enter-a-comment-for-this-column-optional)

> This is comment

Enter the column name (or type "done" to finish):
-------------------------------------------------

[](#enter-the-column-name-or-type-done-to-finish-1)

> done

Migration columns added successfully.

Would you like to add these columns as fillable in the model? (yes/no) \[yes\]:
-------------------------------------------------------------------------------

[](#would-you-like-to-add-these-columns-as-fillable-in-the-model-yesno-yes)

> yes

Would you like to use the entity name (UserAdmin) for the Model or provide a custom name? (yes/no) \[yes\]:
-----------------------------------------------------------------------------------------------------------

[](#would-you-like-to-use-the-entity-name-useradmin-for-the-model-or-provide-a-custom-name-yesno-yes)

> yes

Model UserAdmin does not exist. Would you like to create it? (yes/no):
----------------------------------------------------------------------

[](#model-useradmin-does-not-exist-would-you-like-to-create-it-yesno)

> yes

Model UserAdmin created successfully.

Would you like to add fillable properties to the model? (yes/no):
-----------------------------------------------------------------

[](#would-you-like-to-add-fillable-properties-to-the-model-yesno)

> yes

Fillable fields added to the model.

Would you like to add these columns in the seeder? (yes/no):
------------------------------------------------------------

[](#would-you-like-to-add-these-columns-in-the-seeder-yesno)

> yes

Would you like to use the entity name (UserAdmin) for the Seeder or provide a custom name? (yes/no):
----------------------------------------------------------------------------------------------------

[](#would-you-like-to-use-the-entity-name-useradmin-for-the-seeder-or-provide-a-custom-name-yesno)

> yes

Seeder UserAdmin created successfully.

Would you like to populate the seeder with data? (yes/no):
----------------------------------------------------------

[](#would-you-like-to-populate-the-seeder-with-data-yesno)

> yes

Seeder for UserAdmin populated successfully.

Would you like to add these columns in the factory? (yes/no):
-------------------------------------------------------------

[](#would-you-like-to-add-these-columns-in-the-factory-yesno)

> yes

Would you like to use the entity name (UserAdmin) for the Factory or provide a custom name? (yes/no):
-----------------------------------------------------------------------------------------------------

[](#would-you-like-to-use-the-entity-name-useradmin-for-the-factory-or-provide-a-custom-name-yesno)

> yes

Factory UserAdmin created successfully.

Would you like to populate the factory with columns? (yes/no):
--------------------------------------------------------------

[](#would-you-like-to-populate-the-factory-with-columns-yesno)

> yes

Do you want to use default columns or enter your own? (yes/no):
---------------------------------------------------------------

[](#do-you-want-to-use-default-columns-or-enter-your-own-yesno)

> yes

Factory UserAdmin populated with columns.

Would you like to add these columns in the Resource? (yes/no):
--------------------------------------------------------------

[](#would-you-like-to-add-these-columns-in-the-resource-yesno)

> yes

Would you like to use the entity name (UserAdmin) for the Resource or provide a custom name? (yes/no):
------------------------------------------------------------------------------------------------------

[](#would-you-like-to-use-the-entity-name-useradmin-for-the-resource-or-provide-a-custom-name-yesno)

> yes

Resource UserAdmin created successfully.

Would you like to populate the resource with data? (yes/no):
------------------------------------------------------------

[](#would-you-like-to-populate-the-resource-with-data-yesno)

> yes

Resource UserAdmin populated with columns successfully.

Would you like to add these columns in the Validation Request? (yes/no):
------------------------------------------------------------------------

[](#would-you-like-to-add-these-columns-in-the-validation-request-yesno)

> yes

Would you like to use the entity name (UserAdmin) for the Request or provide a custom name? (yes/no):
-----------------------------------------------------------------------------------------------------

[](#would-you-like-to-use-the-entity-name-useradmin-for-the-request-or-provide-a-custom-name-yesno)

> yes

Request UserAdminRequest created successfully.

Would you like to populate validation rules for the request? (yes/no):
----------------------------------------------------------------------

[](#would-you-like-to-populate-validation-rules-for-the-request-yesno)

> yes

Validation rules populated in `C:\laragon\www\package-create\app\Http\Requests\UserAdminRequest.php`.

Wo##uld you like to add these columns in the Controller? (yes/no):

> yes

Controller created successfully at `C:\laragon\www\package-create\app\Http\Controllers\UserAdminController.php`.

Would you like to add a route? (yes/no):
----------------------------------------

[](#would-you-like-to-add-a-route-yesno)

> yes

Which type of route would you like to add?:
-------------------------------------------

[](#which-type-of-route-would-you-like-to-add)

\[0\] web \[1\] api

> 0

What kind of route would you like to create?:
---------------------------------------------

[](#what-kind-of-route-would-you-like-to-create)

\[0\] Resource \[1\] Simple

> 1

Routes added to `routes/web.php`.

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

[](#installation)

You can install the package via Composer:

```
composer require emmanuel_saleem/command_me

php artisan run:command-me
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

Total

5

Last Release

596d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc3c362ef1cde6e1a4164b254ddebd9b56f75dd87e95c86d50c67c62e1c3bc24?d=identicon)[Emmanuel saleem](/maintainers/Emmanuel%20saleem)

---

Top Contributors

[![es-77](https://avatars.githubusercontent.com/u/101662490?v=4)](https://github.com/es-77 "es-77 (11 commits)")

### Embed Badge

![Health badge](/badges/emmanuel-saleem-command-me/health.svg)

```
[![Health](https://phpackages.com/badges/emmanuel-saleem-command-me/health.svg)](https://phpackages.com/packages/emmanuel-saleem-command-me)
```

###  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.8M18](/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)
