Download the PHP package roave/backward-compatibility-check without Composer

On this page you can find all versions of the php package roave/backward-compatibility-check. 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 backward-compatibility-check

Roave Backward Compatibility Check

SWUbanner

Mutation testing badge Type Coverage Latest Stable Version License

A tool that can be used to verify BC breaks between two versions of a PHP library.

Pre-requisites/assumptions

Installation

Install with Docker

You can also use Docker to run roave-backward-compatibility-check:

Usage

Adding to a continuous integration pipeline

The typical intended usage is to just add roave-backward-compatibility-check to your CI build:

This will automatically detect the last minor version tagged, and compare the API against the current HEAD. If any BC breaks are found, the tool returns a non-zero status, which on most CI systems will cause the build to fail.

NOTE: detecting the base version only works if you have git tags in the SemVer-compliant x.y.z format, such as 1.2.3.

NOTE: since this tool relies on tags, you need to make sure tags are fetched as part of your CI pipeline. For example in a GitHub action, note the use of fetch-depth: 0:

Nyholm Github Action

Tobias Nyholm also offers a simple GitHub action that you can use in your Github pipeline. We recommend this for most cases as it is simple to set up:

.github/workflows/main.yml:

Running manually

To generate additional documentation for changelogs:

GitHub Actions

When running in GitHub Actions, it is endorsed to use the --format=github-actions output format:

Documentation

If you need further guidance:

Configuration

There are currently no configuration options available.


All versions of backward-compatibility-check with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0 || ~8.3.0
azjezz/psl Version ^3.0.2
composer/composer Version ^2.7.6
nikic/php-parser Version ^4.19.1
nikolaposa/version Version ^4.2.0
ocramius/package-versions Version ^2.8.0
roave/better-reflection Version ^6.26.0
symfony/console Version ^7.0.7
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 roave/backward-compatibility-check contains the following files

Loading the files please wait ....