PHP code example of gonzaloner / laravel-trustspot

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

    

gonzaloner / laravel-trustspot example snippets


'providers' => [
    ...
    Gonzaloner\LaravelTrustSpot\LaravelTrustSpotServiceProvider::class,
],

'aliases' => [
    ...
    'LaravelTrustSpot' => Gonzaloner\LaravelTrustSpot\Facades\LaravelTrustSpot::class,
]

{{ LaravelTrustSpot::company->get(optional int $limit, optional int $offset, optional string $sort) }}
bash
$ php artisan vendor:publish --provider="Gonzaloner\LaravelTrustSpot\LaravelTrustSpotServiceProvider"