File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,3 +22,4 @@ phpunit.xml export-ignore
2222/bin export-ignore
2323/.github export-ignore
2424/tests export-ignore
25+ /var
Original file line number Diff line number Diff line change 77
88# Testing
99test.php
10+ /var
Original file line number Diff line number Diff line change 1- # FFI Parser
1+ # FFI C23 Parser
22
33<p align =" center " >
4- <a href="https://packagist.org/packages/ffi/parser"><img src="https://poser.pugx.org/ffi/parser/require/php?style=for-the-badge" alt="PHP 8.1+"></a>
5- <a href="https://packagist.org/packages/ffi/parser"><img src="https://poser.pugx.org/ffi/parser/version?style=for-the-badge" alt="Latest Stable Version"></a>
6- <a href="https://packagist.org/packages/ffi/parser"><img src="https://poser.pugx.org/ffi/parser/v/unstable?style=for-the-badge" alt="Latest Unstable Version"></a>
7- <a href="https://packagist.org/packages/ffi/parser"><img src="https://poser.pugx.org/ffi/parser/downloads?style=for-the-badge" alt="Total Downloads"></a>
8- <a href="https://raw.githubusercontent.com/php-ffi/parser/master/LICENSE"><img src="https://poser.pugx.org/ffi/parser/license?style=for-the-badge" alt="License MIT"></a>
4+ <a href="https://packagist.org/packages/ffi/c- parser"><img src="https://poser.pugx.org/ffi/c- parser/require/php?style=for-the-badge" alt="PHP 8.1+"></a>
5+ <a href="https://packagist.org/packages/ffi/c- parser"><img src="https://poser.pugx.org/ffi/c- parser/version?style=for-the-badge" alt="Latest Stable Version"></a>
6+ <a href="https://packagist.org/packages/ffi/c- parser"><img src="https://poser.pugx.org/ffi/c- parser/v/unstable?style=for-the-badge" alt="Latest Unstable Version"></a>
7+ <a href="https://packagist.org/packages/ffi/c- parser"><img src="https://poser.pugx.org/ffi/c- parser/downloads?style=for-the-badge" alt="Total Downloads"></a>
8+ <a href="https://raw.githubusercontent.com/php-ffi/c- parser/master/LICENSE"><img src="https://poser.pugx.org/ffi/c- parser/license?style=for-the-badge" alt="License MIT"></a>
99</p >
1010<p align =" center " >
11- <a href="https://github.com/php-ffi/parser/actions/workflows/tests.yml"><img src="https://github.com/php-ffi/parser/actions/workflows/tests.yml/badge.svg" alt="Tests"></a>
11+ <a href="https://github.com/php-ffi/c- parser/actions/workflows/tests.yml"><img src="https://github.com/php-ffi/c- parser/actions/workflows/tests.yml/badge.svg" alt="Tests"></a>
1212</p >
1313
1414Parses C headers (the ones you pass to ` FFI::cdef() ` ) into an AST. Useful for
1515generating wrappers and stubs or checking a header before loading it.
1616
17- Based on C23, [ ISO/IEC 9899:2024 (N3220)] ( https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf ) .
17+ Based on C23 specification: [ ISO/IEC 9899:2024 (N3220)] ( https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf )
1818
1919## Installation
2020
2121``` sh
22- $ composer require ffi/parser
22+ $ composer require ffi/c- parser
2323```
2424
2525## Usage
Original file line number Diff line number Diff line change 11{
2- "name" : " ffi/parser" ,
2+ "name" : " ffi/c- parser" ,
33 "type" : " library" ,
4- "description" : " PHP C23 headers parser" ,
4+ "description" : " PHP FFI-compatible ISO/IEC 9899:2024 (С23) parser implementation " ,
55 "license" : " MIT" ,
66 "keywords" : [
77 " ffi" ,
1111 " ast"
1212 ],
1313 "support" : {
14- "source" : " https://github.com/php-ffi/parser" ,
15- "issues" : " https://github.com/php-ffi/parser/issues" ,
16- "docs" : " https://github.com/php-ffi/parser/blob/master/README.md"
14+ "source" : " https://github.com/php-ffi/c- parser" ,
15+ "issues" : " https://github.com/php-ffi/c- parser/issues" ,
16+ "docs" : " https://github.com/php-ffi/c- parser/blob/master/README.md"
1717 },
1818 "authors" : [
1919 {
You can’t perform that action at this time.
0 commit comments