Download the PHP package setono/dependency-tracker without Composer

On this page you can find all versions of the php package setono/dependency-tracker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dependency-tracker

Dependency Tracker

Latest Version Build Status Code Coverage Mutation testing badge

A Composer plugin that snapshots tracked files and directories from vendor/ into a committed project directory. After each composer install or composer update, any changes in tracked paths become visible via git diff.

Installation

Quick start

Scaffold a config file:

This creates dependency-tracker.php in your project root. Open it and add the vendor paths you want to track:

Run composer install or composer update to trigger the first snapshot. The tracked files are copied into .dependency-snapshots/ where they are visible to git:

What to commit

  1. dependency-tracker.php -- the config file
  2. The entire .dependency-snapshots/ directory -- the snapshots themselves

Do not add .dependency-snapshots/ to .gitignore.

How it works

On every composer install or composer update the plugin:

  1. Reads dependency-tracker.php from the project root
  2. For each tracked directory: deletes the snapshot copy entirely and re-copies all matching files. This means additions, modifications, and deletions in vendor are all visible in git diff.
  3. For each tracked file: copies it to the mirrored location. If the source file was removed from vendor, the snapshot copy is deleted automatically.

Filters

Filters are matched against filenames (not full paths) using fnmatch(). Multiple patterns use OR logic:

Non-recursive mode

By default directories are traversed recursively. To track only the files directly inside a directory:

Configuration reference

Config methods

Method Returns Description
track(string $path) Track Register a path relative to project root
setOutputDir(string $dir) self Set output directory (default: .dependency-snapshots)

Track methods

Method Returns Default Description
filter(string ...$patterns) self No filter (all files) Glob patterns matched against filenames
recursive(bool $recursive) self true Whether to descend into subdirectories

When a tracked path is missing

If a tracked path does not exist in vendor/ at run time, the plugin emits a warning and continues processing the remaining tracks. This is not fatal.

Uninstalling

Then delete dependency-tracker.php and .dependency-snapshots/ from your project.


All versions of dependency-tracker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
composer-plugin-api Version ^2.0
composer/composer Version ^2.8
symfony/console Version ^6.0 || ^7.0 || ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package setono/dependency-tracker contains the following files

Loading the files please wait ...