{"id":15525366,"url":"https://github.com/ghostwriter/syntax","last_synced_at":"2026-01-11T10:55:00.565Z","repository":{"id":64566142,"uuid":"552122418","full_name":"ghostwriter/syntax","owner":"ghostwriter","description":"[WIP]Lexical Analysis library for PHP (Tokenizer, Lexer, Parser, Generator)","archived":false,"fork":false,"pushed_at":"2025-02-07T06:05:43.000Z","size":404,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"0.1.x","last_synced_at":"2025-02-07T06:24:23.585Z","etag":null,"topics":["generator","ghostwriter","lexer","parser","php","syntax","tokenizer"],"latest_commit_sha":null,"homepage":"https://github.com/ghostwriter/syntax","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghostwriter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ghostwriter"]}},"created_at":"2022-10-15T21:45:58.000Z","updated_at":"2025-02-07T06:05:46.000Z","dependencies_parsed_at":"2022-12-13T17:25:00.214Z","dependency_job_id":"c9ec6bae-c332-4111-89ed-ab04d0de6582","html_url":"https://github.com/ghostwriter/syntax","commit_stats":null,"previous_names":["ghostwriter/code"],"tags_count":0,"template":false,"template_full_name":"ghostwriter/wip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostwriter%2Fsyntax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostwriter%2Fsyntax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostwriter%2Fsyntax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostwriter%2Fsyntax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghostwriter","download_url":"https://codeload.github.com/ghostwriter/syntax/tar.gz/refs/heads/0.1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238579805,"owners_count":19495553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["generator","ghostwriter","lexer","parser","php","syntax","tokenizer"],"created_at":"2024-10-02T10:57:06.015Z","updated_at":"2025-10-28T01:32:19.512Z","avatar_url":"https://github.com/ghostwriter.png","language":"PHP","funding_links":["https://github.com/sponsors/ghostwriter"],"categories":[],"sub_categories":[],"readme":"# Syntax\n\n[![GitHub Sponsors](https://img.shields.io/github/sponsors/ghostwriter?label=Sponsor+@ghostwriter/syntax\u0026logo=GitHub+Sponsors)](https://github.com/sponsors/ghostwriter)\n[![Automation](https://github.com/ghostwriter/syntax/actions/workflows/automation.yml/badge.svg)](https://github.com/ghostwriter/syntax/actions/workflows/automation.yml)\n[![Supported PHP Version](https://badgen.net/packagist/php/ghostwriter/syntax?color=8892bf)](https://www.php.net/supported-versions)\n[![Downloads](https://badgen.net/packagist/dt/ghostwriter/syntax?color=blue)](https://packagist.org/packages/ghostwriter/syntax)\n\nLexical Analysis library for PHP (Lexer, Tokenizer, Parser, Generator)\n\n\u003e **Warning**\n\u003e\n\u003e This project is not finished yet, work in progress.\n\n\n## Installation\n\nYou can install the package via composer:\n\n``` bash\ncomposer require ghostwriter/syntax\n```\n\n## Usage\n\n```php\n// work in progress\n```\n\n## Commands\n\n```bash\n# This is for development; dogfooding to parse and generate the AST for test fixture files.\nsyntax /path/to/file.php \n\n# -s|--save: Save or Update the AST of the PHP file as JSON file ['file.php =\u003e file.php.json'] in the same location.\n```\n\n## Testing\n\n``` bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG.md](./CHANGELOG.md) for more information what has changed recently.\n\n## Security\n\nIf you discover any security related issues, please email `nathanael.esayeas@protonmail.com` instead of using the issue tracker.\n\n## Support\n\n[[`Become a GitHub Sponsor`](https://github.com/sponsors/ghostwriter)]\n\n## Credits\n\n- [Nathanael Esayeas](https://github.com/ghostwriter)\n- [All Contributors](https://github.com/ghostwriter/syntax/contributors)\n\n## License\n\nThe BSD-4-Clause. Please see [License File](./LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostwriter%2Fsyntax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghostwriter%2Fsyntax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostwriter%2Fsyntax/lists"}