SPATIE

Services
Our philosophy Packages Postcards Guidelines Documentation
Products Blog About
Login Work with us

Docs Typescript-transformer Installation

Other versions for crawler v3 v2 v1
    • Introduction
    • Postcardware
    • Installation
    • Questions & issues
    • Changelog
    • About us

    Getting started

    • Setting up
    • Running TypeScript Transformer for the first time
    • Special attributes
    • Typing properties
    • Replacing common types
    • Formatters

    Laravel

    • Installation and setup
    • Laravel Data
    • Controllers
    • Routes
    • Route filters
    • Watch mode

    Custom transformers

    • Getting started
    • Class transformer
    • Enum transformer

    Transformed providers

    • Getting started
    • Using different writers in providers
    • Logging in providers
    • Referencing types
    • Helpers

    TypeScript nodes

    • Introduction
    • Building your own TypeScript node
    • Visiting TypeScript nodes
    • Node reference

    Watch mode

    • How does it work?
    • Setting up the runner
    • Watch events
    • PHP Nodes

    Advanced

    • Extensions
    • Managing transformers
    • Loggers
    • Custom writers

Installation

On this page

  1. Basic installation

##Basic installation

You can install the package via composer:

composer require spatie/typescript-transformer

If you're using Laravel, you should install the Laravel specific package instead:

composer require spatie/laravel-typescript-transformer

You can find the full Laravel installation and setup instructions here.

Postcardware
Questions & issues
Help us improve this page

On this page

  • Basic installation
Medialibrary.pro

UI components for the Media Library

Help us improve this page
  • Services
  • Open source
  • Products
  • Courses
AboutBlogNewsletterDocsGuidelines

Kruikstraat 22, Box 12
2018 Antwerp, Belgium
info@spatie.be
+32 3 292 56 79
  • GitHub
  • Instagram
  • LinkedIn
  • X
  • Bluesky
  • Mastodon
  • YouTube
  • Privacy
  • Disclaimer

+32 3 292 56 79

Click to call us

A good
match?

What we do best

  • All things Laravel
  • Custom frontend components
  • Building APIs
  • AI-powered features
  • Simplifying things
  • Clean solutions
  • Integrating services

Not our cup of tea

  • WordPress themes
  • Cutting corners
  • Free mockups to win a job
  • "Just execute the briefing"

In short: we'd like to be a substantial part of your project.

Get in touch via email

    Enter a search term to find results in the documentation.