/framework-to-framework-migration

An example repository intended to show how to migrate from a one framework to another framework

Primary LanguagePHP

Framework to framework migration

This is an example repository intended to show how to migrate from one framework to another framework. The approach is to layer each framework on a middleware, using Zend Stratigility, Zend Diactoros and Zend HttpHandlerRunner.

How to run

composer install
php -S 127.0.0.1:8000 -t ./public

Available URLs

  • /symfony -> Served by Symfony through App\Middleware\SymfonyMiddleware
  • /yii1 -> Served by Yii 1.1 version through App\Middleware\YiiMiddleware
  • /yii2 -> Served by Yii 2 version through App\Middleware\Yii2Middleware
  • /silex -> Served by Silex through App\Middleware\SilexMiddleware
    • /silex/images/image.jpg