WhatsDiff Overview

WhatsDiff is a specialized developer tool designed to provide clear and actionable insights into dependency changes within your projects. It operates as a powerful command-line interface (CLI) that analyzes `composer.lock` and `package-lock.json` files, helping you understand precisely what has been added, removed, or updated after running `composer update` or `npm update`. This tool is essential for maintaining code stability, conducting security audits, and streamlining code reviews by making dependency changes transparent and easy to track.

How to use WhatsDiff

To get started with WhatsDiff, first install it globally on your system using Composer. Then, navigate to your project's root directory in your terminal and run the tool's commands to analyze your dependencies. The most common workflow is to run an analysis after updating your packages to see a summary of all changes.

  1. Install the tool globally via Composer: composer global require whatsdiff/whatsdiff
  2. Navigate to your PHP or JavaScript project directory.
  3. After running composer update or npm update, execute the command: whatsdiff analyse
  4. Use other commands like whatsdiff between to compare changes between two commits or branches, or launch the interactive interface with whatsdiff tui to browse changelogs.

Core Features of WhatsDiff

  • Dependency Analysis: Scans `composer.lock` and `package-lock.json` files to provide a detailed summary of added, removed, and updated packages.
  • Powerful CLI Commands: Offers a suite of commands including `analyse`, `between`, `check`, and `changelog` for comprehensive dependency inspection.
  • Interactive Terminal UI (TUI): Features a TUI mode that allows you to interactively browse dependency changes and view release notes directly in your terminal.
  • MCP Server: Includes a Model Context Protocol server designed for seamless integration with AI assistants and other development tools, enhancing automated workflows.
  • Upcoming GitHub Integration: A planned GitHub App will deliver automatic dependency change reports directly within your pull requests to inform merging decisions.

Use Cases for WhatsDiff

WhatsDiff is ideal for developers and teams looking to improve their dependency management workflow. It is particularly useful for security-conscious code reviews, allowing reviewers to see exactly what has changed in third-party libraries. It also aids in debugging by helping to pinpoint issues that may have been introduced by a package update. Furthermore, it helps maintain project stability by providing a clear overview of changes before they are merged into the main codebase.

Advantages of WhatsDiff

The primary advantage of WhatsDiff is the clarity it brings to the often-complex process of managing dependencies. It saves developers significant time that would otherwise be spent manually checking changelogs and comparing versions. By integrating directly into the command line, it fits naturally into existing developer workflows. Its support for both the PHP and JavaScript ecosystems makes it a versatile tool for full-stack developers.

WhatsDiff Frequently Asked Questions

WhatsDiff Comments (0)

No comments yet, be the first to comment!

Log in to post comments

Log in now

WhatsDiff Alternatives

View All
Bitbucket

Bitbucket

Bitbucket is a Git-based code hosting and collaboration platform for professional teams. It offers best-in-class Jira integration, built-in …

13.4M
Free
Contextgit

Contextgit

A command-line tool for developers using LLMs, providing requirements traceability, staleness detection, and precise context extraction to enhance …

3.4K
Nango

Nango

Nango is a comprehensive integration platform for developers, enabling B2B SaaS companies to rapidly build, deploy, and scale …

144.9K
Plandex

Plandex

Plandex is an open-source, terminal-based AI coding agent designed for complex, large-scale software development tasks. It excels at …

24.6K
AIO Tests: QA Testing and Test Management for Jira

AIO Tests: QA Testing and Test Management for Jira

An all-in-one, Jira-native QA and test management platform. AIO Tests streamlines your entire testing lifecycle with features like …

964.7K
Warestack

Warestack

Warestack provides agentic guardrails for software development teams, enabling safe and compliant releases. It uses context-aware, natural language …

3.9K
Free
Explain by Whybug

Explain by Whybug

Explain by Whybug is an AI-powered tool for developers that instantly demystifies cryptic code errors. Simply paste your …

3.6K
Standup Mate

Standup Mate

Standup Mate is an AI-powered tool that automatically generates daily standup updates and sprint reports directly from your …

3.5K
Relume

Relume

Relume is an AI-powered platform that accelerates the website design and building process. It enables users to generate …

663.2K
Buildt

Buildt

Buildt is an AI-powered code search and understanding tool for developers. It integrates directly into your IDE, allowing …

3.4K

WhatsDiff Embed Feature

Just copy the embed code below and paste this beautiful badge on your blog, article, or official app website to drive traffic directly to this tool's detail page and quickly boost your exposure and user count!

ToolMage
ToolMage
FOLLOW US ON
114
How to install?
Link copied to clipboard!