PHPackages                             ndakotabe/php-ide-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. ndakotabe/php-ide-stub-generator

ActiveLibrary

ndakotabe/php-ide-stub-generator
================================

PHP stub file generator

2.0.5(9y ago)0449[2 issues](https://github.com/NDakotaBE/php-ide-stub-generator/issues)ISCPHP

Since Mar 16Pushed 9y ago2 watchersCompare

[ Source](https://github.com/NDakotaBE/php-ide-stub-generator)[ Packagist](https://packagist.org/packages/ndakotabe/php-ide-stub-generator)[ RSS](/packages/ndakotabe-php-ide-stub-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

PHP Ide Stub File Generator
===========================

[](#php-ide-stub-file-generator)

Simple stub file generator for development environments.

Base idea:

Examples
--------

[](#examples)

See the "examples" directory!!!

### Ignoring certain methods / properties in Classes

[](#ignoring-certain-methods--properties-in-classes)

You can now add the possibility to ignore a certain method, by providing the generator with the appropriate data.

If the ignoreTag passed allong is in the DocBlock, the generator will ignore the function and skip it in generation.

```
$generator = new Z\IdeStubGenerator\Strategy\PSR0();
```

OR

```
$generator = new Z\IdeStubGenerator\Strategy\OneFile();
```

If you call the `$generator->setTagToIgnore();` function it'll ignore the given tag e.g.:

```
$generator->setTagToIgnore('@ignore');
```

### Z\\IdeStubGenerator\\Strategy\\PSR0

[](#zidestubgeneratorstrategypsr0)

```
$generator = new Z\IdeStubGenerator\Strategy\PSR0();
$generator->setBaseDir(...); // required
// $generator->setFunctionsStubFileName('functions.stub.php'); // optional. Default: 'functions.php'
// $generator->setConstantsStubFileName('constants.stub.php'); // optional. Default: 'constants.php'

// $generator->setClasses(array('class_name', ...)); // optional
// $generator->setFunctions(array('function_name', ...)); // optional
// $generator->setConstants(array('constant_name'=>constant_value, ...)); // optional
$generator->generate();
```

### Z\\IdeStubGenerator\\Strategy\\OneFile

[](#zidestubgeneratorstrategyonefile)

```
$generator = new Z\IdeStubGenerator\Strategy\OneFile();
$generator->setFilePath(...); // required

// $generator->setClasses(array('class_name', ...)); // optional
// $generator->setFunctions(array('function_name', ...)); // optional
// $generator->setConstants(array('constant_name'=>constant_value, ...)); // optional
$generator->generate();
```

License
-------

[](#license)

ISC License (ISC)

Copyright (c) 2014, Rácz Tibor Zoltán

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#### Personal notes

[](#personal-notes)

- Sorry for my bad english in the source code! :)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~100 days

Recently: every ~27 days

Total

11

Last Release

3434d ago

Major Versions

1.2.0 → 2.0.02015-05-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/9fdd2098ff7ee2c98944d5880b012960d47c5885b19c777730d8feb7c9725489?d=identicon)[NDakotaBE](/maintainers/NDakotaBE)

---

Top Contributors

[![racztiborzoltan](https://avatars.githubusercontent.com/u/1519490?v=4)](https://github.com/racztiborzoltan "racztiborzoltan (36 commits)")[![NDakotaBE](https://avatars.githubusercontent.com/u/1303235?v=4)](https://github.com/NDakotaBE "NDakotaBE (8 commits)")

### Embed Badge

![Health badge](/badges/ndakotabe-php-ide-stub-generator/health.svg)

```
[![Health](https://phpackages.com/badges/ndakotabe-php-ide-stub-generator/health.svg)](https://phpackages.com/packages/ndakotabe-php-ide-stub-generator)
```

###  Alternatives

[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[spatie/laravel-database-mail-templates

Render Laravel mailables using a template stored in the database.

446762.6k7](/packages/spatie-laravel-database-mail-templates)[rarst/laps

Light WordPress profiler.

567262.1k2](/packages/rarst-laps)[laracasts/commander

Commands and domain events in Laravel

283368.2k8](/packages/laracasts-commander)[wrklst/docxmustache

docx template manipulation class, based on mustache templating language

578.1k](/packages/wrklst-docxmustache)[vaimo/composer-changelogs

Provide information about package changes based on changelog files that are bundled with releases; provide tools for generating documentation files from changelog sources

11150.5k10](/packages/vaimo-composer-changelogs)

PHPackages © 2026

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