PHPackages                             rhaarhoff/laravel-artisan-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. [CLI &amp; Console](/categories/cli)
4. /
5. rhaarhoff/laravel-artisan-commands

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

rhaarhoff/laravel-artisan-commands
==================================

Useful Artisan commands for generating services, repositories and more.

v1.1.2(6y ago)31911MITPHPPHP &gt;=7

Since May 21Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Flame1994/laravel-artisan-commands)[ Packagist](https://packagist.org/packages/rhaarhoff/laravel-artisan-commands)[ RSS](/packages/rhaarhoff-laravel-artisan-commands/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (7)Versions (12)Used By (1)

Laravel 5 Custom Artisan Commands
---------------------------------

[](#laravel-5-custom-artisan-commands)

[![Latest Stable Version](https://camo.githubusercontent.com/1b5a5d3cf8b8cc147eadf15e0a997f6bf5daf911f2cbbee108d44980965d9427/68747470733a2f2f706f7365722e707567782e6f72672f7268616172686f66662f6c61726176656c2d6172746973616e2d636f6d6d616e64732f762f737461626c65)](https://packagist.org/packages/rhaarhoff/laravel-artisan-commands)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Stars](https://camo.githubusercontent.com/8701ed6fef4a0251624a1f859d18e68c26c9e77302ea953b6aa838b76d2b4f90/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f466c616d65313939342f6c61726176656c2d6172746973616e2d636f6d6d616e64732e737667)](https://github.com/Flame1994/laravel-artisan-commands)[![Total Downloads](https://camo.githubusercontent.com/cab3e99bcc20294b1278eb883f2c2cf256f4e3adc288f9ddd2bc9b1563e5f039/68747470733a2f2f706f7365722e707567782e6f72672f7268616172686f66662f6c61726176656c2d6172746973616e2d636f6d6d616e64732f646f776e6c6f616473)](https://packagist.org/packages/rhaarhoff/laravel-artisan-commands)

### Description

[](#description)

This package provides some useful Artisan commands for generating services, repositories and more.

### Installation

[](#installation)

Require this package with Composer using the following command:

```
composer require rhaarhoff/laravel-artisan-commands
```

After updating Composer, add the service provider to the `providers` array in `config/app.php`:

```
Rhaarhoff\LaravelArtisanCommands\CommandServiceProvider::class
```

Run the `dump-autoload` command:

```
composer dump-autoload
```

In Laravel, instead of adding the service provider in the `config/app.php` file, you can add the following code to your `app/Providers/AppServiceProvider.php` file, within the `register()` method:

```
public function register()
{
    if ($this->app->environment() !== 'production') {
        $this->app->register(\Rhaarhoff\LaravelArtisanCommands\CommandServiceProvider::class);
    }
    // ...
}
```

### Commands

[](#commands)

Below you can find all the commands that you can use, including the parameters that you can specify.

```
COMMAND                     PARAMETER             DESCRIPTION
-----------------------------------------------------------------------------------------------------------------------
make:service                                Generates a basic service class
make:service          -m             Generates a basic service class as well as a model
make:service          -c                    Generates a service class with a constructor
make:service          -y        Generates a service class as well as a repository
make:repository                             Generates a basic repository class
make:repository       -m             Generates a repository class as well as a model
make:layer                                  Generates only a model class if no parameters are specified
make:layer            -c                    Generates a new controller class for the model
make:layer            -s                    Generates a new service class for the model
make:layer            -y                    Generates a new repository class for the model
make:layer            -f                    Generates a new factory class for the model
make:layer            -m                    Generates a new migration for the model
make:layer            -p                    Indicates if the model should be a custom intermediate table model
make:layer            -r                    Indicates if the generated controller should be a resource controller
make:layer            -all                  Generates a migration, factory, resource controller, service
                                                  and repository for the model

```

### License

[](#license)

The Laravel Artisan Commands is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 80.6% 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

10

Last Release

2542d ago

Major Versions

0.0.2 → v1.0.02019-05-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/43560ced6e5694b98c0bfa612425466e133639c106ebb8170cd839955cea1034?d=identicon)[rhaarhoff](/maintainers/rhaarhoff)

---

Top Contributors

[![ruanhaarhoff](https://avatars.githubusercontent.com/u/46562211?v=4)](https://github.com/ruanhaarhoff "ruanhaarhoff (25 commits)")[![Flame1994](https://avatars.githubusercontent.com/u/11166582?v=4)](https://github.com/Flame1994 "Flame1994 (5 commits)")[![angelomelonas](https://avatars.githubusercontent.com/u/12830426?v=4)](https://github.com/angelomelonas "angelomelonas (1 commits)")

---

Tags

artisancommandlaravelphplaravelcommands

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rhaarhoff-laravel-artisan-commands/health.svg)

```
[![Health](https://phpackages.com/badges/rhaarhoff-laravel-artisan-commands/health.svg)](https://phpackages.com/packages/rhaarhoff-laravel-artisan-commands)
```

###  Alternatives

[barryvdh/laravel-ide-helper

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

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M601](/packages/laravel-ui)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[nunomaduro/laravel-console-menu

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

815412.0k48](/packages/nunomaduro-laravel-console-menu)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)

PHPackages © 2026

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