PHPackages                             yii2tech/illuminate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. yii2tech/illuminate

ActiveLibrary[Database &amp; ORM](/categories/database)

yii2tech/illuminate
===================

Yii2 to Laravel Migration Package

1.3.3(1mo ago)11315.1k↓39.7%20BSD-3-ClausePHPPHP &gt;= 8.0CI passing

Since Mar 11Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/yii2tech/illuminate)[ Packagist](https://packagist.org/packages/yii2tech/illuminate)[ GitHub Sponsors](https://github.com/klimov-paul)[ Patreon](https://www.patreon.com/klimov_paul)[ RSS](/packages/yii2tech-illuminate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (26)Versions (11)Used By (0)

 [ ![](https://avatars2.githubusercontent.com/u/12951949) ](https://github.com/yii2tech)

Yii2 to Laravel Migration Package
=================================

[](#yii2-to-laravel-migration-package)

This extension allows running Yii2 and Laravel applications simultaneously at the same project, facilitating graceful migration from Yii2 to Laravel.

For license information check the [LICENSE](LICENSE.md)-file.

[![Latest Stable Version](https://camo.githubusercontent.com/cc1d867129d332da2bfd78f86d0ad6f96078e3d3beabd3cd216523507b632688/68747470733a2f2f706f7365722e707567782e6f72672f79696932746563682f696c6c756d696e6174652f762f737461626c652e706e67)](https://packagist.org/packages/yii2tech/illuminate)[![Total Downloads](https://camo.githubusercontent.com/3737e73150caa061ff0c35d2aa3253a39f883574293ca8850d1802e8af342e7d/68747470733a2f2f706f7365722e707567782e6f72672f79696932746563682f696c6c756d696e6174652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/yii2tech/illuminate)[![Build Status](https://github.com/yii2tech/illuminate/workflows/build/badge.svg)](https://github.com/yii2tech/illuminate/actions)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist yii2tech/illuminate

```

or add

```
"yii2tech/illuminate": "*"
```

to the require section of your composer.json.

Why switch from Yii2 to Laravel?
--------------------------------

[](#why-switch-from-yii2-to-laravel)

It is sad to admit, but Yii is outdated technology, which does not keep up with the modern trends. The core team stick to the BC-keep policy too much since 2.0 release, which make Yii2 lacking of many modern approaches and features. While it is common requirement of the modern web project to provide "single page application" based on modern JS frameworks like ReactJS, EmberJS, VueJS and so on, Yii keeps enforcing JQuery, facilitating its usage and requiring its installation. The BC breaking changes, which are supposed to change the situation, like accepting PSR standards for caching and logging, separating JQuery from the Yii core and so on, are frozen till the future 3.0 release, which can not be expected in any near future.

Even when Yii 3.0 will be released, it will hold many BC breaking changes and totally different architecture concept, regarding of DI and Service Locator usage. This will make migration from Yii 2.x to Yii 3.0 to be the matter of entire project rewrite, as it already was for migration from Yii 1.x to Yii 2.0. If this is inevitable fate of your project, why not start code migration now, choosing more reliable technology as its target? Laravel is most popular PHP framework with solid commercial background and large community. Choosing it will likely bring good foundation for your project in the long term.

**Heads up!** Whether to switch from one technology to another or not - is **your own** choice. You take the responsibility for this decision, and you will have to deal with it consequences. Do not blame anyone else for the troubles and obstacles you will have to face on the chosen path.

Usage
-----

[](#usage)

Migration of existing project from one PHP framework to another can not be done by single day. Most likely you have spent several months or even years creating your current codebase, and its update will also take much time.

This extension allows running Yii2 and Laravel applications simultaneously at the same project, allowing resolving of incoming HTTP requests by one of these applications depending on, which one has a matching route defined for it. This means all URL routes defined in Yii application will continue to function, while new ones may be resolved by Laravel. This facilitates graceful migration from one framework to another, allowing progressive transfer of the URL routes handling (e.g. controllers) from Yii2 to Laravel.

**Heads up!** This package provides tools and libraries helping project migration, however, do not expect it somehow magically do all the job for you. The package helps solving basic problems and supports the quick start for the process, but most of the toil will lay on your shoulders. Be ready for it.

Documentation
-------------

[](#documentation)

Documentation is at [docs/README.md](docs/README.md).

###  Health Score

59

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity42

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 99% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~285 days

Recently: every ~375 days

Total

10

Last Release

57d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/854af1889dd7384243cff0bf0fde23463f76058b499b15c740f02e7033ec7ce6?d=identicon)[klimov-paul](/maintainers/klimov-paul)

---

Top Contributors

[![klimov-paul](https://avatars.githubusercontent.com/u/1482054?v=4)](https://github.com/klimov-paul "klimov-paul (97 commits)")[![leandrogehlen](https://avatars.githubusercontent.com/u/1750751?v=4)](https://github.com/leandrogehlen "leandrogehlen (1 commits)")

---

Tags

illuminatelaravelmigrationtransferyii2laravelmigrationyii2illuminateswitch

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yii2tech-illuminate/health.svg)

```
[![Health](https://phpackages.com/badges/yii2tech-illuminate/health.svg)](https://phpackages.com/packages/yii2tech-illuminate)
```

###  Alternatives

[cybercog/laravel-clickhouse

ClickHouse migrations for Laravel

163166.8k](/packages/cybercog-laravel-clickhouse)[dmstr/yii2-migrate-command

Console Migration Command with multiple paths/aliases support

31295.5k6](/packages/dmstr-yii2-migrate-command)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
