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

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

mrpunyapal/laravel-extended-commands
====================================

This package will have some commands which are not available in laravel.

1.5.0(2mo ago)789137[1 issues](https://github.com/MrPunyapal/laravel-extended-commands/issues)MITPHPPHP ^8.3|^8.4|^8.5CI passing

Since Mar 24Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/MrPunyapal/laravel-extended-commands)[ Packagist](https://packagist.org/packages/mrpunyapal/laravel-extended-commands)[ Docs](https://github.com/mrpunyapal/laravel-extended-commands)[ GitHub Sponsors](https://github.com/MrPunyapal)[ RSS](/packages/mrpunyapal-laravel-extended-commands/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (42)Versions (14)Used By (0)

This package has some commands which are not available in laravel.
==================================================================

[](#this-package-has-some-commands-which-are-not-available-in-laravel)

[![Laravel Compatibility](https://camo.githubusercontent.com/aa6f1612f49b813782c00ac8c955f3b0e4ba17759e472022aca89af8af03393d/68747470733a2f2f62616467652e6c61726176656c2e636c6f75642f62616467652f4d7250756e796170616c2f6c61726176656c2d657874656e6465642d636f6d6d616e6473)](https://packagist.org/packages/MrPunyapal/laravel-extended-commands)[![Latest Version on Packagist](https://camo.githubusercontent.com/1ae565446d237c255ca091052ea120fe61d4e4c33a8fa00edda2bcf2b75bc9e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d7270756e796170616c2f6c61726176656c2d657874656e6465642d636f6d6d616e64732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mrpunyapal/laravel-extended-commands)[![GitHub Tests Action Status](https://camo.githubusercontent.com/889b052b1bcb1a5312ecd86edec544f52b4ff445bb1965a3a90db303122a03e4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d7270756e796170616c2f6c61726176656c2d657874656e6465642d636f6d6d616e64732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/mrpunyapal/laravel-extended-commands/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/45e137fb37b24d2b52cb02d74c2393dedd1c47a7a06092cf24c0a2c9353bfa76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d7270756e796170616c2f6c61726176656c2d657874656e6465642d636f6d6d616e64732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mrpunyapal/laravel-extended-commands)

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

[](#installation)

You can install the package via composer:

```
composer require mrpunyapal/laravel-extended-commands
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-extended-commands-config"
```

This is the contents of the published config file:

```
return [
    // Nothing to configure yet.
];
```

Laravel Boost
-------------

[](#laravel-boost)

This package ships a Laravel Boost skill for its generators.

In a Laravel application that has `laravel/boost` installed, add this package and then run one of the following commands to discover or refresh the packaged skill:

```
php artisan boost:install
php artisan boost:update --discover
```

Boost can then install the `laravel-extended-commands-development` skill for tasks involving this package's custom Artisan generators.

Usage
-----

[](#usage)

### Make Builder

[](#make-builder)

```
php artisan make:builder {name}
```

### Make Builder with Model

[](#make-builder-with-model)

```
php artisan make:builder {name} --model={model}
```

### Make Collection

[](#make-collection)

Create a new Eloquent custom collection class. By default the class is generated into the `App\Models\Collections` namespace and extends `Illuminate\Database\Eloquent\Collection`.

```
php artisan make:collection {name}
```

Create a collection with a model generic PHPDoc (adds `@template` and `@extends` in the generated class):

```
php artisan make:collection {name} --model={model}
```

When generating a model you can also scaffold a collection for it and inject a `newCollection()` method into the model using the `--collection` flag:

```
php artisan make:model {name} --collection
```

This will generate `App\Models\Collections\{Name}Collection` and add a `newCollection(array $models = [])` method to the model which returns the new collection instance.

### Make Model with Builder

[](#make-model-with-builder)

```
php artisan make:model {name} --builder
```

### Make Action

[](#make-action)

Create a new action class. By default the class is generated into the `App\Actions` namespace and contains a `handle()` method.

```
php artisan make:action {name}
```

Create an invokable action (generates an `__invoke` method):

```
php artisan make:action {name} --invokable
```

Force overwrite an existing action file:

```
php artisan make:action {name} --force
```

### Make Concern

[](#make-concern)

Create a new concern (trait). By default the trait is generated into the `App\\Concerns` namespace.

```
php artisan make:concern {name}
```

Force overwrite an existing concern file:

```
php artisan make:concern {name} --force
```

### Make Contract

[](#make-contract)

Create a new contract (interface). By default the interface is generated into the `App\\Contracts` namespace.

```
php artisan make:contract {name}
```

Force overwrite an existing contract file:

```
php artisan make:contract {name} --force
```

### Make Facade

[](#make-facade)

Create a new facade class. By default the class is generated into the `App\Facades` namespace and extends `Illuminate\Support\Facades\Facade`.

```
php artisan make:facade {name}
```

The command will automatically generate a snake\_case accessor based on the facade name. For example:

```
php artisan make:facade FileUpload
```

This generates `App\Facades\FileUpload` with accessor `file_upload`.

Force overwrite an existing facade file:

```
php artisan make:facade {name} --force
```

If the name argument is not provided, you will be prompted to enter it:

```
php artisan make:facade
# Enter FacadeName (ex. FileUpload): Payment
```

You can also create facades with namespaces:

```
php artisan make:facade Payment\Stripe
```

This generates `App\Facades\Payment\Stripe` with accessor `stripe`.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Punyapal Shah](https://github.com/MrPunyapal)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance87

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 96.7% 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 ~45 days

Recently: every ~36 days

Total

10

Last Release

63d ago

Major Versions

0.1 → 1.0.02025-03-25

PHP version history (3 changes)0.1PHP ^8.2|^8.3|^8.4

1.0.0PHP ^8.3|^8.4

1.1.0PHP ^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/230c58a4f918ca3e3f2988b38721230698bce88f76ae9087e4377ba0b3a074d5?d=identicon)[MrPunyapal](/maintainers/MrPunyapal)

---

Top Contributors

[![MrPunyapal](https://avatars.githubusercontent.com/u/53343069?v=4)](https://github.com/MrPunyapal "MrPunyapal (88 commits)")[![vivek-mistry](https://avatars.githubusercontent.com/u/32848578?v=4)](https://github.com/vivek-mistry "vivek-mistry (3 commits)")

---

Tags

buildercommandslaravelmakemodellaraveldevMake commandsPunyapal Shahlaravel-extended-commandsmake Builder

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M101](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.9k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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