<commit_before>Spiel
=====

Spiel is a small and lightweight PHP framework for creating RPC-like web
services that can provide interface documentation "on the fly" to requesting
clients. The current version supports returning JSON-encoded objects. A
precursor to this framework has proven itself to be very useful in various
production environments for a few years now.

Expect more documentation in the future, but for now, take a look at the
"Hello World!" example in the examples directory. To run it, put the contents of
the src directory somewhere in your PHP include path and then put the
sayHello.php file into your web server's publishing path. When you request the
sayHello.php file, you will be provided with documentation on its interface. By
requesting the file again but appending an "x" request parameter (e.g.,
`http://your.server/sayHello.php?x`), the web service will be invoked and you
will be returned a JSON-encoded object indicating the service response.

Spiel requires PHP 5.3 or higher and has been tested in an Apache 2 / PHP
environment.<commit_msg>Updated to indicate API documentation availability<commit_after>Spiel
=====

Spiel is a small and lightweight object-oriented PHP framework for creating
RPC-like web services that can provide interface documentation "on the fly" to
requesting clients. The current version supports returning JSON-encoded objects.
A precursor to this framework has proven itself to be very useful in various
production environments for a few years now.

Expect more documentation in the future, but for now, API documentation is
available in the docs/html folder (open index.htm), and take a look at the
"Hello World!" example in the examples directory. To run it, put the contents of
the src directory somewhere in your PHP include path and then put the
sayHello.php file into your web server's publishing path. When you request the
sayHello.php file, you will be provided with documentation on its interface. By
requesting the file again but appending an "x" request parameter (e.g.,
`http://your.server/sayHello.php?x`), the web service will be invoked and you
will be returned a JSON-encoded object indicating the service response.

Spiel requires PHP 5.3 or higher and has been tested in an Apache 2 / PHP
environment.
{'fraction_non_alphanumeric': 0.04649122807017544, 'fraction_numerical': 0.002631578947368421, 'mean_word_length': 4.688279301745636, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7498474', 'n_tokens_mistral': 542, 'n_tokens_neox': 527, 'n_words': 344}