Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parsica-php/parsica
Parsica - PHP Parser Combinators - The easiest way to build robust parsers.
https://github.com/parsica-php/parsica
parser parser-combinators php
Last synced: 1 day ago
JSON representation
Parsica - PHP Parser Combinators - The easiest way to build robust parsers.
- Host: GitHub
- URL: https://github.com/parsica-php/parsica
- Owner: parsica-php
- License: mit
- Created: 2020-05-25T15:16:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T08:37:38.000Z (7 months ago)
- Last Synced: 2024-05-01T21:22:11.609Z (7 months ago)
- Topics: parser, parser-combinators, php
- Language: PHP
- Homepage: https://parsica-php.github.io/
- Size: 656 KB
- Stars: 404
- Watchers: 13
- Forks: 16
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Parsica
[![Tests](https://github.com/parsica-php/parsica/actions/workflows/tests.yml/badge.svg)](https://github.com/parsica-php/parsica/actions/workflows/tests.yml)
The easiest way to build robust parsers in PHP.
```bash
composer require parsica-php/parsica
```Documentation & API: [parsica-php.github.io](https://parsica-php.github.io/)
```php
tryString("{Hello}");
echo $result->output(); // Hello
```![Twitter Follow](https://img.shields.io/twitter/follow/parsica_php?style=social)
## Project status
Regrettably, the maintainer of this library (@turanct) has passed away in December 2021 due to cancer. At the moment, there is no maintainer. If you'd like to contribute to this library, or if you wish to use this library for a project and need consulting, contact the original author Mathias Verraes mathias at verraes net.
## Development
After running `composer install`, run these to validate if everything is in working order:
```
composer run phpunit
composer run psalm
composer run uptodocs# or all of them:
composer run test
```