sensiolabs / typescript-bundle
TypeScript support for Symfony + AssetMapper
Package info
github.com/sensiolabs/AssetMapperTypeScriptBundle
Type:symfony-bundle
pkg:composer/sensiolabs/typescript-bundle
v0.2.2
2025-08-28 10:10 UTC
Requires
- php: >=8.1
- symfony/asset-mapper: ^6.3|^7.0|^8.0
- symfony/console: ^6.3|^7.0|^8.0
- symfony/http-client: ^6.3|^7.0|^8.0
- symfony/process: ^6.3|^7.0|^8.0
Requires (Dev)
- phpstan/phpstan: ^1
- phpstan/phpstan-symfony: ^1.3
- phpunit/phpunit: ^10.5
- symfony/filesystem: ^6.3|^7.0|^8.0
- symfony/framework-bundle: ^6.3|^7.0|^8.0
This package is auto-updated.
Last update: 2026-02-26 10:02:48 UTC
README
This bundle allows you to compile TypeScript and use it with Symfony's AssetMapper Component (no Node required!).
- Automatically downloads the correct SWC binary
- Adds a
typescript:buildcommand to compile your typescript files - Automatically compiles your typescript files when you run
asset-map:compilecommand
Installation
composer require sensiolabs/typescript-bundle
Documentation
Read the documentation at: https://symfony.com/bundles/AssetMapperTypeScriptBundle/current/index.html
Credits
This bundle was greatly inspired by the Sass Bundle from SymfonyCasts.
License
MIT License (MIT): see the License File for more details.