We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0822f commit 847db73Copy full SHA for 847db73
README.md
@@ -16,7 +16,7 @@ composer require riverwaysoft/php-converter --dev
16
17
2) Copy executable file
18
```
19
-cp vendor/riverwaysoft/php-converter/bin/php-generator bin/php-generator
+cp vendor/riverwaysoft/php-converter/bin/dto-converter bin/dto-converter
20
21
22
3) Mark a few classes with `#[Dto]` annotation to convert them into TypeScript or Dart
@@ -45,7 +45,7 @@ class UserWithFriendsDto
45
46
4) Run CLI command to generate TypeScript or Dart
47
```bash
48
-bin/php-generator generate --from=/path/to/project/src --to=.
+bin/dto-converter generate --from=/path/to/project/src --to=.
49
50
51
You'll get file `generated.ts` with the following contents:
bin/php-generator renamed to bin/dto-converter
0 commit comments