phpstan / phpdoc-parser

Next-gen phpDoc parser with support for intersection types and generics
MIT License
1.31k stars 62 forks source link

Add Ecosystem section to README doc #211

Closed rainx closed 12 months ago

rainx commented 12 months ago

About this PR

I attempted to enhance the README file by including an Ecosystem section to acknowledge other projects that have been influenced by this amazing library.

Currently, the only project I have added is a TypeScript version PHPDoc parser developed by my company, RightCapital. The URL for this project is https://github.com/RightCapitalHQ/phpdoc-parser.

Some information about the PHPDoc parser TypeScript version.

as you may already know. RightCapital uses PHP as the main backend language so far and uses PHPStan to improve our PHP code quality. we use it a lot, we also donate to this awesome project.

Our backend code has good type annotations and we also want that information could be used for the front-end developer by automatically generating TypeScript types(we are developing our front-end system by using TypeScript). we developed a system to generate types from backend code to TypeScript types. especially the type annotations from the php doc are the important part. so we referred to this Library and created a TypeScript version PHPDoc parser for doing this. after getting PHPDoc AST from php code. we also have a transpiler to convert it to TypeScript AST for getting the final TypeScript code.

so PHPDoc parser TypeScript is a part of that project. and we recently decided to make it open-source.

ondrejmirtes commented 12 months ago

I decided no to merge this PR, because it doesn't look like typical PRs that I merge here. I don't want to disclose my reasons, because it would lead to more discussion, and I need to put my attention elsewhere.

Thank you for understanding.

rainx commented 12 months ago

@ondrejmirtes that's ok for me .. totally understand it.