PHP code example of khalyomede / dependency-scanner

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

    

khalyomede / dependency-scanner example snippets




halyomede\DependencyScanner;

$scanner = new DependencyScanner;

$dependencies = $scanner->getOutdatedDependencies();



use Khalyomede\DependencyScanner;

ner->setComposerFilePath(__DIR__ . "/../composer.json");
$scanner->setLockFilePath(__DIR__ . "/../composer.lock");

$dependencies = $scanner->getOutdatedDependencies();

public function getComposerFilePath(): string;

public function getLockFilePath(): string;

public function getOutdatedDependencies(): array

public function setComposerFilePath(string $path): self;

public function setlockFilePath(string $path): self;