tokenize sphinx configuration and that's all, folks.
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sphinx unicode add Mar 25, 2016
src/LTDBeget/sphinx empty config fix Aug 25, 2016
tests
.gitignore
LICENSE Initial commit Mar 19, 2016
README.md
composer.json
coverage.xml
phpdox.xml v1.0.0 Mar 20, 2016
phpunit.xml

README.md

Php sphinx-configuration-tokenizer

Latest Stable Version Total Downloads Scrutinizer Code Quality Code Coverage Build Status Documentation Documentation License MIT

Tokenize sphinx configuration and that's all, folks.

Installation

composer require ltd-beget/sphinx-configuration-tokenizer

Usage

<?php
    use LTDBeget\sphinx\Tokenizer;

    require(__DIR__ . '/vendor/autoload.php');

    $config_path = realpath(__DIR__."/sphinx/sphinx.conf"); // path to your sphinx conf
    $plain_config = file_get_contents($config_path); // or some string with sphinx conf

    $tokenized = Tokenizer::tokenize($plain_config); // that's all, folks. All is done =)

Developers

Regenerate documentation

$ ./vendor/bin/phpdox

Run tests

$ wget https://phar.phpunit.de/phpunit.phar
$ php phpunit.phar --coverage-html coverage
$ php phpunit.phar --coverage-clover coverage.xml

License

released under the MIT License. See the bundled LICENSE file for details.