https://github.com/ghostwriter/phpt
[WIP]Testing Framework for PHP
https://github.com/ghostwriter/phpt
ghostwriter phpt
Last synced: 2 months ago
JSON representation
[WIP]Testing Framework for PHP
- Host: GitHub
- URL: https://github.com/ghostwriter/phpt
- Owner: ghostwriter
- License: bsd-3-clause
- Created: 2024-10-31T23:44:58.000Z (7 months ago)
- Default Branch: 0.1.x
- Last Pushed: 2025-03-15T18:51:05.000Z (2 months ago)
- Last Synced: 2025-03-15T19:34:00.714Z (2 months ago)
- Topics: ghostwriter, phpt
- Language: PHP
- Homepage: https://github.com/ghostwriter/phpt
- Size: 440 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Phpt
[](https://github.com/sponsors/ghostwriter)
[](https://github.com/ghostwriter/phpt/actions/workflows/automation.yml)
[](https://www.php.net/supported-versions)
[](https://packagist.org/packages/ghostwriter/phpt)work in progress
> [!WARNING]
>
> This project is not finished yet, work in progress.## Installation
You can install the package via composer:
``` bash
composer require ghostwriter/phpt
```### Star ⭐️ this repo if you find it useful
You can also star (🌟) this repo to find it easier later.
## Usage
```php
// work in progress// https://qa.php.net/phpt_details.php
// PHPT - Test File Layout.
// [] indicates optional sections.
// --TEST--
// [--DESCRIPTION--]
// [--CREDITS--]
// [--SKIPIF--]
// [--CONFLICTS--]
// [--WHITESPACE_SENSITIVE--]
// [--CAPTURE_STDIO--]
// [--EXTENSIONS--]
// [--POST-- | --PUT-- | --POST_RAW-- | --GZIP_POST-- | --DEFLATE_POST-- | --GET--]
// [--COOKIE--]
// [--STDIN--]
// [--INI--]
// [--ARGS--]
// [--ENV--]
// [--PHPDBG--]
// --FILE-- | --FILEEOF-- | --FILE_EXTERNAL-- | --REDIRECTTEST--
// [--CGI--]
// [--XFAIL--]
// [--FLAKY--]
// [--EXPECTHEADERS--]
// --EXPECT-- | --EXPECTF-- | --EXPECTREGEX-- | --EXPECT_EXTERNAL-- | --EXPECTF_EXTERNAL-- | --EXPECTREGEX_EXTERNAL--
// [--CLEAN--]
```### Credits
- [Nathanael Esayeas](https://github.com/ghostwriter)
- [All Contributors](https://github.com/ghostwriter/phpt/contributors)### Changelog
Please see [CHANGELOG.md](./CHANGELOG.md) for more information on what has changed recently.
### License
Please see [LICENSE](./LICENSE) for more information on the license that applies to this project.
### Security
Please see [SECURITY.md](./SECURITY.md) for more information on security disclosure process.