PHPackages                             eltristi/extra-commands - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. eltristi/extra-commands

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

eltristi/extra-commands
=======================

A Laravel package to generate repositories, services, interfaces, traits and enums.

v1.0.2(2y ago)01.2kMITPHPPHP ^8.1

Since Jun 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/eltristi/extra-commands)[ Packagist](https://packagist.org/packages/eltristi/extra-commands)[ RSS](/packages/eltristi-extra-commands/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Laravel Extra Commands
======================

[](#laravel-extra-commands)

This package provides additional artisan make commands for Laravel to speed up your development process.

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

[](#installation)

You can install the package via composer:

```
composer require eltristi/extra-commands
```

You can publish the config file if you want to change the default directories:

```
php artisan vendor:publish --provider="eltristi\ExtraCommands\ExtraCommandsServiceProvider"
```

Available Commands
------------------

[](#available-commands)

### make:repository

[](#makerepository)

Creates a new repository class and optionally an interface for it.

Usage

```
php artisan make:repository UserRepository --model=User --interface
```

Options

- --model (-m): The model that the repository should be bound to.
- --interface (-i): Indicates if an interface should be generated for the repository.

### make:service

[](#makeservice)

Creates a new service class and optionally an interface for it.

Usage

```
php artisan make:service UserService --interface
```

Options

- --interface (-i): Indicates if an interface should be generated for the repository.

### make:enum

[](#makeenum)

Creates a new enum class. Usage

```
php artisan make:enum UserTypeEnum --type=string
```

Options

- --type (-t): Indicates the return type of the enum.

### make:trait

[](#maketrait)

Creates a new trait. Usage

```
php artisan make:trait MyTrait
```

### make:interface

[](#makeinterface)

Creates a new interface and allows you to specify its type. Usage

```
php artisan make:interface UserRepositoryInterface --type=repository
```

Options

- --type (-t): The type of the interface (repository, service). If no type is specified, the interface will be placed under App\\Contracts.

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

[](#configuration)

You can configure the namespaces for the generated classes in the generator config file.

License
-------

[](#license)

This project is licensed under the MIT License - see the LICENSE.md file for details.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

842d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/64027edb2655cb73c93a23b0eae7fffc3960bcbb40123d62b0df9a08a8bd1f62?d=identicon)[eltristi](/maintainers/eltristi)

---

Top Contributors

[![eltristi](https://avatars.githubusercontent.com/u/67025209?v=4)](https://github.com/eltristi "eltristi (9 commits)")

### Embed Badge

![Health badge](/badges/eltristi-extra-commands/health.svg)

```
[![Health](https://phpackages.com/badges/eltristi-extra-commands/health.svg)](https://phpackages.com/packages/eltristi-extra-commands)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M680](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M210](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M855](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

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