PHPackages                             iq2i/typescript-types-bundle - 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. iq2i/typescript-types-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

iq2i/typescript-types-bundle
============================

Symfony bundle that downloads TypeScript type definitions from npm packages via jsDelivr CDN, enabling IDE autocompletion with Symfony AssetMapper.

033PHP

Since Mar 2Pushed 4mo agoCompare

[ Source](https://github.com/IQ2i/typescript-types-bundle)[ Packagist](https://packagist.org/packages/iq2i/typescript-types-bundle)[ RSS](/packages/iq2i-typescript-types-bundle/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

TypeScript Types Bundle
=======================

[](#typescript-types-bundle)

Symfony bundle that downloads TypeScript type definitions (`.d.ts` files) from npm packages via the jsDelivr CDN, enabling IDE autocompletion when using TypeScript with Symfony AssetMapper.

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

[](#installation)

```
composer require --dev iq2i/typescript-types-bundle
```

If you don't use Symfony Flex, enable the bundle manually in `config/bundles.php`:

```
return [
    IQ2i\TypescriptTypesBundle\IQ2iTypescriptTypesBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

Download TypeScript type definitions for all packages declared in `importmap.php`:

```
php bin/console typescript:types:download
```

The command reads your `importmap.php` file, resolves type definitions for each versioned package, and downloads them into `assets/vendor/@types//`.

For scoped packages, the `/` separator is replaced with `__` (e.g. `@hotwired/stimulus` → `assets/vendor/@types/@hotwired/stimulus/`).

### tsconfig.json

[](#tsconfigjson)

After downloading, the command automatically creates or updates `tsconfig.json` at the root of your project with the appropriate `paths` configuration so your IDE can resolve the types:

```
{
  "compilerOptions": {
    "paths": {
      "@hotwired/stimulus": ["./assets/vendor/@types/@hotwired/stimulus"]
    }
  }
}
```

If `tsconfig.json` already exists, only missing or outdated paths are added.

Documentation
-------------

[](#documentation)

See [docs/index.md](docs/index.md) for the full documentation.

License
-------

[](#license)

This bundle is released under the [MIT License](LICENSE).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance52

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/911eee5cdea5a7a363c88e69d05e828b21e544ebdf573df9f887e72b2c6f0eb8?d=identicon)[LoicSapone](/maintainers/LoicSapone)

---

Top Contributors

[![loicsapone](https://avatars.githubusercontent.com/u/4466694?v=4)](https://github.com/loicsapone "loicsapone (1 commits)")

---

Tags

assetmapperbundlephpsymfonytypescript

### Embed Badge

![Health badge](/badges/iq2i-typescript-types-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/iq2i-typescript-types-bundle/health.svg)](https://phpackages.com/packages/iq2i-typescript-types-bundle)
```

###  Alternatives

[assada/laravel-achievements

Achievements for Laravel 6+

78172.6k](/packages/assada-laravel-achievements)[atlas-php/atlas

A unified AI SDK for Laravel applications.

5345.4k](/packages/atlas-php-atlas)[wsmallnews/filament-nestedset

Filament nestedset tree builder powered by kalnoy/nestedset with Filament v4 and v5 support

197.8k17](/packages/wsmallnews-filament-nestedset)

PHPackages © 2026

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