PHP code example of vend / pheat

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

    

vend / pheat example snippets


if ($manager->resolve('fancy_graphics')) {
    // Output the fancy graphics
}

$manager = new Pheat\Manager($context, [
    new My\Custom\Provider(),
    new My\Other\Provider()
]);

$manager->addProvider(new My\Custom\Provider())