PHPackages                             kerigard/laravel-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. kerigard/laravel-commands

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

kerigard/laravel-commands
=========================

Commands for Laravel

v1.1.0(2y ago)04MITPHPPHP ^8.1

Since Apr 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Kerigard/laravel-commands)[ Packagist](https://packagist.org/packages/kerigard/laravel-commands)[ Docs](https://github.com/kerigard/laravel-commands)[ RSS](/packages/kerigard-laravel-commands/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Laravel Commands
================

[](#laravel-commands)

 [![Build Status](https://github.com/Kerigard/laravel-commands/workflows/tests/badge.svg)](https://github.com/Kerigard/laravel-commands/actions) [![Total Downloads](https://camo.githubusercontent.com/619e6dbf6c24e21fe0efa2b39019eac6521a80458ff02992735d7087f0bd2172/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4b657269676172642f6c61726176656c2d636f6d6d616e6473)](https://packagist.org/packages/Kerigard/laravel-commands) [![Latest Stable Version](https://camo.githubusercontent.com/ec629e6f63f58f181ffcbb12678337939a031d148ff5ee28e1ed31a80540f4d0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4b657269676172642f6c61726176656c2d636f6d6d616e6473)](https://packagist.org/packages/Kerigard/laravel-commands) [![License](https://camo.githubusercontent.com/806e114dad7ff53a3bbe638c774b3402d9e302466e5ace6db4d2ad179c539b3b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f4b657269676172642f6c61726176656c2d636f6d6d616e6473)](https://packagist.org/packages/Kerigard/laravel-commands)

Commands for Laravel 10 and up.

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

[](#installation)

Install package via composer:

```
composer require kerigard/laravel-commands
```

Publish the configuration file using the `vendor:publish` artisan command to configure or disable unnecessary commands:

```
php artisan vendor:publish --provider="Kerigard\LaravelCommands\CommandsServiceProvider" --tag=commands-config
```

Publish the stubs files using the `vendor:publish` artisan command to change the structure of generated classes:

```
php artisan vendor:publish --provider="Kerigard\LaravelCommands\CommandsServiceProvider" --tag=commands-stubs
```

Usage
-----

[](#usage)

### Pint

[](#pint)

Running Laravel Pint via artisan command.

```
pint [options] [--] [...]

```

ArgumentDescriptionpathsRun Pint on specific files or directoriesOptionShortcutDescription--verbose-vShow details of changes--test-tInspect code for style errors without actually changing the files--dirty-dModify the files that have uncommitted changes according to Git--preset\[=PRESET\]-pUse preset with rule set to fix code--config\[=CONFIG\]-cUse pint.json config from a specific directory#### Examples

[](#examples)

Run Laravel Pint.

```
php artisan pint
```

Run with arguments:

```
php artisan pint app/Models routes/api.php -t --preset psr12 --config vendor/my-company/coding-style/pint.json
```

### Make Enum

[](#make-enum)

Create a new enum class.

```
make:enum [options] [--]

```

ArgumentDescriptionnameThe name of the enumOptionShortcutDescription--force-fCreate the class even if the enum already exists--help-hDisplay help for the given command#### Examples

[](#examples-1)

Create a enum class:

```
php artisan make:enum Status
```

> Creates a file `app/Enums/Status.php`.

### Make Trait

[](#make-trait)

Create a new trait class.

```
make:trait [options] [--]

```

ArgumentDescriptionnameThe name of the traitOptionShortcutDescription--force-fCreate the class even if the trait already exists--help-hDisplay help for the given command#### Examples

[](#examples-2)

Create a trait class:

```
php artisan make:trait HasRoles
```

> Creates a file `app/Traits/HasRoles.php`.

### Make Contract

[](#make-contract)

Create a new contract interface.

```
make:contract [options] [--]

```

ArgumentDescriptionnameThe name of the contractOptionShortcutDescription--action-aCreate a contract for an action--force-fCreate the interface even if the contract already exists--help-hDisplay help for the given command#### Examples

[](#examples-3)

Create a contract interface:

```
php artisan make:contract CreatesUser
```

> Creates a file `app/Contracts/CreatesUser.php`.

Create a contract for action:

```
php artisan make:contract CreatesUser --action
```

> Creates a file `app/Contracts/CreatesUser.php`.

### Make Action

[](#make-action)

Create a new action class.

```
make:action [options] [--]

```

ArgumentDescriptionnameThe name of the actionOptionShortcutDescription--contract\[=CONTRACT\]-cCreate a new contract for the action--force-fCreate the class even if the action already exists--help-hDisplay help for the given command#### Examples

[](#examples-4)

Create a action class:

```
php artisan make:action CreateUser
```

> Creates a file `app/Actions/CreateUser.php`.

Create action and contract:

```
php artisan make:action CreateUser --contract CreatesUser
```

> Creates `app/Actions/CreateUser.php` and `app/Contracts/CreatesUser.php` files.

Create action and contract with the same name:

```
php artisan make:action CreateUser --contract
```

> Creates `app/Actions/CreateUser.php` and `app/Contracts/CreateUser.php` files.

### Make Service

[](#make-service)

Create a new service class.

```
make:service [options] [--]

```

ArgumentDescriptionnameThe name of the serviceOptionShortcutDescription--contract\[=CONTRACT\]-cCreate a new contract for the service--force-fCreate the class even if the service already exists--help-hDisplay help for the given command#### Examples

[](#examples-5)

Create a service class:

```
php artisan make:service UserService
```

> Creates a file `app/Services/UserService.php`.

Create service and contract:

```
php artisan make:service UserService --contract User
```

> Creates `app/Services/UserService.php` and `app/Contracts/User.php` files.

Create service and contract with the same name:

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

> Creates `app/Services/UserService.php` and `app/Contracts/UserService.php` files.

Changelog
---------

[](#changelog)

Please see the [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

MIT. Please see the [LICENSE FILE](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

785d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8bf41af862d8b4e4b8fee30d6a8a338395a39e303e2c04a8c9ec92d130db018f?d=identicon)[kerigard](/maintainers/kerigard)

---

Top Contributors

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

---

Tags

laravel

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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