cline / hcl
HCL (HashiCorp Configuration Language) parser for PHP
Installs: 113
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/cline/hcl
Requires
- php: ^8.4.0
- illuminate/support: *
Requires (Dev)
- cline/coding-standard: ^1.5.6
- phpstan/phpstan: ^2.1
- symfony/var-dumper: ^7.4.0
README
A pure PHP parser for HCL (HashiCorp Configuration Language). Parse, validate, and convert HCL to JSON and back.
Requirements
Requires PHP 8.4+
Installation
composer require cline/hcl
Documentation
- Getting Started - Installation and basic usage
- HCL Syntax - Complete syntax reference
- Expressions - Operators, conditionals, and for expressions
- JSON Conversion - Convert between HCL and JSON
- Validation - Validate configuration files
Change log
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.
Credits
License
The MIT License. Please see License File for more information.