PHPackages                             ahmedessam/laravel-commander - 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. ahmedessam/laravel-commander

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

ahmedessam/laravel-commander
============================

Laravel Commander is a package that adds custom commands to your Laravel application.

v1.4.2(1y ago)085MITPHPPHP ^7.4|^8.0

Since Oct 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/aahmedessam30/laravel-commander)[ Packagist](https://packagist.org/packages/ahmedessam/laravel-commander)[ RSS](/packages/ahmedessam-laravel-commander/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (11)Used By (0)

Laravel Commander
=================

[](#laravel-commander)

[![Laravel Commander](https://camo.githubusercontent.com/88949eaf62a5991999808b55cb94ee6e5560e846d95a501c642293386b9c1f9d/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c253230436f6d6d616e6465722e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d61686d6564657373616d2532466c61726176656c2d636f6d6d616e646572267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d5365742b6f662b6172746973616e2b636f6d6d616e64732b746f2b68656c702b796f752b6d616e6167652b796f75722b4c61726176656c2b70726f6a656374732b6d6f72652b656666696369656e746c79266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d636f6465)](https://camo.githubusercontent.com/88949eaf62a5991999808b55cb94ee6e5560e846d95a501c642293386b9c1f9d/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c253230436f6d6d616e6465722e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d61686d6564657373616d2532466c61726176656c2d636f6d6d616e646572267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d5365742b6f662b6172746973616e2b636f6d6d616e64732b746f2b68656c702b796f752b6d616e6167652b796f75722b4c61726176656c2b70726f6a656374732b6d6f72652b656666696369656e746c79266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d636f6465)

Laravel Commander is a Laravel package that provides a set of artisan commands to help you manage your Laravel projects more efficiently. It includes commands to help you manage your project's generate trait, enum, and more.

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

[](#installation)

You can install the package via Composer:

```
composer require ahmedessam/laravel-commander
```

The package will automatically register itself.

Publishing the assets
---------------------

[](#publishing-the-assets)

After installing the package, you must publish the assets using the following command:

```
php artisan vendor:publish --tag=laravel-commander-traits
```

This command will publish the `Traits` directory to the `app` directory.

Usage
-----

[](#usage)

To generate a new trait, run the following command:

```
php artisan make:trait
```

This command will create a new trait in the `app/Traits` directory.

To generate a new enum, run the following command:

```
php artisan make:enum
```

This command will create a new enum in the `app/Enums` directory.

To generate a new interface, run the following command:

```
php artisan make:contract
```

This command will create a new interface in the `app/Contracts` directory.

To generate a new service, run the following command:

```
php artisan make:service
```

if you want to generate a service for a specific model, you can pass the model name as an argument:

```
php artisan make:service  --model=
```

This command will create a new service in the `app/Services` directory.

To generate a new repository, run the following command:

```
php artisan make:repository
```

This command will create a new repository in the `app/Repositories` directory.

To generate a new model scope, run the following command:

```
php artisan make:model-scope
```

This command will create a new model scope in the `app/Scopes` directory.

To generate a new facade, run the following command:

```
php artisan make:facade
```

This command will create a new facade in the `app/Facades` directory.

To generate a new data transfer object (DTO), run the following command:

```
php artisan make:dto
```

This command will create a new DTO in the `app/DataTransferObjects` directory.

To generate a new api crud, run the following command:

```
php artisan make:api-crud
```

This command will create a new api crud.

To generate a new notification channel, run the following command:

```
php artisan make:notification-channel
```

This command will create a new notification channel in the `app/Notifications/Channels` directory.

To generate a new notification channel message, run the following command:

```
php artisan make:channel-message
```

This command will create a new notification channel message in the `app/Notifications/Messages` directory.

To generate a new action class, run the following command:

```
php artisan make:action
```

This command will create a new action class in the `app/Actions` directory.

Features
--------

[](#features)

- Generate a new trait
- Generate a new enum
- Generate a new interface
- Generate a new service
- Generate a new repository
- Generate a new model scope
- Generate a new facade
- Generate a new data transfer object (DTO)
- Generate a new api crud
- Generate a new notification channel
- Generate a new notification channel message
- Generate a new action class

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

[](#requirements)

- PHP &gt;= 7.4 or higher
- Laravel &gt;= 7.0 or higher
- Composer

License
-------

[](#license)

The Laravel Commander is open-sourced software licensed under the [MIT license](https://opensource.org/license/MIT).

Author
------

[](#author)

- **Ahmed Essam**
    - [GitHub Profile](https://github.com/aahmedessam30)
    - [Packagist](https://packagist.org/packages/ahmedessam/api-versionizer)
    - [LinkedIn](https://www.linkedin.com/in/aahmedessam30)
    - [Email](mailto:aahmedessam30@gmail.com)

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

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

Issues
------

[](#issues)

If you find any issues with the package or have any questions, please feel free to open an issue on the GitHub repository.

Enjoy using Laravel Commander! 🚀

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance42

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

10

Last Release

483d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14383efd445985cf037e39f51ce0228eab1800ddf41cd845457daae1bcd8c192?d=identicon)[aahmedessam30](/maintainers/aahmedessam30)

---

Top Contributors

[![aahmedessam30](https://avatars.githubusercontent.com/u/63825434?v=4)](https://github.com/aahmedessam30 "aahmedessam30 (23 commits)")

### Embed Badge

![Health badge](/badges/ahmedessam-laravel-commander/health.svg)

```
[![Health](https://phpackages.com/badges/ahmedessam-laravel-commander/health.svg)](https://phpackages.com/packages/ahmedessam-laravel-commander)
```

###  Alternatives

[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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