PHPackages                             ajaykushwaha25/custom-make-command - 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. ajaykushwaha25/custom-make-command

ActiveLaravel-package[CLI &amp; Console](/categories/cli)

ajaykushwaha25/custom-make-command
==================================

A custom Artisan command for creating trait files.

v3.1(2y ago)1380PHP

Since Feb 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/AjayKushwaha25/custom-make-command)[ Packagist](https://packagist.org/packages/ajaykushwaha25/custom-make-command)[ RSS](/packages/ajaykushwaha25-custom-make-command/feed)WikiDiscussions main Synced 1mo ago

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

Custom Make Command For Laravel
-------------------------------

[](#custom-make-command-for-laravel)

This package allows you to create custom make commands for your Laravel application, such as `make:trait` and more.

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

[](#installation)

To install this package, require it using Composer. It is recommended to only require the package for development purposes.

```
composer require ajaykushwaha25/custom-make-command
```

Since Laravel uses Package Auto-Discovery, you don't need to manually add the ServiceProvider.

### Laravel without auto-discovery:

[](#laravel-without-auto-discovery)

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

```
AjayKushwaha25\CustomMakeCommand\MakeCommandServiceProvider::class,
```

Commands available
------------------

[](#commands-available)

The following commands are available after installing this package:

```
php artisan make:trait CustomTrait
php artisan custom:class CustomClass
php artisan custom:action ActionClass
php artisan custom:service ServiceClass
```

The `make:trait` command will create a trait file in the `App\Traits` folder.

The `custom:class` command will create a custom class file in the `App` folder. You can also specify a specific folder in which the class file should be generated. Note: The specified folder will be created inside the `App` folder.

UsesUUID Trait
--------------

[](#usesuuid-trait)

The `UsesUUID` trait allows you to easily add UUID (Universally Unique Identifier) functionality to your Laravel model classes.

### Usage

[](#usage)

To use the UsesUUID trait in your model class, follow these steps:

1. Import the trait at the top of your model class file:

```
use AjayKushwaha25\CustomMakeCommand\Traits\UsesUUID;
```

2. Apply the trait to your model class:

```
class MyModel extends Model
{
    use UsesUUID;

    // ...
}
```

That's it! Your model class now has the UUID functionality provided by the `UsesUUID` trait.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

5

Last Release

1074d ago

Major Versions

v1.1 → v2.02023-02-18

v2.0 → v3.02023-05-31

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a00b08dd3a74f2307e2798a603e703a51d4000043e119b83d03a90e3847367f?d=identicon)[AjayKushwaha25](/maintainers/AjayKushwaha25)

---

Top Contributors

[![AjayKushwaha25](https://avatars.githubusercontent.com/u/62894103?v=4)](https://github.com/AjayKushwaha25 "AjayKushwaha25 (6 commits)")

### Embed Badge

![Health badge](/badges/ajaykushwaha25-custom-make-command/health.svg)

```
[![Health](https://phpackages.com/badges/ajaykushwaha25-custom-make-command/health.svg)](https://phpackages.com/packages/ajaykushwaha25-custom-make-command)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M319](/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)
