Skip to content

Commit 1125f91

Browse files
committed
Enhance README with links to interactive playground and additional testing instructions
1 parent bd442e4 commit 1125f91

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@
1919

2020
TypePHP is a transparent, pure-PHP runtime type checker. You don't have to refactor a single line of your codebase, set up complex build toolchains, or compile C-extensions. Simply run your existing code, and TypePHP will enforce your extended PHPDoc contracts (generics, array shapes, `key-of`/`value-of` extractions, and scalar refinements) dynamically at runtime.
2121

22-
**[Read the full TypePHP documentation »](https://typephp-php.github.io/docs/)**
22+
**[Read the full TypePHP documentation »](https://typephp-php.github.io/docs/)** | **[Try it online in the Playground »](https://typephp-php.github.io/docs/playground)**
23+
24+
---
25+
26+
## Try It Online
27+
28+
You can test TypePHP directly in your browser without installing anything locally via the **[Interactive WebAssembly Playground](https://typephp-php.github.io/docs/playground)**:
2329

2430
---
2531

@@ -88,7 +94,7 @@ Any secondary files required or included by your script will continue to respect
8894

8995
---
9096

91-
## Type-Checking Files Anywhere (`"*"` Wildcard Glob)
97+
## Type-Checking Files Anywhere ("*" Wildcard Glob)
9298

9399
By default, TypePHP checks standard application folders (`src/**`, `app/**`, `tests/**`). To type-check PHP files anywhere in your project root during regular application runs while still respecting your excluded folders, set the `"*"` wildcard glob in `typephp.php`:
94100

@@ -223,6 +229,7 @@ $service->connect(['driver' => 'pdo_invalid']);
223229

224230
All the documentation lives on the **[typephp-php.github.io/docs website](https://typephp-php.github.io/docs/)**:
225231

232+
* [Interactive Playground](https://typephp-php.github.io/docs/playground)
226233
* [Getting Started & Installation Guide](https://typephp-php.github.io/docs/getting-started/installation)
227234
* [Quick Start Guide](https://typephp-php.github.io/docs/getting-started/quick-start)
228235
* [Configuration Guide](https://typephp-php.github.io/docs/getting-started/configuration)
@@ -256,4 +263,4 @@ Any contributions are welcome. Feel free to open issues or submit pull requests
256263

257264
## License
258265

259-
TypePHP is open-source software licensed under the [MIT License](https://choosealicense.com/licenses/mit/).
266+
TypePHP is open-source software licensed under the [MIT License](https://choosealicense.com/licenses/mit/).

0 commit comments

Comments
 (0)