PHPackages                             m-derakhshi/laravel-stub-generator - 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. m-derakhshi/laravel-stub-generator

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

m-derakhshi/laravel-stub-generator
==================================

stubGeneratorDev

1.0.6(1y ago)0736PHPPHP ^8.1

Since May 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/m-derakhshi/laravel-stub-generator)[ Packagist](https://packagist.org/packages/m-derakhshi/laravel-stub-generator)[ RSS](/packages/m-derakhshi-laravel-stub-generator/feed)WikiDiscussions main Synced 1mo ago

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

### Example config

[](#example-config)

file path : /config/stubGenerator.php

```
return [
  'directories'     => [
    'Module'  => [
      'targets' => [
        ['namespace' => 'Modules', 'path' => base_path('modules').'/'],
        ['namespace' => 'Packages', 'path' => base_path('packages').'/'],
        ['namespace' => 'Projects', 'path' => base_path('projects').'/'],
      ],
    ],
    'Project' => [
      'targets' => [['namespace' => 'Projects', 'path' => base_path('projects').'/'],],
    ],
    'Package' => [
      'targets' => [['namespace' => 'Packages', 'path' => base_path('packages').'/'],],
    ],
  ],
  'fileTypeRewrite' => [
    '.php',
    '.stub',
    '.json',
  ],
  'fileTypeRemove'  => [
    '.stub',
  ],
];

```

stub directories in base\_path/stubs like:

```
base_path/stubs
    modules
        directory/
        file.stub
        file.php.stub
    projects
        directory/
        file.stub
        file.php.stub
    packages
        directory/
        file.stub
        file.php.stub

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

5

Last Release

555d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/03b3cbbbf98cd8159da3618646e7986b1d5690f8093cd86e1ad0890b9dc6a404?d=identicon)[m-derakhshi](/maintainers/m-derakhshi)

---

Top Contributors

[![m-derakhshi](https://avatars.githubusercontent.com/u/59544612?v=4)](https://github.com/m-derakhshi "m-derakhshi (7 commits)")

### Embed Badge

![Health badge](/badges/m-derakhshi-laravel-stub-generator/health.svg)

```
[![Health](https://phpackages.com/badges/m-derakhshi-laravel-stub-generator/health.svg)](https://phpackages.com/packages/m-derakhshi-laravel-stub-generator)
```

###  Alternatives

[bolt/forms

📦 This Bolt extension can be used to handle forms in your Bolt project.

2223.8k1](/packages/bolt-forms)[webbycrown/blog-for-bagisto

Blog for Bagisto

257.0k](/packages/webbycrown-blog-for-bagisto)

PHPackages © 2026

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