Answer the question
In order to leave comments, you need to log in
How to integrate Yii2 into third party systems?
Using the input script, I connected Yii2 to the old site in order to expand its functionality.
require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php');
$yiiConfig = require(__DIR__ . '/../config/web.php');
new yii\web\Application($yiiConfig);
Answer the question
In order to leave comments, you need to log in
There are many options.
1. iframe.
2. Do not do new yii\web\Application($yiiConfig);, use Yii models and components in the code of the original system.
3. AJAX
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question