PHP code example of kumwe / interface-standard

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

    

kumwe / interface-standard example snippets


use Kumwe\Contribution\ContributionOwner;
use Kumwe\InterfaceStandard\SurfaceDefinition;

$surface = SurfaceDefinition::fromArray(
    ContributionOwner::extension('acme/orders'),
    $manifestSurface,
);
$canonicalMetadata = $surface->toArray();