Skip to content

Commit cd7536b

Browse files
committed
Rename package from ffi/parser to the ffi/c-parser
1 parent 3ad9e64 commit cd7536b

4 files changed

Lines changed: 16 additions & 14 deletions

File tree

‎.gitattributes‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ phpunit.xml export-ignore
2222
/bin export-ignore
2323
/.github export-ignore
2424
/tests export-ignore
25+
/var

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77

88
# Testing
99
test.php
10+
/var

‎README.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
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

1414
Parses C headers (the ones you pass to `FFI::cdef()`) into an AST. Useful for
1515
generating 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

‎composer.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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",
@@ -11,9 +11,9 @@
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
{

0 commit comments

Comments
 (0)