Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Client
✓ use Solarium\Client;
Minimal Solr client ping example.
<?php
require_once 'vendor/autoload.php';
use Solarium\Client;
$config = [
'endpoint' => [
'localhost' => [
'host' => '127.0.0.1',
'port' => 8983,
'path' => '/solr/',
]
]
];
$client = new Client($config);
$ping = $client->createPing();
$result = $client->ping($ping);
echo 'Ping successful: ' . $result->getPingStatus();
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.