<commit_before>Introduction
------------
This library is designed to make it easier to make your website use [spfjs](https://github.com/youtube/spfjs/).

Dependent Libraries
-------------------
 * Nothing

Server Requirements
-------------------
 * PHP +5.3.0 (probably still usable with older versions)

Implementation
--------------
To be added when the essential is finished.

API
---
To be added...


License
-------
MIT
Copyright 2014 <NAME><commit_msg>Updated README to include more useful information.<commit_after># SPF for PHP
SPFPHP is a library designed to make it easy and intuitive to implement
[spfjs](https://github.com/youtube/spfjs/) for your own server using php.
It handles everything related to SPF on the server and it makes sure that
the client will receive the correct information.

## Requirement
The only requirement for this library is that your server is using
**PHP 5.3.0** or newer though it's possible that it would still work with
older versions, but some of the API might not work.

## Features
This library currently support most of the specification of SPF.

* Full support for single SPF response.
* Partial support for multipart/chunked SPF response (planned to implement
  full support in the future).

## Get Started
Before anything else you need to understand [spfjs](https://github.com/youtube/spfjs/).

SPFPHP has no dependencies and is a single standalone file.

To get started, clone the project, build the main SPFPHP file, and copy it
to your server where your PHP files can access it:

```shell
$ git clone https://github.com/YePpHa/spfphp.git
$ cd spfphp
$ npm install
$ grunt
$ cp build/spf.php YOUR_PHP_DIR/
```

You will need to make sure that you have [node.js](http://nodejs.org/)
and [grunt](http://gruntjs.com/) installed.

For examples on how to implement SPFPHP for your server application
you can take a look at the directory `./examples`.

## API
To be added soon.

## License
MIT
Copyright 2014 Jeppe Rune Mortensen
{'fraction_non_alphanumeric': 0.10688956433637285, 'fraction_numerical': 0.0070921985815602835, 'mean_word_length': 3.4886363636363638, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 4, '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': '3448124', 'n_tokens_mistral': 560, 'n_tokens_neox': 535, 'n_words': 264}