Skip to content

Generating TypeScript Mappings ​

Generate type-safe PHP mappers and TypeScript mapping interfaces for your frontend (React, Vue, Inertia):

bash
php spark vima:maps generate --ts

This scaffolds PHP classes in app/Mappers/Vima/ and TypeScript definitions in resources/js/vima/.

Released under the MIT License.