PHP code example of alt-three / badger

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

    

alt-three / badger example snippets


// Using the facade
Badger::generate('license', 'MIT', 'blue', 'plastic')

// Dependency injection example
$badger->generate('license', 'MIT', '#ff69b4', 'plastic')

Badger::generate('license', 'MIT', 'blue', 'flat-square')