Download the PHP package cpsit/migrator without Composer

On this page you can find all versions of the php package cpsit/migrator. 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 migrator

[![Screenshot](docs/screenshot.png)](#-installation) # Migrator [![Coverage](https://img.shields.io/coverallsCoverage/github/CPS-IT/migrator?logo=coveralls)](https://coveralls.io/github/CPS-IT/migrator) [![Maintainability](https://api.codeclimate.com/v1/badges/cd03944fa762cd0a4eea/maintainability)](https://codeclimate.com/github/CPS-IT/migrator/maintainability) [![Tests](https://github.com/CPS-IT/migrator/actions/workflows/tests.yaml/badge.svg)](https://github.com/CPS-IT/migrator/actions/workflows/tests.yaml) [![CGL](https://github.com/CPS-IT/migrator/actions/workflows/cgl.yaml/badge.svg)](https://github.com/CPS-IT/migrator/actions/workflows/cgl.yaml) [![Latest Stable Version](http://poser.pugx.org/cpsit/migrator/v)](https://packagist.org/packages/cpsit/migrator) [![Total Downloads](http://poser.pugx.org/cpsit/migrator/downloads)](https://packagist.org/packages/cpsit/migrator) [![License](http://poser.pugx.org/cpsit/migrator/license)](LICENSE) :package: [Packagist](https://packagist.org/packages/cpsit/migrator) | :floppy_disk: [Repository](https://github.com/CPS-IT/migrator) | :bug: [Issue tracker](https://github.com/CPS-IT/migrator/issues)

A PHP library to perform migrations of files with a calculated diff between two code bases using three-way merge. Uses the cypresslab/gitelephant package for any Git operations and provides an interface for custom differ implementations.

🚀 Features

🔥 Installation

⚡ Usage

Command-line

Available options:

PHP

🎢 Architecture

Lifecycle

In order to generate a diff between two code bases, you must provide two collections of resources. This, for example, can be a directory with template files of a previous revision compared to a directory with template files of a current revision. Additionally, you must provide a base directory containing all files to be migrated.

The migration is calculated by a differ. It will generate and apply a diff between both code bases and the provided base files using the three-way merge strategy.

Resource

All relevant code bases (source and target) must be represented by a Resource\Collector\CollectorInterface. The following implementations are currently available:

Differ

Diffs are calculated by an implementation of Diff\Differ\Differ. The following implementations are currently available:

Formatter

Formatters can be used to properly display a calculated Diff\DiffResult. Each formatter implements Formatter\Formatter. The following implementations are currently available:

🧑‍💻 Contributing

Please have a look at CONTRIBUTING.md.

⭐ License

This project is licensed under GNU General Public License 3.0 (or later).


All versions of migrator with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0 || ~8.2.0 || ~8.3.0
cypresslab/gitelephant Version ^4.5
symfony/console Version ^5.4 || ^6.0 || ^7.0
symfony/filesystem Version ^5.4 || ^6.0 || ^7.0
symfony/finder Version ^5.4 || ^6.0 || ^7.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 cpsit/migrator contains the following files

Loading the files please wait ....