PHP code example of hubertnnn / imaginator

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

    

hubertnnn / imaginator example snippets


php artisan vendor:publish --provider="HubertNNN\Imaginator\Integration\Laravel\ImaginatorServiceProvider" --tag="config"

'Imaginator' => HubertNNN\Imaginator\Integration\Laravel\ImaginatorFacade::class,

$user = User::first();
echo Imaginator::entity($user, '800x600');