hurah/php-typed-property-toggle

Comment / uncomment PHP typed properties for your project.

Installs: 10

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/hurah/php-typed-property-toggle

dev-master 2020-05-26 09:29 UTC

This package is auto-updated.

Last update: 2025-09-26 21:25:15 UTC


README

This is a simple utility that accepts a directory structure containing php 7.4 typed property classes and copies this structure to the specified output folder with the typed properties commented out. It does the same in reverse.

Usage: ./bin/transpile PHP_VERSION SOURCE_DIR DEST_DIR

Example: ./bin/transpile 7.3 ./src ./dist