kyoushu / solr-serve
This package is abandoned and no longer maintained.
No replacement package was suggested.
A library for managing instances of Solr to aid unit tests
dev-master
2018-07-18 09:57 UTC
Requires
- php: ^7.1
- symfony/filesystem: ^4.1
- symfony/options-resolver: ^4.1
- symfony/process: ^4.1
- symfony/property-access: ^4.1
Requires (Dev)
- phpunit/phpunit: ^7.2
This package is auto-updated.
Last update: 2023-01-15 19:29:27 UTC
README
A library for managing instances of Solr to aid unit tests
Usage Example
$manager = new \Kyoushu\SolrServe\PackageManager('/tmp/solr-packages'); $package = $manager->createPackage('7.4.0')->download()->unpack(); $server = $package->createServer([ 'core_name' => 'foo', 'dir' => '/tmp/foo', 'port' => 9000 ]); $server->initialise(); $server->start(); // Do things with Solr here... $server->stop();