PHP code example of pixiucz / ares-finder
1. Go to this page and download the library: Download pixiucz/ares-finder library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pixiucz / ares-finder example snippets
public function boot()
{
...
$this->app->register(\Pixiucz\AresFinder\AresFinderServiceProvider::class)
...
}
// Can be injected through constructor or by using service provider
$AresFinder = app('AresFinder');
$results = $AresFinder->findByName("Pixiu");
$results2 = $AresFinder->findByIco("05307503");