PHP code example of seobrain / laraparser

1. Go to this page and download the library: Download seobrain/laraparser 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/ */

    

seobrain / laraparser example snippets


// Initialize $aparser class
$aparser = new Seobrain\Laraparser\Laraparser();

// Optionally you can specify credentials during initialization:
$aparser = new Seobrain\Laraparser\Laraparser(config('laraparser.host'), config('laraparser.password'));

// Make a request
$aparser->ping(); // pong

php artisan vendor:publish --provider="Seobrain\Laraparser\LaraparserServiceProvider"

php artisan config:cache