Source: sebastiandedeyne.com

Laravel Typescript Transformer

Category: PHP, PHP

My colleague Ruben released a new Spatie package to generate type declarations in TypeScript from a Laravel application. We’re writing out types two times: one time in PHP and one time in TypeScript. What will happen if we remove the guitar entry from the enum in PHP?

In this project, we worked with seven people, and these seven people would sometimes not work on the project for weeks.

The package was born in a large project we’re working on with an Inertia, React, and TypeScript stack.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners