PHPackages                             alexanderschnitzler/phpstorm.meta.php-typo3 - 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. alexanderschnitzler/phpstorm.meta.php-typo3

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

alexanderschnitzler/phpstorm.meta.php-typo3
===========================================

This package contains a .phpstorm.meta.php file which can be used to ease the work with TYPO3 projects in phpstorm.

2157.4k—2.1%2PHP

Since Sep 17Pushed 4y ago5 watchersCompare

[ Source](https://github.com/alexanderschnitzler/phpstorm.meta.php-typo3)[ Packagist](https://packagist.org/packages/alexanderschnitzler/phpstorm.meta.php-typo3)[ RSS](/packages/alexanderschnitzler-phpstormmetaphp-typo3/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

.phpstorm.meta.php for TYPO3
============================

[](#phpstormmetaphp-for-typo3)

This repository contains a `.phpstorm.meta.php` file which can be used to ease the work with TYPO3 projects in phpstorm. TYPO3 comes with a couple of factory methods which cannot clearly define a return type. In the past, a `dynamicReturnTypeMeta.json` file has often been used to tackle said issue. This however depends on a certain plugin to be installed. A `.phpstorm.meta.php` file can be used out of the box with all current phpstorm version.

Example
-------

[](#example)

```
$class = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\Foo::class);
```

In TYPO3, this method is usually used as a replacement for `new` but obviously, said method cannot state a return type. To let phpstorm know what return type to expect, a simple override rule has to be define in `.phpstorm.meta.php`.

```
// .phpstorm.meta.php
namespace PHPSTORM_META {
    override(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(0), type(0));
}
```

Now, phpstorm knows the type of variable `$class`.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd83531162fa868781394299eb6c38d4ffa2224056426ff908cba42bfb5147e0?d=identicon)[schnitzler](/maintainers/schnitzler)

---

Top Contributors

[![alexanderschnitzler](https://avatars.githubusercontent.com/u/711459?v=4)](https://github.com/alexanderschnitzler "alexanderschnitzler (3 commits)")[![etobi](https://avatars.githubusercontent.com/u/152207?v=4)](https://github.com/etobi "etobi (1 commits)")

---

Tags

phpstormtypo3

### Embed Badge

![Health badge](/badges/alexanderschnitzler-phpstormmetaphp-typo3/health.svg)

```
[![Health](https://phpackages.com/badges/alexanderschnitzler-phpstormmetaphp-typo3/health.svg)](https://phpackages.com/packages/alexanderschnitzler-phpstormmetaphp-typo3)
```

###  Alternatives

[magarrent/laravel-url-shortener

Simpler Url Shortener for Laravel

557.4k](/packages/magarrent-laravel-url-shortener)

PHPackages © 2026

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