modalnetworks / metasearch-drivers
This package is abandoned and no longer maintained.
No replacement package was suggested.
1.3.7
2019-06-07 14:44 UTC
Requires
- php: >=7
- guzzlehttp/guzzle: ^6.3
- illuminate/database: ^5.7
- illuminate/events: ^5.7
- illuminate/support: ^5.7
Requires (Dev)
- symfony/var-dumper: ^4.2
README
Driver para Metabuscador
Esse driver deve ser usando em conjunto com o sistema de metabuscador
Instalaçao
composer require modalnetworks/metasearch-drivers
use Modalnetworks\MetaSearch\Drivers\AbcdDriver; use Modalnetworks\MetaSearch\MetaSearchService; $str = 'string file generate'; $settings = new \Modalnetworks\MetaSearch\MetaSearchMappingConfig($mapping['mappings']['abcd']); $settings->setExtrasMerge(['client_id' => 'token client']); $driver = (new AbcdDriver($settings, true)); try{ (new MetaSearchService)->driver($driver)->pushRemote($str, function ($response) { dump($response); }); }catch(\Exception $e){ dump($e->getMessage()); }