Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TomasVotruba/awesome-php-migrations
Awesome sources for PHP projects migrations - legacy, pattern refactoring, framework switches, temlates and configs...
https://github.com/TomasVotruba/awesome-php-migrations
List: awesome-php-migrations
Last synced: 6 days ago
JSON representation
Awesome sources for PHP projects migrations - legacy, pattern refactoring, framework switches, temlates and configs...
- Host: GitHub
- URL: https://github.com/TomasVotruba/awesome-php-migrations
- Owner: TomasVotruba
- Created: 2020-09-05T11:27:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-18T21:34:36.000Z (over 3 years ago)
- Last Synced: 2024-05-23T02:08:33.796Z (6 months ago)
- Size: 23.4 KB
- Stars: 207
- Watchers: 16
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Awesome PHP Migrations [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
Awesome list about PHP code bases migrations, legacy refactoring and instant upgrades. (This list is not about database migrations.)
Do you have an old PHP project that you need to migrate to newer version, different framework, templating system or config format? This is the place.
## What to Contribute?
The goal of this post is to **keep it short, useful and reliable**. Work with legacy often very frustrating, as behind corner there is a new black hole of problems to suck us in.
Our mission is to **keep this list practical and light** so we can see the light in every legacy project :)
- Welcomed are: tools, posts, case-studies and short videos.
- Avoid conference videos, as they're long and without clickable resources.
- Avoid books, as they're opinionated, long, often outdated and hard to use. If you need to contribute last 2, try [awesome-php](https://github.com/ziadoz/awesome-php).
## Generic Tools
- [rector/rector](https://github.com/rectorphp/rector) - Tool for Instant Upgrades and Instant Refactoring of any PHP 5.3+ code
## Framework Migrations
### Symfony Upgrade
- [From Symfony 2.3 to Symfony 2.7: the complete guide](https://gist.github.com/mickaelandrieu/5211d0047e7a6fbff925)
### Nette to Symfony
- How we Migrated from Nette to Symfony in 3 Weeks **[case study]**
- [Part 1](https://tomasvotruba.com/blog/2019/02/21/how-we-migrated-from-nette-to-symfony-in-3-weeks-part-1/)
- [Part 2 - Escaping Semantic Hell](https://tomasvotruba.com/blog/2019/03/07/why-we-migrated-from-nette-to-symfony-in-3-weeks-part-2/)
- [Part 3 - Brain Drain Dead Packages-Lock](https://tomasvotruba.com/blog/2019/03/11/why-we-migrated-from-nette-to-symfony-in-3-weeks-part-3/)
- [Drop RobotLoader and let Composer Deal with Autoloading](https://tomasvotruba.com/blog/2020/06/08/drop-robot-loader-and-let-composer-deal-with-autoloading/)### Legacy framework to PSR-15
- [Applying PSR-15 to refactoring of Legacy applications](https://medium.com/php-fad/applying-psr-15-to-refactoring-of-legacy-applications-94ca7ffbaedd) **[post]**
## Legacy Unfreeze
- [symplify/vendor-patches](https://github.com/symplify/vendor-patches) - PHP tool to effectively and temporarily patch your `/vendor` files
## Static Removal
- [symplify/static-detector](https://github.com/symplify/static-detector) - PHP tool that shows where do you have static method and where they're called from
- [symplify/template-checker](https://github.com/symplify/template-checker) - PHP tool that extracts static calls from Latte templates to `FilterProvider` classes## Dev Tools
- [How to Migrate From PHP CS Fixer to EasyCodingStandard in 6 Steps](https://tomasvotruba.com/blog/2018/06/07/how-to-migrate-from-php-cs-fixer-to-easy-coding-standard/) **[post]**
- [How to Migrate From PHP_CodeSniffer to EasyCodingStandard in 7 Steps](https://tomasvotruba.com/blog/2018/06/04/how-to-migrate-from-php-code-sniffer-to-easy-coding-standard/) **[post]**## Config Migrations
- [symplify/neon-to-yaml-converter](https://github.com/symplify/neon-to-yaml-converter) - PHP tool that migrates NEON to YAML syntax
- [Neon vs. Yaml and How to Migrate Between Them](https://tomasvotruba.com/blog/2018/03/12/neon-vs-yaml-and-how-to-migrate-between-them/) **[post]**
- [symplify/config-transformer](https://github.com/symplify/config-transformer) - PHP tool that migrates Symfony configs with YAML/XML syntax to PHP
- [How to Switch from YAML/XML Configs to PHP Today with Migrify](https://tomasvotruba.com/blog/2020/07/27/how-to-switch-from-yaml-xml-configs-to-php-today-with-migrify/) **[post]**## Template Migrations
- [symplify/latte-to-twig-converter](https://github.com/symplify/latte-to-twig-converter) - PHP tool that migrated LATTE templates to TWIG
## Continuous Integration Checks
- [symplify/template-checker](https://github.com/symplify/template-checker) - PHP tool, that checks `$this->render()` contains existing template files
- [symplify/class-presence](https://github.com/symplify/class-presence) - PHP tool that checks NEON/YAML/TWIG/LATTE files for existing classes and class constants
- [Switch Travis to GitHub Actions to Reduce Stress](https://tomasvotruba.com/blog/2020/01/27/switch-travis-to-github-actions-to-reduce-stress/) **[post]**## File System Migrations
- [symplify/psr4-switcher](https://github.com/symplify/psr4-switcher) - PHP tool that helps you to migrate random classes to PSR-4
- [How to Patch a Package in Vendor, Yet Allow its Updates](https://tomasvotruba.com/blog/2020/07/02/how-to-patch-package-in-vendor-yet-allow-its-updates/) **[post]**