Download the PHP package o3-shop/shop-doctrine-migration-wrapper without Composer

On this page you can find all versions of the php package o3-shop/shop-doctrine-migration-wrapper. 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 shop-doctrine-migration-wrapper

O3-Shop doctrine migration integration

Document: https://docs.o3-shop.com/developer/en/6.2/development/modules_components_themes/module/database_migration/index.html

Branch Compatibility

Description

O3-Shop uses database migrations for:

At the moment O3-Shop uses "Doctrine 2 Migrations" and it's integrated via O3-Shop migration components.

Doctrine Migrations runs migrations with a single configuration. But there was a need to run migration for one or all the projects and modules (CE, PR and a specific module). For this reason `Doctrine Migration Wrapper` was created.

Running migrations - CLI

Script to run migrations is installed within composer bin directory. It accepts two parameters:

To get comprehensive information about Doctrine 2 Migrations and available commands as well, please see official documentation.

Example:

bash

vendor/bin/oe-eshop-db_migrate migrations:migrate

This command will run all the migrations which are in O3-Shop specific directories. For example if you have migration tool will run migrations in this order:

Suite Types (Generate migration for a single suite)

It is also possible to run migrations for specific suite by defining `<Suite_Type>` parameter in the command. This variable defines what type of migration it is. There are 5 suite types:

Example 1:

bash

vendor/bin/oe-eshop-db_migrate migrations:generate

This command generates migration versions for all the suite types.

Example 2:

bash

vendor/bin/oe-eshop-db_migrate migrations:generate CE

In this case it will be generated only for Community Edition in `vendor/o3-shop/shop_ce/migration` directory.

Use Migrations Wrapper without CLI

Doctrine Migration Wrapper is written in PHP and also could be used without command line interface. To do so:

Bugs and Issues

If you experience any bugs or issues, please report them in the section O3-Shop (all versions) of https://bugs.o3-shop.com.


All versions of shop-doctrine-migration-wrapper with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
doctrine/migrations Version ^2.3.2
composer/package-versions-deprecated Version ^1
o3-shop/shop-facts Version ^1.0.0
symfony/console Version *
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 o3-shop/shop-doctrine-migration-wrapper contains the following files

Loading the files please wait ....