All Projects → laminas → Laminas Migration

laminas / Laminas Migration

Licence: bsd-3-clause
Migrate Zend Framework MVC applications, Expressive applications, Apigility applications, or third-party libraries to target Laminas.

Projects that are alternatives of or similar to Laminas Migration

Yii2 Migration
Yii 2 Migration Creator And Updater
Stars: ✭ 262 (+351.72%)
Mutual labels:  hacktoberfest, migration
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 7,712 (+13196.55%)
Mutual labels:  hacktoberfest, migration
Laminas Zendframework Bridge
Alias legacy ZF class names to Laminas Project equivalents.
Stars: ✭ 928 (+1500%)
Mutual labels:  hacktoberfest, migration
Vscode Bcdn
A Plugin for easy bootstrap markup and template
Stars: ✭ 58 (+0%)
Mutual labels:  hacktoberfest
Fakeiteasy
The easy mocking library for .NET
Stars: ✭ 1,092 (+1782.76%)
Mutual labels:  hacktoberfest
Esp8266 deauther
Affordable WiFi hacking platform for testing and learning
Stars: ✭ 9,312 (+15955.17%)
Mutual labels:  hacktoberfest
Hooking Template With Mod Menu
A small template for Android Hooking with Substrate. (Includes a mod menu written in Java)
Stars: ✭ 59 (+1.72%)
Mutual labels:  hacktoberfest
Jquery Floating Social Share
Social media share buttons with counters.
Stars: ✭ 57 (-1.72%)
Mutual labels:  hacktoberfest
Django Cms
The easy-to-use and developer-friendly enterprise CMS powered by Django
Stars: ✭ 8,522 (+14593.1%)
Mutual labels:  hacktoberfest
Containerd
An open and reliable container runtime
Stars: ✭ 9,956 (+17065.52%)
Mutual labels:  hacktoberfest
Drf Nested Routers
Nested Routers for Django Rest Framework
Stars: ✭ 1,098 (+1793.1%)
Mutual labels:  hacktoberfest
Web
Grow Open Source
Stars: ✭ 1,097 (+1791.38%)
Mutual labels:  hacktoberfest
Vulcan
🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
Stars: ✭ 8,027 (+13739.66%)
Mutual labels:  hacktoberfest
Mattermost Plugin Jira
JIRA plugin for Mattermost 🔌
Stars: ✭ 58 (+0%)
Mutual labels:  hacktoberfest
Webtorrent Desktop
❤️ Streaming torrent app for Mac, Windows, and Linux
Stars: ✭ 8,587 (+14705.17%)
Mutual labels:  hacktoberfest
Openfoodfacts Dart
Open Food Facts API Wrapper
Stars: ✭ 57 (-1.72%)
Mutual labels:  hacktoberfest
Post Mortems
A collection of postmortems. Sorry for the delay in merging PRs!
Stars: ✭ 8,772 (+15024.14%)
Mutual labels:  hacktoberfest
Konlpy
Python package for Korean natural language processing.
Stars: ✭ 1,098 (+1793.1%)
Mutual labels:  hacktoberfest
Godo
DigitalOcean Go API client
Stars: ✭ 1,097 (+1791.38%)
Mutual labels:  hacktoberfest
Thanos
Highly available Prometheus setup with long term storage capabilities. A CNCF Incubating project.
Stars: ✭ 9,820 (+16831.03%)
Mutual labels:  hacktoberfest

laminas-migration

Migrate a Zend Framework project or third-party library to target Laminas, Expressive, and/or Apigility.

This tool will migrate:

  • Zend Framework MVC projects, all v2 and v3 releases.
  • Apigility projects, all versions
  • Expressive versions, all versions

For more details, please read the documentation and FAQ.

Installation

Via Composer

Install the library globally using Composer:

$ composer global require laminas/laminas-migration

Via cloning

Clone the repository somewhere:

$ git clone https://github.com/laminas/laminas-migration.git

Install dependencies:

$ cd laminas-migration
$ composer install

From there, either add the bin/ directory to your $PATH, symlink the bin/laminas-migration script to a directory in your $PATH, or create an alias to the bin/laminas-migration script using your shell:

# Adding to PATH:
$ export PATH=/path/to/laminas-migration/bin:$PATH
# Symlinking to a directory in your PATH:
$ cd $HOME/bin && ln -s /path/to/laminas-migration/bin/laminas-migration .
# creating an alias:
$ alias laminas-migration=/path/to/laminas-migration/bin/laminas-migration

Usage

Migrating a library or project

To migrate a library or project to Laminas, use the migrate command:

$ laminas-migration migrate [--no-plugin] [--exclude=|-e=] [--keep-locked-versions] [path]

where:

  • [path] is the path to the project you want to migrate; if omitted, the command assumes the current working directory.

  • [--no-plugin] can be specified to omit adding the Composer plugin laminas/laminas-dependency-plugin to your library or project. We do not recommend using this option; the plugin ensures that any nested dependencies on Zend Framework packages will instead install the Laminas variants. There are very few cases where this behavior is not desired.

  • [--exclude=|-e=] can be used multiple times to specify directories to omit from the migration. Examples might include your data/ or cache/ directories.

  • [--keep-locked-versions] will synchronize your composer.json with the composer.lock packages before the migration starts. This will ensure that your projects stays on the same versions even after deleting the lock-file. Thus, after running composer install (after the migration finished, you can manually re-configure your composer.json again by using a diff-tool) and updating the composer.lock by just using composer update --lock. This wont trigger any update but refreshes the composer.lock to be back in sync with the composer.json again. Please note that we encourage to upgrade to the latest versions to avoid unexpected issues. If you experiencing issues after migration while using this flag we cannot offer support.

When done, you can check to see what files were changed, and examine the composer.json. Run composer install to install dependencies, and then test your application.

Forcing nested dependencies to resolve to Laminas packages

If you use the --no-plugin option to the migrate command, you can migrate nested dependencies manually using the nested-deps command:

$ laminas-migration nested-deps [path] [--composer=composer]

where:

  • [path] is the path to the project for which you want to perform the operation; if omitted, the command assumes the current working directory.

  • --composer allows you to provide a custom path to the composer binary.

This will be a one-off operation. If you add dependencies later, or perform a composer update, you may need to re-run it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].