PHP code example of potelo / laravel-predictionio

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

    

potelo / laravel-predictionio example snippets


    Potelo\LaravelPredictionIO\Provider\PredictionIOServiceProvider::class

    'EngineClient'      => Potelo\LaravelPredictionIO\Facades\EngineFacade::class,
        'EventClient'       => Potelo\LaravelPredictionIO\Facades\EventFacade::class,

	'predictionio' => [
		'key' => '0250b3f85ce33284f77c77f36b41010ef2c4fc5c',
		'url' => 'http://localhost:7200'
	],