• Stars
    star
    206
  • Rank 183,638 (Top 4 %)
  • Language
  • Created over 3 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Awesome sources for PHP projects migrations - legacy, pattern refactoring, framework switches, temlates and configs...

Awesome PHP Migrations 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.



Generic Tools

  • rector/rector - Tool for Instant Upgrades and Instant Refactoring of any PHP 5.3+ code

Framework Migrations

Symfony Upgrade

Nette to Symfony

Legacy framework to PSR-15

Legacy Unfreeze

Static Removal

Dev Tools

Config Migrations

Template Migrations

Continuous Integration Checks

File System Migrations

More Repositories

1

bladestan

PHPStan analysis for Blade templates
PHP
259
star
2

punchcard

Lazy and strict way to configure your Laravel projects
PHP
146
star
3

lines

CLI tool for quick size measure of PHP project, runs anywhere
PHP
124
star
4

awesome-php-ast

Awesome sources for amazing AST topic in world PHP
106
star
5

unused-public

Find Unused Public Elements in Your Code
PHP
104
star
6

cognitive-complexity

PHPStan rules to measure cognitive complexity of your classes and methods
PHP
95
star
7

tomasvotruba.com

Read about upgrades, static analysis, GPT, Symfony and Laravel
PHP
88
star
8

type-coverage

PHPStan extension to require minimal type-coverage
PHP
79
star
9

class-leak

Find leaking classes that you never use... and get rid of them.
PHP
56
star
10

PhpStorm-LiveTemplates

Collection of Live Templates for PhpStorm
12
star
11

rector-composer-plugin

Detect Package Changes and run Rector Upgrade code after composer update
PHP
11
star
12

symfony-upgrade-demo-2022

PHP
9
star
13

phpunit-json-result

Print tests result in JSON in PHPUnit 10+ so other tools can use it
PHP
8
star
14

laracon-2024-rector-demo

Laracon talk for Amsterdam 2024 - Slides are here ↓
PHP
7
star
15

lavarle

Sexy utils for Laravel projects
PHP
6
star
16

laravelize

Toolkit to help with your Symfony to Laravel migration
PHP
6
star
17

yaml-parser

AST for YAML
PHP
5
star
18

aws-sdk-php-symfony

Symfony 6/7+ bundle for Aws integration
PHP
5
star
19

rector-annotation-attributes-demo

PHP
4
star
20

editorconfig-fixer

PHP
4
star
21

shopsys-spryker-and-sylius-analysis

Static analysis of Shopsys, Sylius and Spryker
PHP
4
star
22

html-parser

Parse and traverse HTML using AST
PHP
3
star
23

laratyped

Bunch of PHPStan rules to make sure the Laravel project is clean, typed and reliable
PHP
3
star
24

phpunit-10-for-php-8

The PHP Unit Testing framework.
PHP
3
star
25

symfony-legacy-controller-autowire

PHP
2
star
26

porto-01-meetup

PHP
2
star
27

torch

Smoke testing of TWIG templates
PHP
2
star
28

symfony-config-generator

Generate Symfony configs in CLI and use them for autocomplete
PHP
2
star
29

tomasvotruba

GitHub Profile repository :)
1
star
30

rector-syntax-bug

PHP
1
star
31

rector-underscore-to-psr4

Test for https://github.com/rectorphp/rector/issues/7016
PHP
1
star
32

rector_parallel_test_ownci

PHP
1
star
33

rectoring.com

HTML
1
star
34

embedded-svg

Macro for embeding SVG into HTML. Preparing for Latte 3
PHP
1
star
35

tryml

Trim your YAML files to minimum
PHP
1
star
36

symfony

The Symfony PHP framework
PHP
1
star