Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janhancic/sphinx-generate-config-php
Sphinx Generate Config PHP (sgc.php) is a PHP CLI script for generating Sphinx (search) config files for multiple projects.
https://github.com/janhancic/sphinx-generate-config-php
Last synced: 22 days ago
JSON representation
Sphinx Generate Config PHP (sgc.php) is a PHP CLI script for generating Sphinx (search) config files for multiple projects.
- Host: GitHub
- URL: https://github.com/janhancic/sphinx-generate-config-php
- Owner: janhancic
- Created: 2011-04-14T14:01:43.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-03T09:10:14.000Z (almost 12 years ago)
- Last Synced: 2024-04-14T19:15:48.121Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 97.7 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sphinx Generate Config PHP (sgc.php)
## What is it?
A CLI PHP script for generating [Sphinx](http://www.sphinxsearch.com/ "Sphinx search") config files. Developed at [Popcom d.o.o.](http://www.popcom.si/ "Popcom d.o.o. - spletni mediji") where we need a more efficient way of writing Sphinx config files.
We have a lot of websites that are localized versions of the same website, and so have the same code base, but use different databases (with the same structure). Writing Sphinx config files for all this version soon became tedious and error prone. So I wrote this little tools, where you define indexes and then it generates config files for all websites.## How to use it?
Look at "sphinxconfig.php" for an example config file where you define your indexes&sources and define hosts (web pages) that use those sources&indexes. Then run php sgc.php configname.php## License
Do whatever you want with this.