PHP code example of netbrothers-gmbh / version-bundle

1. Go to this page and download the library: Download netbrothers-gmbh/version-bundle 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/ */

    

netbrothers-gmbh / version-bundle example snippets


// config/bundles.php
return [
    // ...
    NetBrothers\VersionBundle\NetBrothersVersionBundle::class => ['all' => true],
    // ...
];



sr\Container\ContainerInterface;
use Doctrine\ORM\EntityManagerInterface;

$container = ce::class) instanceof EntityManagerInterface
) {
    // everything is fine
} else {
    // you need to check your container file
}
console
vendor/bin/netbrothers-version --container-file=config/container.php --summary