PHP code example of atereshchuk / blade-boring-avatars

1. Go to this page and download the library: Download atereshchuk/blade-boring-avatars 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/ */

    

atereshchuk / blade-boring-avatars example snippets

html
  <!--
      view.blade.php
      Where $colors is php valid array
  -->
  <x-avatar size="80" name="Khaled Sadek" :colors="$colors" />