PHPackages                             lee-to/laravel-package-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lee-to/laravel-package-command

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

lee-to/laravel-package-command
==============================

Package development command

0.9.2(1y ago)5276.5k↓12%14MITPHPPHP ^8.0|^8.1|^8.2

Since Jan 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/lee-to/laravel-package-command)[ Packagist](https://packagist.org/packages/lee-to/laravel-package-command)[ RSS](/packages/lee-to-laravel-package-command/feed)WikiDiscussions master Synced 1mo ago

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

### The base class of the console command with a set of methods for package developers

[](#the-base-class-of-the-console-command-with-a-set-of-methods-for-package-developers)

Applies to console commands to install a package

It is convenient if your package adds stubs during installation, service providers

### Installation

[](#installation)

```
composer require lee-to/laravel-package-command
```

### Usage

[](#usage)

- Change `Illuminate\Console\Command ` to `Leeto\PackageCommand\Command`
- Set `protected string $stubsDir = 'Path to stubs dir'`

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance40

Moderate activity, may be stable

Popularity40

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~346 days

Total

3

Last Release

512d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1861327?v=4)[Danil Shutsky](/maintainers/lee-to)[@lee-to](https://github.com/lee-to)

---

Top Contributors

[![lee-to](https://avatars.githubusercontent.com/u/1861327?v=4)](https://github.com/lee-to "lee-to (6 commits)")[![alexvenga](https://avatars.githubusercontent.com/u/12836836?v=4)](https://github.com/alexvenga "alexvenga (1 commits)")[![shevl-dev](https://avatars.githubusercontent.com/u/118539450?v=4)](https://github.com/shevl-dev "shevl-dev (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lee-to-laravel-package-command/health.svg)

```
[![Health](https://phpackages.com/badges/lee-to-laravel-package-command/health.svg)](https://phpackages.com/packages/lee-to-laravel-package-command)
```

###  Alternatives

[opensrs/osrs-toolkit-php

OpenSRS PHP Toolkit

7668.6k](/packages/opensrs-osrs-toolkit-php)[magiccart/lookbook

Pin product to banner easy.

1319.7k](/packages/magiccart-lookbook)[dem13n/discussion-cards

Output of discussions in form of cards

164.6k](/packages/dem13n-discussion-cards)[tureki/phpcc

A PHP Library to use Google Closure Compiler compress Javascript

202.7k](/packages/tureki-phpcc)

PHPackages © 2026

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