Skip to content

Commit

Permalink
make generator output more clear (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-zh authored Jan 9, 2022
1 parent ec10e84 commit b0c9a3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ composer require php-kafka/php-avro-schema-generator "^3.0"
This library enables you to:
- Manage your embedded schema as separate files
- The library is able to merge those files
- The library is able to generate avsc schema from PHP classes
- The library is able to generate avsc schema templates from PHP classes

### Merging subschemas / schemas
Schema template directories: directories containing avsc template files (with subschema)
Expand Down Expand Up @@ -83,6 +83,7 @@ $merger->merge();
You will need to adjust the generated templates, but it gives you a good starting point to work with.
Class directories: Directories containing the classes you want to generate schemas from
Output directory: output directory for your generated schema templates
After you have reviewed and adjusted your templates you will need to merge them (see above)

**Console example**
```bash
Expand Down

0 comments on commit b0c9a3d

Please sign in to comment.