Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 17 | All time: 11,338 This week: 40 |
Version | License | PHP version | Categories | |||
yii2-dependency-find 1.0 | MIT/X Consortium ... | 7.4 | Debug, Tools, Files and Folders, Lang..., P... |
Extension for finding horizontal dependencies of Yii2 modules
composer require smoren/yii2-dependency-finder
use Smoren\Yii2\DependencyFinder\Finders\ProjectDependencyFinder;
use Smoren\Yii2\DependencyFinder\Structs\Path;
use Smoren\Yii2\DependencyFinder\Writers\ShortTxtWriter;
use Smoren\Yii2\DependencyFinder\Writers\ShortTxtWriter;
use Smoren\Yii2\DependencyFinder\Writers\DetailedTxtWriter;
use Smoren\Yii2\DependencyFinder\Writers\CsvWriter;
$dependencyFinder = new ProjectDependencyFinder(new Path(dirname(__DIR__)));
$dependencyCollection = $dependencyFinder->find();
print_r($dependencyCollection->getSummary());
$writer = new ShortTxtWriter(new Path(dirname(__DIR__), 'logs/dependencies_short.txt'));
$writer->write($dependencyCollection);
$writer = new DetailedTxtWriter(new Path(dirname(__DIR__), 'logs/dependencies_detailed.txt'));
$writer->write($dependencyCollection);
$writer = new CsvWriter(new Path(dirname(__DIR__), 'logs/dependencies.csv'));
$writer->write($dependencyCollection);
Files (22) |
File | Role | Description | ||
---|---|---|---|---|
src (6 directories) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation |
Files (22) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Collections (2 files) | ||||
Finders (3 files) | ||||
Interfaces (6 files) | ||||
Structs (2 files) | ||||
Walkers (2 files) | ||||
Writers (4 files) |
Files (22) | / | src | / | Collections |
File | Role | Description |
---|---|---|
ModuleDependencyCollection.php | Class | Class source |
ProjectDependencyCollection.php | Class | Class source |
Files (22) | / | src | / | Finders |
File | Role | Description |
---|---|---|
FileDependencyFinder.php | Class | Class source |
ModuleDependencyFinder.php | Class | Class source |
ProjectDependencyFinder.php | Class | Class source |
Files (22) | / | src | / | Interfaces |
File | Role | Description |
---|---|---|
CollectionInterface.php | Class | Class source |
FinderInterface.php | Class | Class source |
ModuleInterface.php | Class | Class source |
PathInterface.php | Class | Class source |
WalkerInterface.php | Class | Class source |
WriterInterface.php | Class | Class source |
Files (22) | / | src | / | Structs |
File | Role | Description |
---|---|---|
Module.php | Class | Class source |
Path.php | Class | Class source |
Files (22) | / | src | / | Walkers |
File | Role | Description |
---|---|---|
ProjectModuleWalker.php | Class | Class source |
ProjectTreeWalker.php | Class | Class source |
Files (22) | / | src | / | Writers |
File | Role | Description |
---|---|---|
BaseFileWriter.php | Class | Class source |
CsvWriter.php | Class | Class source |
DetailedTxtWriter.php | Class | Class source |
ShortTxtWriter.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
yii2-dependency-find-2023-03-13.zip 12KB | |
yii2-dependency-find-2023-03-13.tar.gz 5KB | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.